.login-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f5f7fb 0%, #e6ecf8 100%);
}

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

.login-card {
    width: 100%;
    min-height: 430px;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(211, 211, 211, 0.8);
    box-shadow: 0 12px 28px rgba(11, 31, 53, 0.12);
}

.sombra {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.login-header {
    margin-bottom: 1rem;
    text-align: center;
}

.login-content {
    text-align: center;
}

.company-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c3f72;
}

.person-name {
    margin: 0.25rem 0 1rem;
    color: #3f5370;
}

.cpf-text {
    margin: 0 0 0.75rem;
    color: #2d4668;
    font-size: 12px;
}

.cpf-input {
    width: calc(11ch + 1.6rem);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
}

.documento-input {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
}

.documento-input-pf {
    width: calc(11ch + 1.6rem);
}

.documento-input-pj {
    width: calc(14ch + 1.6rem);
}

.cpf-shake {
    animation: cpf-shake 0.3s ease-in-out 4;
    border-color: #b42318;
}

.cpf-hint {
    display: block;
    margin-top: 0.4rem;
    margin-bottom: 0.6rem;
    color: #6a7789;
    font-size: 0.78rem;
}

.cpf-error,
.security-code-error {
    display: block;
    margin-bottom: 0.8rem;
    color: #b42318;
    font-size: 0.8rem;
}

.security-code-title {
    margin: 0 0 0.45rem;
    color: #2d4668;
    font-size: 12px;
}

.verification-contact-message {
    display: block;
    margin: 0 0 0.55rem;
    color: #6a7789;
    font-size: 12px;
}

.verification-email-warning {
    display: block;
    margin: 0 0 0.55rem;
    color: red;
    font-size: 12px;
}

.security-code-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.security-code-shake {
    animation: security-code-shake 0.3s ease-in-out 3;
}

.security-code-input {
    width: 46px;
    height: 52px;
    border: 1px solid #9db4d6;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #173b6c;
}

@keyframes cpf-shake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }
}

@keyframes security-code-shake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }
}

.login-button {
    width: 100%;
    min-height: 44px;
    font-weight: 600;
    border-radius: 6px;
}

.login-missing-query {
    min-height: 360px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
}

.login-missing-logo-wrap {
    margin-bottom: 0.5rem;
}

.login-missing-logo {
    width: 72px;
    height: auto;
}

.login-missing-subtitle {
    margin: 0 0 0.75rem;
    color: #1f2f47;
    font-size: 14px;
    font-weight: 700;
}

.login-missing-text {
    margin: 0;
    font-size: 12px;
}

/* Bootstrap do token (GET rápido + POST com Aguarde... visível durante o processamento) */
.login-token-bootstrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 30px;
    text-align: center;
}

.login-token-loading-text {
    margin: 1rem 0 0.75rem;
    color: #2d4668;
    font-size: 1rem;
    font-weight: 600;
}

.login-token-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(28, 63, 114, 0.2);
    border-top-color: #1c3f72;
    border-radius: 50%;
    animation: login-token-spin 0.75s linear infinite;
}

@keyframes login-token-spin {
    to {
        transform: rotate(360deg);
    }
}

.home-page {
    height: 100dvh;
    min-height: 100dvh;
    padding: 1rem;
    background-color: #f3f5f9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #173b6c;
}

.welcome-text {
    margin: 0 0 1rem;
    color: #2f4767;
    font-size: 12px;
}

.home-content {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1rem;
    flex: 1 1 auto;
    min-height: 0;
}

.exams-column {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.exam-list-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.exam-list-loading-overlay {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding: 0.55rem 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), #fff);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.exam-list-scroll.is-loading .exam-list-loading-overlay {
    display: flex;
}

.exam-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.exam-list-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.exam-list-toolbar-actions .is-hidden {
    display: none;
}

