/* =============================================
   AngoSchool - Login Centralizado
   helpers/css/login.css
   ============================================= */

/* Font imports */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Background animado Ken Burns */
@keyframes loginKenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    25%  { transform: scale(1.08) translate(-1%, 1%); }
    50%  { transform: scale(1.12) translate(0.5%, -0.5%); }
    75%  { transform: scale(1.06) translate(1%, 0.5%); }
    100% { transform: scale(1)    translate(0, 0); }
}

@keyframes loginGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes loginFloatOrb {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50%      { transform: translateY(-25px) scale(1.1); opacity: 0.25; }
}

@keyframes loginFloatOrb2 {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.1; }
    50%      { transform: translateY(18px) scale(0.9); opacity: 0.2; }
}

.login-bg-animated {
    position: fixed;
    inset: -20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: loginKenBurns 25s ease-in-out infinite;
    z-index: 0;
}

/* Overlay escuro sobre o background */
.login-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 45, 55, 0.88), rgba(15, 70, 80, 0.72), rgba(10, 45, 55, 0.85));
    background-size: 200% 200%;
    animation: loginGradientShift 12s ease-in-out infinite;
    z-index: 0;
}

.login-overlay::before,
.login-overlay::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
}

.login-overlay::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    top: 10%;
    left: 6%;
    animation: loginFloatOrb 8s ease-in-out infinite;
}

.login-overlay::after {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(20,184,166,0.14), transparent 70%);
    bottom: 12%;
    right: 8%;
    animation: loginFloatOrb2 10s ease-in-out infinite 2s;
}

/* Container principal */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Brand AngoSchool */
.login-brand {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    animation: fadeDown 0.5s ease;
}

.login-brand img {
    width: 44px;
    height: 44px;
    margin: 0 auto 6px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.login-brand h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-brand h1 span {
    font-weight: 300;
    opacity: 0.9;
}

.login-brand p {
    font-size: 0.8rem;
    margin-top: 2px;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.75) 0%,
        rgba(255,255,255,0.75) 35%,
        rgba(20, 184, 166, 0.95) 45%,
        #b2f5ea 50%,
        rgba(20, 184, 166, 0.95) 55%,
        rgba(255,255,255,0.75) 65%,
        rgba(255,255,255,0.75) 100%
    );
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: loginShimmer 4s ease-in-out infinite;
}

@keyframes loginShimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Card principal */
.login-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    width: 100%;
    max-width: 860px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    animation: cardSlideUp 0.5s ease 0.1s both;
}

/* Variante simple: card mais estreito para paginas secundarias */
.login-card--simple {
    max-width: 680px;
    grid-template-columns: 1fr 1.3fr;
}

@keyframes cardSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Painel da Escola (esquerdo) ===== */
.login-school {
    background: linear-gradient(160deg, var(--sige-primary-hover), var(--sige-primary-active));
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    gap: 10px;
}

.login-school-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-school-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.login-school-logo:hover {
    transform: scale(1.05);
}

.login-school-name {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    max-width: 280px;
}

.login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 16px;
}

.login-back-link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

/* User info */
.login-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    max-width: 280px;
    backdrop-filter: blur(4px);
}

.login-user-box img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.login-user-box-info {
    text-align: left;
    min-width: 0;
}

.login-user-box-info strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login-user-box-info small {
    font-size: 0.68rem;
    color: #a7f3d0;
    opacity: 0.9;
}

