/* Office app styles. Kept small on purpose: MudBlazor and the shared theme (Theme/DvmTheme.cs) do
   the work, and the Claude Design session's design system is expected to replace most of this. */

/* Sign-in and error pages: a centred card on the app's page colour, as in the clinic app. */
.office-account-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 64px 16px;
    background: var(--mud-palette-background);
}

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

.office-login-logo {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 8px;
}

/* Plain inputs, because the sign-in page renders without a live connection and MudBlazor's inputs
   need one. Styled to sit beside MudBlazor's outlined fields. */
.office-field {
    display: block;
    margin-bottom: 16px;
    font-size: .875rem;
    color: var(--mud-palette-text-secondary);
}

.office-field input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    padding: 10px 12px;
    font: inherit;
    font-size: 1rem;
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
}

.office-field input:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
    border-color: var(--mud-palette-primary);
}

.office-submit {
    width: 100%;
    padding: 10px 16px;
    font: inherit;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .02857em;
    text-transform: uppercase;
    color: var(--mud-palette-primary-text);
    background: var(--mud-palette-primary);
    border: none;
    border-radius: var(--mud-default-borderradius);
    cursor: pointer;
}

.office-submit:hover {
    background: var(--mud-palette-primary-darken);
}

.office-submit:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* The clinic picker sits in the navy app bar: white text and border, sized to the bar. */
.office-clinic-picker {
    max-width: 260px;
    margin-right: 8px;
}

.office-clinic-picker .mud-input,
.office-clinic-picker .mud-input-outlined-border,
.office-clinic-picker .mud-select-input,
.office-clinic-picker .mud-icon-root {
    color: var(--mud-palette-appbar-text) !important;
    border-color: rgba(255, 255, 255, .6) !important;
}

.office-clinic-chip {
    color: var(--mud-palette-appbar-text) !important;
}