.exam-filter-toggle {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #40516a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}

.exam-filter-toggle:hover,
.exam-filter-toggle.active {
    background: transparent;
    color: #1f5f9f;
}

.exam-list-count {
    color: #6a7688;
    font-size: 9px;
    text-align: right;
}

.exam-filter-form {
    margin-bottom: 0.5rem;
}

.exam-filter-form.is-collapsed {
    display: none;
}

.portal-filter-box {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.portal-person-filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

.portal-person-filter-field .form-label {
    margin-bottom: 0.15rem;
}

.portal-number-filter-row {
    display: flex;
    width: 100%;
}

.exam-list-loading-spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.search-input-wrap {
    position: relative;
    flex: 1 1 auto;
}

.search-input {
    height: 32px;
    min-height: 32px;
    padding: 0.25rem 1.8rem 0.25rem 0.75rem;
    font-size: 12px;
    line-height: 1.5;
}

.search-clear-btn {
    position: absolute;
    right: 0.38rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1rem;
    height: 1.1rem;
    border: none;
    border-radius: 999px;
    background: #d8e1ef;
    color: #4f5f75;
    font-size: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.search-clear-btn:hover {
    background: #c9d4e5;
}

.search-clear-btn.is-hidden {
    display: none;
}

.exam-item-link {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background-color: #fff;
    padding: 0.45rem 0.5rem;
    text-decoration: none;
    color: #233a5c;
    font: inherit;
    text-align: left;
}

/* Itens da lista (layout customizado no cshtml + template no scroll infinito) */
.exam-item-link.exam-item-card {
    display: flex;
    flex-direction: column;
    padding: 5px;
    background-color: #fff;
    color: inherit;
    cursor: pointer;
}

.exam-item-link.exam-item-card:hover {
    background-color: #f8fafc;
}

.exam-item-link.active,
.exam-item-link.exam-item-card.active {
    background-color: rgba(0, 0, 0, 0.1);
}

.exam-template {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Linha 1: selo | tipo + �cone | coluna fixa s� com Sa�da + n� (sem roubar metade da linha do t�tulo) */
.exam-template-top {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) max-content;
    gap: 0.5rem 0.65rem;
    align-items: start;
}

.exam-template-badge {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex: 0 0 40px;
    line-height: 1.1;
    text-align: center;
}

.exam-template-center {
    min-width: 0;
    padding-top: 2px;
}

.exam-template-title-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.exam-template-specialty-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.exam-template-specialty-icon img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.exam-template-type {
    font-size: 13px;
    font-weight: 400;
    min-width: 0;
    color: #1a2f4d;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.exam-template-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    text-align: right;
    flex-shrink: 0;
    min-width: max-content;
    max-width: none;
    padding-left: 0.25rem;
}

.exam-template-saida-line {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 11px;
    font-weight: 400;
    color: #3d4f66;
    white-space: nowrap;
}

.exam-template-inline-svg {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
}

.exam-template-number-line {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.exam-template-number {
    font-size: 14px;
    font-weight: 700;
    color: #152a45;
}

.exam-template-pencil {
    opacity: 0.75;
}

/* Linha 2: paciente + demografia � direita (demografia n�o some com ellipsis do nome) */
.exam-template-patient-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) max-content;
    align-items: start;
    gap: 0.4rem 0.5rem;
}

.exam-template-patient-icon {
    width: 22px;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.exam-template-patient-icon svg,
.exam-template-doctor-icon svg {
    display: block;
}

.exam-template-patient-name {
    font-size: 12px;
    font-style: italic;
    min-width: 0;
    color: #233a5c;
    line-height: 1.35;
    padding-top: 1px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
}

.exam-template-demografia {
    font-size: 12px;
    font-style: italic;
    color: #3d4f66;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 1px;
    line-height: 1.35;
    justify-self: end;
}

/* Linhas m�dicos */
.exam-template-doctors {
    margin: 0;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #33465f;
}

.exam-template-doctor-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
}

.exam-template-doctor-name {
    font-size: 12px;
    font-style: normal;
    min-width: 0;
}

.exam-template-doctor-icon {
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.exam-template-icon-resp-blue svg {
    display: block;
}

.pdf-column {
    background-color: #fff4e8;
    border: 1px solid #f3d4b5;
    border-radius: 12px;
    padding: 1rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.pdf-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pdf-pages {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    font-size: 12px;
    color: #5f4a36;
}

.pdf-page-btn {
    min-width: 34px;
    height: 30px;
    border: 1px solid #d9c3ad;
    border-radius: 10px;
    background: #fffdf9;
    color: #35281d;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.pdf-page-btn.active {
    border-color: #0d6efd;
    background: #0d6efd;
    color: #fff;
}

.pdf-actions .is-hidden {
    display: none;
}

.pdf-viewer {
    width: 100%;
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
    border: 1px solid #e9c8a7;
    border-radius: 10px;
    background-color: #fff;
    opacity: 1;
    transition: opacity 120ms ease;
}

.pdf-viewer-shell {
    position: relative;
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
}

.pdf-placeholder {
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
    border: 1px dashed #e2bf9b;
    border-radius: 10px;
    background-color: #fffdf9;
    color: #7a6148;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1rem;
}

.pdf-viewer-shell.is-loading .pdf-placeholder {
    visibility: hidden;
}

.pdf-viewer-shell.is-loading .pdf-viewer {
    opacity: 0;
}

.pdf-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    background: #fffdf9;
    border: 1px dashed #e2bf9b;
    border-radius: 10px;
    z-index: 3;
}

.pdf-loading-overlay.is-hidden {
    display: none;
}

.pdf-loading-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #f0d7be;
    border-top-color: #b57e49;
    animation: pdf-spin 0.8s linear infinite;
}

.pdf-loading-text {
    color: #7a6148;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    animation: pdf-loading-pulse 1s ease-in-out infinite;
}

@keyframes pdf-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pdf-loading-pulse {
    0%, 100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}

.back-to-list {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d7b997;
    background-color: #ffffff;
    color: #8a5c2d;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
}

@media (max-width: 991.98px) {
    .home-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .login-page {
        align-items: flex-start;
    }

    .login-card {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 12px;
    }

    .home-page {
        height: 100dvh;
        min-height: 100dvh;
        padding: 0.75rem;
        overflow: hidden;
    }

    .home-content {
        position: relative;
        overflow: hidden;
        min-height: 72vh;
        grid-template-columns: 1fr;
    }

    .exams-column,
    .pdf-column {
        grid-column: 1 / -1;
        grid-row: 1;
        transition: transform 0.35s ease, opacity 0.35s ease;
        will-change: transform, opacity;
    }

    .exams-column {
        transform: translateX(0);
        opacity: 1;
    }

    .pdf-column {
        transform: translateX(105%);
        opacity: 0;
        pointer-events: none;
    }

    .home-content.mobile-show-pdf .exams-column {
        transform: translateX(-105%);
        opacity: 0;
        pointer-events: none;
    }

    .home-content.mobile-show-pdf .pdf-column {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .back-to-list {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .pdf-actions {
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    /* Mobile: elevar textos que estavam em 12px para 14px */
    .cpf-text,
    .security-code-title,
    .verification-contact-message,
    .verification-email-warning,
    .login-missing-text,
    .welcome-text,
    .exam-template-patient-name,
    .exam-template-demografia,
    .exam-template-doctor-name,
    .exam-template-doctors,
    .exam-template-saida-line {
        font-size: 14px;
    }
}

.pdf-column,
.pdf-viewer-shell {
    overflow: hidden;
}

.android-pdf-viewer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
}

.android-pdf-canvas {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    background: #fff;
}

/* Login m�dico respons�vel � mesmo card que Laudo/Login (login-card sombra + login-missing-query) */
.medico-resp-login-query.login-missing-query {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.medico-resp-login-stack {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.medico-resp-login-lead {
    margin: 0 0 1rem !important;
    color: #2d4668;
}

.medico-resp-login-form {
    text-align: left;
}

.medico-resp-login-input {
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 12px;
    padding: 10px;
    /* line-height: 1.3; */
}

.medico-resp-login-btn {
    margin-top: 0.35rem;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
}

.medico-resp-login-btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    animation: login-token-spin 0.75s linear infinite;
}

.medico-resp-login-btn.is-loading .medico-resp-login-btn-text {
    display: none;
}

.medico-resp-login-btn.is-loading .medico-resp-login-btn-spinner {
    display: inline-block;
}

.medico-resp-login-btn:disabled {
    cursor: wait;
    opacity: 0.85;
}

.medico-resp-login-version {
    margin-top: 0.85rem;
    font-size: 0.65rem;
}

/* Login por credenciais (e-mail + senha) */
.conta-login-query.login-missing-query {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.conta-login-stack {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conta-login-welcome {
    margin: 0.25rem 0 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1c3f72;
    line-height: 1.2;
}

.conta-login-subtitle {
    margin-top: 0.35rem !important;
}

.conta-login-lead {
    margin: 0 0 1rem !important;
    color: #2d4668;
}

.conta-login-label {
    display: block;
    margin: 0 0 0.25rem;
    color: #2d4668;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.conta-perfil-toggle {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding: 4px;
    margin-bottom: 0.65rem;
    border: 1px solid #c5ced9;
    border-radius: 10px;
    background: #eef2f8;
}

.conta-perfil-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.conta-perfil-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 8px 6px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #3f5370;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.conta-perfil-toggle-input:focus-visible + .conta-perfil-toggle-btn {
    outline: 2px solid #1c3f72;
    outline-offset: 1px;
}

.conta-perfil-toggle-input:checked + .conta-perfil-toggle-btn {
    background: #1c3f72;
    color: #fff;
    box-shadow: 0 2px 6px rgba(28, 63, 114, 0.25);
}

.conta-login-form {
    text-align: left;
}

.conta-login-input {
    margin-bottom: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 12px;
    padding: 10px;
}

.conta-login-hint {
    display: block;
    margin: 0 0 0.5rem;
    color: #6a7789;
    font-size: 0.72rem;
    line-height: 1.3;
}

.conta-login-erro-campo {
    display: block;
    margin: -0.35rem 0 0.5rem;
    color: #b42318;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
}

.conta-login-erro-campo[hidden] {
    display: none !important;
}

.conta-login-input.is-invalid {
    border-color: #b42318;
}

.conta-login-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.conta-login-btn {
    margin-top: 0.35rem;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.78rem;
}

.conta-login-version {
    margin-top: 0.85rem;
    font-size: 0.65rem;
}

.conta-login-erro-destaque {
    margin-bottom: 0.85rem;
    padding: 0.85rem 0.75rem;
    border: 2px solid #b42318;
    border-radius: 10px;
    background: #fef3f2;
    color: #912018;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

/* Padrão compartilhado das telas de autenticação.
   Os valores seguem MedicoResponsavel/Login; cada fluxo mantém apenas o conteúdo próprio. */
.auth-login-page {
    color: #2d4668;
    font-size: 12px;
}

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

.auth-login-card {
    width: 100%;
    min-height: 430px;
    padding: 2rem;
}

.auth-login-body.login-missing-query {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 30px;
}

.auth-login-stack {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-login-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    margin: 0 auto;
}

.auth-login-logo {
    width: 72px;
    height: auto;
}

.auth-login-subtitle,
.auth-login-heading,
.auth-login-page .company-name,
.auth-login-page .conta-login-welcome {
    color: #1f2f47;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.auth-login-heading {
    margin: 0.25rem 0 1rem;
    text-align: center;
}

.auth-login-page .company-name {
    margin: 0;
}

.auth-login-page .conta-login-welcome {
    margin: 0.25rem 0 0;
}

.auth-login-lead {
    margin: 0 0 1rem !important;
    color: #2d4668;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.auth-login-form {
    width: 100%;
    text-align: left;
}

.auth-login-label {
    display: block;
    width: 100%;
    margin: 0 0 0.25rem;
    color: #2d4668;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.auth-login-input {
    width: 100%;
    min-height: 40px;
    margin-bottom: 0.5rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.3;
}

.auth-login-input.documento-input {
    width: 100%;
}

.auth-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 39px;
    margin-top: 0.35rem;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

.auth-login-version {
    margin-top: 0.85rem;
    font-size: 0.65rem;
}

.auth-login-validation {
    display: block;
    font-size: 0.72rem;
    line-height: 1.3;
}

.auth-login-page .person-name {
    color: #3f5370;
    font-size: 12px;
}

.auth-login-page .cpf-text,
.auth-login-page .security-code-title,
.auth-login-page .verification-contact-message,
.auth-login-page .verification-email-warning,
.auth-login-page .login-missing-text {
    font-size: 12px;
}

.auth-login-page .alert {
    font-size: 0.78rem;
    line-height: 1.35;
}

.confirmacao-agendamento-page .login-card {
    min-height: unset;
}

.confirmacao-agendamento-card {
    text-align: left;
}

.confirmacao-agendamento-header {
    text-align: center;
    margin-bottom: 0;
}

.confirmacao-agendamento-marca {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
}

.confirmacao-agendamento-logo {
    display: block;
}

.confirmacao-agendamento-empresa {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    color: #173b6c;
    text-align: center;
}

.confirmacao-agendamento-paciente {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #2d4668;
    font-weight: 600;
}

.confirmacao-agendamento-lead {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #2f4767;
    line-height: 1.45;
}

.confirmacao-agendamento-pergunta {
    font-size: 0.88rem;
    color: #173b6c;
    font-weight: 600;
}

.confirmacao-agendamento-msg-final {
    font-size: 1rem;
    color: #2f4767;
    line-height: 1.5;
}

.confirmacao-agendamento-msg-motivo {
    font-size: 0.95rem;
    color: #2d4668;
    line-height: 1.45;
}

.confirmacao-agendamento-textarea {
    font-size: 0.9rem;
    resize: vertical;
    min-height: 5rem;
}

.confirmacao-agendamento-form-motivo-acoes {
    flex-wrap: nowrap;
}

.confirmacao-agendamento-form-motivo-acoes .btn {
    width: auto;
    flex: 0 0 auto;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 2.75rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    z-index: 3;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
}

.password-toggle:hover {
    color: #b02a37;
}

.password-toggle:focus-visible {
    outline: 2px solid rgba(13, 110, 253, 0.45);
    outline-offset: 2px;
}

.password-toggle-show,
.password-toggle-hide {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .auth-login-page .cpf-text,
    .auth-login-page .security-code-title,
    .auth-login-page .verification-contact-message,
    .auth-login-page .verification-email-warning,
    .auth-login-page .login-missing-text {
        font-size: 14px;
    }
}