/* ===== Painel do Formulario (direito) ===== */
.login-form-panel {
    background: white;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-header {
    margin-bottom: 16px;
}

.login-form-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.login-form-header p {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 2px 0 0 0;
}

/* Mensagem de erro */
.login-error-msg {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    min-height: 18px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.login-error-msg.active {
    color: var(--color-red-dark);
    font-weight: 600;
    animation: shake 0.3s ease;
}

.login-success-msg {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    min-height: 18px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.login-success-msg.active {
    color: var(--sige-primary);
    font-weight: 600;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* OTP Boxes */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 8px;
}

.otp-box {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a3f;
    border: 2px solid var(--border-medium);
    border-radius: 10px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    caret-color: var(--sige-primary);
}

.otp-box:focus {
    border-color: var(--sige-primary);
    box-shadow: 0 0 0 3px rgba(41, 112, 125, 0.15);
}

.otp-box.filled {
    border-color: var(--sige-primary);
    background: #f0fdfa;
}

.otp-box.error {
    border-color: var(--color-red-dark);
    animation: shake 0.3s ease;
}

.otp-box.success {
    border-color: var(--color-green);
    background: #f0fdf4;
}

.otp-box:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-status {
    text-align: center;
    font-size: 0.82rem;
    min-height: 24px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.otp-status.verifying {
    color: var(--sige-primary);
}

.otp-status.error {
    color: var(--color-red-dark);
    font-weight: 600;
}

.otp-status.success {
    color: var(--color-green);
    font-weight: 600;
}

/* OTP Aviso SMS */
.otp-aviso-sms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fcd34d;
}

.otp-aviso-sms i {
    margin-top: 2px;
    flex-shrink: 0;
    color: #d97706;
}

/* OTP Countdown */
.otp-countdown {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
}

.otp-countdown-timer {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--sige-primary, #29707D);
    font-variant-numeric: tabular-nums;
}

/* OTP Reenviar Panel */
.otp-reenviar-panel {
    margin-top: 16px;
    text-align: center;
}

.otp-reenviar-titulo {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 4px;
}

.otp-reenviar-subtitulo {
    font-size: 0.78rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 14px;
}

.otp-reenviar-opcoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.otp-reenviar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-light, #e2e8f0);
    background: var(--ui-card-bg, #fff);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.otp-reenviar-card:hover {
    border-color: var(--sige-primary, #29707D);
    box-shadow: 0 2px 8px rgba(41, 112, 125, 0.12);
    transform: translateY(-1px);
}

.otp-reenviar-card-icone {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.otp-reenviar-card-email {
    background: #ede9fe;
    color: #7c3aed;
}

.otp-reenviar-card-whatsapp {
    background: #dcfce7;
    color: var(--color-green);
}

.otp-reenviar-card-sms {
    background: #e0f2fe;
    color: #0284c7;
}

.otp-reenviar-card-info {
    flex: 1;
    text-align: left;
}

.otp-reenviar-card-info strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.otp-reenviar-card-info span {
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
}

.otp-reenviar-card-seta {
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
    transition: transform 0.2s;
}

.otp-reenviar-card:hover .otp-reenviar-card-seta {
    transform: translateX(3px);
    color: var(--sige-primary, #29707D);
}

@media (max-width: 400px) {
    .otp-box {
        width: 42px;
        height: 50px;
        font-size: 1.3rem;
    }
    .otp-container {
        gap: 7px;
    }
}

/* Override SIGE form styles para contexto login */
.login-form-panel .sige-form-group {
    margin-bottom: 10px;
}

.login-form-panel .sige-form-label {
    font-size: 0.72rem;
    color: #374151;
    margin-bottom: 3px;
}

.login-form-panel .sige-form-input {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1.5px solid var(--border-medium);
}

.login-form-panel .sige-form-input:focus {
    border-color: var(--sige-primary);
    box-shadow: 0 0 0 3px rgba(41, 112, 125, 0.12);
}

.login-form-panel .sige-checkbox-text {
    font-size: 0.78rem;
    color: #4b5563;
}

.login-form-panel .sige-checkbox-toggle {
    border-color: var(--border-medium);
}

/* Searchable select overrides */
.login-form-panel .sige-searchable-dropdown {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.login-form-panel .sige-searchable-input {
    padding: 10px 12px;
    font-size: 0.85rem;
}

/* Botao Entrar */
.login-btn-enter {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #29707D, #1a525c);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-btn-enter:hover {
    background: linear-gradient(135deg, #1a525c, #0f3d44);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(41, 112, 125, 0.35);
}

.login-btn-enter:active {
    transform: translateY(0);
}

/* Botao primario generico (recuperar, confirmar, nova senha) */
.login-btn-primary {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #29707D, #1a525c);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-btn-primary:hover {
    background: linear-gradient(135deg, #1a525c, #0f3d44);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(41, 112, 125, 0.35);
}

.login-btn-primary:active {
    transform: translateY(0);
}

/* Footer do form */
.login-form-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.login-form-links a {
    font-size: 0.78rem;
    color: var(--sige-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.login-form-links a:hover {
    color: #1a525c;
    text-decoration: underline;
}

.login-btn-voltar-mobile {
    display: none;
    width: 100%;
    padding: 10px;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.login-btn-voltar-mobile:hover {
    background: #e5e7eb;
}

/* ===== Number Grid (segurancaMaxima) ===== */
.login-number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.login-number-btn {
    font-size: 1.1rem;
    padding: 14px;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #29707D, #1a525c);
    font-weight: 600;
}

.login-number-btn:hover {
    background: linear-gradient(135deg, #1a525c, #0f3d44);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(41, 112, 125, 0.35);
}

.login-number-btn:active {
    transform: translateY(0);
}

/* Message (segurancaMaxima) */
.login-message {
    margin-top: 16px;
    font-size: 0.9rem;
    text-align: center;
    color: #374151;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
    .login-brand {
        display: none;
    }

    .login-card {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .login-card--simple {
        max-width: 420px;
        grid-template-columns: 1fr;
    }

    .login-school {
        padding: 24px 20px;
    }

    .login-school-logo {
        width: 64px;
        height: 64px;
    }

    .login-school-name {
        font-size: 0.95rem;
    }

    .login-back-link {
        display: none;
    }

    .login-btn-voltar-mobile {
        display: block;
    }

    .login-form-panel {
        padding: 24px 20px;
    }

    .login-form-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .login-container {
        padding: 10px;
    }

    .login-school {
        padding: 18px 16px;
    }

    .login-form-panel {
        padding: 20px 16px;
    }
}

/* ===== Download Apps (Login) ===== */
.login-download-apps {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.login-download-apps p {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.login-download-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.login-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: transform 0.2s, background 0.2s;
}

.login-download-btn:hover {
    transform: translateY(-1px);
}

.login-download-btn i {
    font-size: 1rem;
}

.login-download-btn--win {
    background: rgba(0, 120, 212, 0.6);
    border: 1px solid rgba(0, 120, 212, 0.4);
}

.login-download-btn--win:hover {
    background: rgba(0, 120, 212, 0.8);
}

.login-download-btn--android {
    background: rgba(61, 220, 132, 0.4);
    border: 1px solid rgba(61, 220, 132, 0.3);
}

.login-download-btn--android:hover {
    background: rgba(61, 220, 132, 0.6);
}

.login-download-btn--pwa {
    background: rgba(100, 100, 255, 0.5);
    border: 1px solid rgba(100, 100, 255, 0.4);
    cursor: pointer;
}

.login-download-btn--pwa:hover {
    background: rgba(100, 100, 255, 0.7);
}

.login-download-btn--ios {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.login-download-btn--ios:hover {
    background: rgba(255, 255, 255, 0.25);
}

.login-download-hint {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.8rem;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: loginHintFadeIn 0.25s ease;
}

.login-download-hint i {
    color: #58a6ff;
    margin: 0 2px;
}

.login-download-hint strong {
    color: #58a6ff;
}

@keyframes loginHintFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .login-download-apps {
        bottom: 10px;
    }
    .login-download-btn span {
        display: none;
    }
    .login-download-btn {
        padding: 8px 12px;
    }
    .login-download-btn i {
        font-size: 1.2rem;
    }
}

/* =============================================
   Recuperação por Perguntas
   ============================================= */

/* Bloco "Sou aluno" com links de recuperação */
.login-recovery-aluno {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    padding-top: 6px;
    margin-top: 4px;
    border-top: 1px solid #f3f4f6;
}

.login-recovery-label {
    font-size: 0.68rem;
    color: #9ca3af;
    font-style: italic;
}

.login-recovery-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-recovery-row a {
    font-size: 0.74rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-recovery-row a:hover {
    color: var(--sige-primary);
    text-decoration: underline;
}

.login-recovery-sep {
    color: var(--border-medium);
    font-size: 0.72rem;
    user-select: none;
}

/* Card com perguntas: escola em cima, perguntas em baixo */
.login-card--perguntas {
    max-width: 520px;
    grid-template-columns: 1fr;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.login-card--perguntas .login-school {
    padding: 16px 20px;
    flex-direction: row;
    gap: 14px;
    justify-content: center;
    flex-shrink: 0;
}

.login-card--perguntas .login-school-top {
    flex-direction: row;
    gap: 14px;
}

.login-card--perguntas .login-school-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.login-card--perguntas .login-school-name {
    font-size: 0.88rem;
    text-align: left;
}

.login-card--perguntas .login-back-link {
    margin-top: 0;
    margin-left: auto;
}

.login-card--perguntas .login-form-panel {
    padding: 24px 22px;
    overflow-y: auto;
    flex: 1;
    justify-content: flex-start;
}

/* Container das perguntas */
#perguntasContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    margin-bottom: 16px;
}

/* Card de pergunta */
.login-question-group {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 0;
}

.login-question-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.login-question-hint {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 6px;
}

.login-question-group .sige-form-input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    border: 1.5px solid var(--border-medium);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-question-group .sige-form-input:focus {
    border-color: var(--sige-primary);
    box-shadow: 0 0 0 3px rgba(41, 112, 125, 0.12);
    outline: none;
}

/* Opcoes de escolha (radio buttons) */
.login-question-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.login-question-radio {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.76rem;
    color: #374151;
    line-height: 1.3;
}

.login-question-radio:hover {
    border-color: var(--sige-primary);
    background: #f0fdfa;
}

.login-question-radio input[type="radio"] {
    accent-color: var(--sige-primary);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.login-question-radio input[type="radio"]:checked + span {
    color: var(--sige-primary);
    font-weight: 600;
}

/* Opcoes com nomes longos (professor) — coluna unica */
.login-question-options--long {
    grid-template-columns: 1fr;
}

/* Box de confirmação de nome do usuario */
.login-user-confirm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.login-user-confirm i {
    color: #10b981;
    font-size: 0.9rem;
}

/* Box com numero interno resultado */
.login-numero-result {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #a7f3d0;
    border-radius: 14px;
    color: #065f46;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-align: center;
    word-break: break-all;
}

/* Responsivo para perguntas */
@media (max-width: 768px) {
    .login-card--perguntas {
        max-width: 100%;
    }

    .login-card--perguntas .login-school {
        padding: 14px 16px;
    }

    .login-card--perguntas .login-school-logo {
        width: 40px;
        height: 40px;
    }

    .login-card--perguntas .login-back-link {
        display: none;
    }

    .login-card--perguntas .login-form-panel {
        padding: 20px 16px;
    }

    .login-question-group {
        padding: 12px;
    }

    .login-question-label {
        font-size: 0.78rem;
    }

    .login-question-options {
        grid-template-columns: 1fr;
    }

    .login-numero-result {
        font-size: 1.1rem;
        padding: 16px;
    }
}
