html, body {
    font-family: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-background) 70%);
}

.login-card {
    width: 100%;
    max-width: 420px;
}

.vehicle-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.vehicle-photo-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-disabled);
}

.vehicle-header-photo {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--mud-default-borderradius);
}

.plate {
    display: inline-block;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1px 8px 1px 18px;
    border: 2px solid #222;
    border-radius: 4px;
    background: linear-gradient(90deg, #1d4fb3 0, #1d4fb3 12px, #fff 12px);
    color: #111;
    font-size: 0.95rem;
    white-space: nowrap;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    box-shadow: var(--mud-elevation-6);
}

.record-details {
    white-space: pre-line;
}

.doc-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* FocusOnNavigate moves focus to the page title - no visible outline needed there */
h1:focus {
    outline: none;
}
