.login-shell {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
}

.btn-back-auth {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(145deg, #2d7ab8, #2267a0);
    border: 1px solid #1f5f95;
    box-shadow: 0 8px 16px rgba(21, 57, 91, 0.24);
}

.btn-back-auth:hover {
    color: #fff !important;
    background: linear-gradient(145deg, #2468a1, #1b5686);
    border-color: #184d78;
}

.login-stage {
    width: min(1020px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 24px;
    overflow: hidden;
    background: #f8fbff;
    border: 1px solid rgba(175, 205, 230, 0.8);
    box-shadow: 0 24px 44px rgba(17, 42, 70, 0.2);
}

.login-brand-panel {
    padding: 34px 32px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 48%),
        linear-gradient(150deg, #1f5b8f 0%, #2e79b8 62%, #5fa4dd 100%);
    color: #fff;
}

.brand-badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.brand-title {
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.brand-subtitle {
    opacity: 0.95;
    margin-bottom: 20px;
}

.brand-points {
    display: grid;
    gap: 10px;
}

.brand-point {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px;
}

.login-form-panel {
    background: #f8fbff;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: linear-gradient(145deg, #2b73b0, #3d91d3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 10px 20px rgba(26, 74, 118, 0.28);
}

.confirm-avatar .material-symbols-outlined {
    font-size: 44px;
    line-height: 1;
    color: #fff;
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #12243a;
    margin-bottom: 4px;
}

.login-subtitle {
    text-align: center;
    color: #5f6f82;
    margin-bottom: 18px;
}

.login-form-panel .form-label {
    font-weight: 600;
    color: #304865;
}

.custom-input {
    min-height: 46px;
    border: 1px solid #c9dbec;
    background: #fff;
    color: #102138;
    padding-left: 38px;
    border-radius: 12px;
}

.custom-input:focus {
    border-color: #5b9ad4;
    box-shadow: 0 0 0 0.25rem rgba(49, 113, 178, 0.18);
}

/* Hide native password reveal controls to keep only the custom eye icon */
input.masked::-ms-reveal,
input.masked::-ms-clear {
    display: none;
}

input.masked::-webkit-credentials-auto-fill-button,
input.masked::-webkit-textfield-decoration-container {
    display: none !important;
}

.icon-inside {
    top: 46px;
    left: 12px;
}

.eye-icon {
    top: 43px;
    margin-right: 12px;
    cursor: pointer;
}

.btn-login {
    color: #fff;
    background: linear-gradient(145deg, #2d7ab8, #2267a0);
    border: 1px solid #1f5f95;
    border-radius: 12px;
    min-height: 44px;
    font-weight: 700;
}

.btn-login:hover {
    color: #fff;
    background: linear-gradient(145deg, #2468a1, #1b5686);
    border-color: #184d78;
}

.login-links-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}

.login-links-row a {
    color: #1f344d !important;
}

.login-recuperar-modal {
    background: #f8fbff;
}

.login-recuperar-header {
    background: linear-gradient(140deg, #215a8f 0%, #3171b2 55%, #4f8fcd 100%);
    color: #fff;
    align-items: flex-start;
    border: 0;
}

.login-recuperar-topline {
    margin-bottom: 6px;
}

.login-recuperar-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.login-recuperar-subtitle {
    font-size: 13px;
    opacity: 0.92;
}

.login-recuperar-strip {
    background: #eef5fd;
    border-top: 1px solid #d7e5f4;
    border-bottom: 1px solid #d7e5f4;
    padding: 10px 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.login-recuperar-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #224d74;
    background: #dfefff;
    border: 1px solid #c7def8;
    border-radius: 999px;
    padding: 5px 10px;
}

.login-recuperar-body {
    background: #f8fbff;
    padding: 16px;
}

.login-recuperar-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #c7def8;
    border-radius: 12px;
    background: #e9f3ff;
    color: #174975;
    padding: 12px;
    font-size: 14px;
}

.login-recuperar-form-card {
    border: 1px solid #e2ebf5;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 6px 14px rgba(18, 52, 86, 0.06);
}

.login-recuperar-modal .form-control {
    padding-left: 0.75rem;
    border-color: #d5e3f2;
    min-height: 42px;
}

.login-recuperar-modal .form-control:focus {
    border-color: #5b9ad4;
    box-shadow: 0 0 0 0.25rem rgba(49, 113, 178, 0.18);
}

.login-recuperar-footer {
    border-top: 1px solid #e7edf5;
    padding: 12px 18px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.login-recuperar-footer .btn {
    width: 100%;
    min-height: 40px;
    border-radius: 10px;
}

.confirm-email-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d6e6f7;
    background: #edf5ff;
    border-radius: 12px;
    padding: 10px 12px;
}

.confirm-email-card .material-symbols-outlined {
    color: #28679d;
}

.confirm-email-label {
    color: #486987;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confirm-email-value {
    color: #173d5e;
    font-size: 14px;
    font-weight: 700;
    word-break: break-all;
}

.confirm-code-input {
    letter-spacing: 0.04em;
}

.confirm-resend-box {
    border: 1px solid #d8e6f6;
    background: #f3f8ff;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: #315675;
}

.confirm-resend-btn {
    border: 0;
    background: transparent;
    color: #1e5a8d;
    font-weight: 700;
    text-decoration: underline;
}

.confirm-resend-btn:disabled {
    color: #6c8094;
    text-decoration: none;
    cursor: not-allowed;
}

.confirm-page .login-shell {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 24px;
    align-items: flex-start;
}

.confirm-page .login-stage {
    width: min(1060px, 100%);
}

.semregistro-avatar .material-symbols-outlined {
    font-size: 46px;
    color: #fff;
}

.semregistro-info-card {
    border: 1px solid #d8e6f6;
    background: #f3f8ff;
    border-radius: 14px;
    padding: 14px 14px 12px;
    color: #2b4f6f;
}

.semregistro-info-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.semregistro-list {
    margin-left: 20px;
    padding-left: 0;
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.semregistro-page .login-shell {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 24px;
    align-items: flex-start;
}

.semregistro-page .login-stage {
    width: min(1060px, 100%);
}

.register-page .login-shell {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 24px;
    align-items: flex-start;
}

.register-page .login-stage {
    width: min(1060px, 100%);
}

@media (max-width: 992px) {
    .login-shell {
        min-height: auto;
        align-items: flex-start;
        padding-top: 72px;
    }

    .login-stage {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        padding: 24px 22px;
    }

    .brand-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .btn-back-auth {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
    }

    .login-shell {
        padding: 14px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 68px;
    }

    .login-stage {
        border-radius: 18px;
    }

    .login-brand-panel {
        padding: 20px 18px;
    }

    .login-form-panel {
        padding: 20px 16px;
    }

    .login-links-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-recuperar-footer {
        grid-template-columns: 1fr;
    }

    .register-page .login-shell {
        padding-top: 68px;
    }

    .confirm-page .login-shell {
        padding-top: 68px;
    }

    .semregistro-page .login-shell {
        padding-top: 68px;
    }
}
