/* ============================================================
   MyTube Landing Page — Modern Zero-Scroll Design (Clean)
   Inspirado no padrão human-centric da Meta / Facebook
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ---------- Bloqueio Absoluto de Scroll ---------- */
html,
body.landing-body {
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #080c16;
    background: radial-gradient(circle at 50% 15%, #112042 0%, #080c16 70%);
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

/* ---------- Header Sóbrio e Acromático (Sem AO!) ---------- */
.lp-header {
    height: 52px;
    padding: 0 16px;
    padding-top: env(safe-area-inset-top, 0px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 50;
    flex-shrink: 0;
}

.lp-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* O logotipo padrão do MyTube */
.lp-header .tiktok-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    text-decoration: none;
    display: inline-block;
}

.lp-header-right {
    display: flex;
    align-items: center;
}

.lp-header-login-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lp-header-login-btn:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

/* ---------- Container Principal (Sem Scroll) ---------- */
.landing-page {
    height: calc(100% - 52px);
    height: calc(100dvh - 52px);
    max-height: calc(100dvh - 52px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden !important;
    box-sizing: border-box;
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------- ESTRUTURA MOBILE (Default) ---------- */
.lp-mobile-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
    width: 100%;
}

.lp-desktop-panel {
    display: none;
}

/* Cabeçalho de Texto / Proposta de Valor */
.lp-hero-head {
    text-align: center;
    flex-shrink: 0;
    padding: 2px 4px 4px;
}

.lp-hero-title {
    font-size: clamp(1.15rem, 3.8vw, 1.45rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lp-grad-text {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-subtitle {
    font-size: clamp(0.74rem, 2.5vw, 0.84rem);
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    line-height: 1.35;
}

/* ---------- MOSAICO DE FOTOS MOBILE (CLEAN & SEM ÍCONES) ---------- */
.lp-preview-area {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 4px 0 8px;
}

.lp-mosaic-wrap {
    position: relative;
    width: 310px;
    height: 270px;
    max-height: calc(100dvh - 250px);
    margin: 0 auto;
    user-select: none;
}

/* Card 1: Poliano Moço — Colégio Betânia (Estático & Estável) */
.lp-mosaic-card-secondary {
    position: absolute;
    left: 6px;
    top: 10px;
    z-index: 10;
    width: 145px;
    height: 205px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #0f172a;
}

.lp-mosaic-card-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card 2: Criadora em Destaque (Estático & Estável) */
.lp-mosaic-card-primary {
    position: absolute;
    right: 6px;
    top: 26px;
    z-index: 20;
    width: 165px;
    height: 228px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: #0f172a;
}

.lp-mosaic-card-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Selo Escolar Clean (Sem Troféu) */
.lp-badge-school {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 15;
    background: rgba(9, 13, 22, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 3px 9px;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lp-card-author-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 8px 6px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.95) 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
}

/* ---------- AÇÕES ERGONÔMICAS (100% SEM ÍCONES) ---------- */
.lp-actions-block {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding-top: 2px;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
}

.lp-btn-primary:active {
    transform: scale(0.98);
}

.lp-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 10px 18px;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lp-btn-secondary:active {
    transform: scale(0.98);
}

.lp-login-hint {
    text-align: center;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.lp-login-hint a {
    color: #60a5fa;
    font-weight: 700;
    text-decoration: none;
}

.lp-login-hint a:hover {
    text-decoration: underline;
}

/* Micro Rodapé de Políticas */
.lp-micro-footer {
    flex-shrink: 0;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.38);
    padding: 4px 0 2px;
}

.lp-micro-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.lp-micro-footer a:hover {
    color: #93c5fd;
}

.lp-desktop-footer {
    display: none;
}

/* ============================================================
   RESPONSIVIDADE DESKTOP (min-width: 900px)
   ============================================================ */
@media (min-width: 900px) {
    .lp-mobile-wrap {
        display: none;
    }

    /* Ocultar botão Entrar do header no desktop — form já está inline */
    .lp-header-right {
        display: none;
    }

    .lp-desktop-panel {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr 1fr;
        gap: 32px;
        align-items: center;
        flex: 1;
        min-height: 0;
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
    }

    /* ---- Coluna 1: Proposta de Valor ---- */
    .lp-desktop-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }

    .lp-desktop-title {
        font-size: clamp(1.75rem, 2.6vw, 2.6rem);
        font-weight: 900;
        color: #ffffff;
        line-height: 1.15;
        letter-spacing: -0.03em;
        margin: 0 0 14px;
    }

    .lp-desktop-subtitle {
        font-size: 0.98rem;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.6;
        margin: 0 0 24px;
    }

    .lp-btn-explore-desktop {
        display: inline-flex;
        width: fit-content;
        padding: 10px 22px;
        font-size: 0.88rem;
    }

    /* ---- Coluna 2: Mosaico ---- */
    .lp-desktop-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        min-height: 0;
    }

    .lp-desktop-visual .lp-mosaic-wrap {
        width: 340px;
        height: 310px;
        cursor: pointer;
    }

    .lp-desktop-visual .lp-mosaic-card-secondary {
        width: 165px;
        height: 230px;
    }

    .lp-desktop-visual .lp-mosaic-card-primary {
        width: 185px;
        height: 258px;
    }

    /* ---- Coluna 3: Cartão de Auth Completo ---- */
    .lp-desktop-auth {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
}

/* ============================================================
   CARTÃO DE AUTENTICAÇÃO UNIFICADO (DESKTOP, MOBILE & LOGIN.PHP)
   ============================================================ */
.lp-auth-card {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 22px 24px 18px;
    width: 100%;
    max-width: 380px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    max-height: calc(100dvh - 125px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    box-sizing: border-box;
}

.lp-auth-card::-webkit-scrollbar {
    width: 5px;
}
.lp-auth-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.lp-auth-card::-webkit-scrollbar-track {
    background: transparent;
}

/* Abas superiores */
.lp-auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 3px;
    margin-bottom: 16px;
    gap: 4px;
}

.lp-tab-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lp-tab-btn.active {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.lp-tab-btn:not(.active):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Alertas */
.lp-auth-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
    max-height: 120px;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
}

.lp-auth-alert.lp-alert-dismissing {
    opacity: 0;
    transform: translateY(-6px);
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    pointer-events: none;
    overflow: hidden;
}

.lp-auth-alert-text {
    flex: 1;
}

.lp-auth-alert-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-auth-alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lp-auth-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.lp-auth-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.lp-auth-form {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}

.lp-auth-form.active {
    display: flex;
}

.lp-input-group {
    position: relative;
    width: 100%;
}

.lp-auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #f1f5f9;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.lp-auth-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lp-auth-input:focus {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(255, 255, 255, 0.10);
}

.lp-password-group {
    display: flex;
    align-items: center;
    position: relative;
}

.lp-password-group .lp-auth-input {
    padding-right: 40px;
}

.lp-toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.45);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 5;
}

.lp-toggle-password:hover {
    color: #93c5fd;
}

.lp-username-group {
    position: relative;
}

.lp-username-prefix {
    position: absolute;
    left: 14px;
    top: 20px;
    transform: translateY(-50%);
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 5;
}

.lp-username-group .lp-auth-input {
    padding-left: 32px;
}

.lp-field-hint {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
    padding-left: 2px;
}

.lp-field-error {
    font-size: 0.75rem;
    color: #f87171;
    margin-top: -3px;
    margin-bottom: 2px;
}

.lp-username-feedback {
    display: block;
    font-size: 0.75rem;
    margin-top: 5px;
    margin-bottom: 8px;
    padding-left: 2px;
    font-weight: 500;
    line-height: 1.3;
}

.lp-auth-input.valid {
    border-color: rgba(34, 197, 94, 0.6) !important;
}

.lp-auth-input.valid:focus {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.lp-auth-input.invalid {
    border-color: rgba(239, 68, 68, 0.7) !important;
}

.lp-auth-input.invalid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.lp-auth-submit {
    width: 100%;
    padding: 12px;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 12px;
}

.lp-auth-forgot {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: #60a5fa;
    text-decoration: none;
    margin: 4px 0 10px;
    font-weight: 600;
}

.lp-auth-forgot:hover {
    text-decoration: underline;
}

.lp-auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

.lp-auth-divider::before,
.lp-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.lp-auth-register-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 11px;
    border-radius: 12px;
    border: 1.5px solid rgba(59, 130, 246, 0.5);
    color: #60a5fa;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(59, 130, 246, 0.08);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.lp-auth-register-btn:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: #3b82f6;
    color: #93c5fd;
}

/* Botão Google na Landing Page */
.google-signin-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
    min-height: 42px;
}

.lp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lp-google-btn:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.lp-google-btn:active {
    transform: translateY(0);
}

/* Toggle Número / Email dentro do card */
.lp-auth-card .contact-toggle-wrap {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 2px;
}

.lp-auth-card .contact-toggle-btn {
    flex: 1;
    padding: 7px 10px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lp-auth-card .contact-toggle-btn.active {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.lp-auth-card .email-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lp-auth-card .email-code-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.lp-auth-card .btn-send-code,
.lp-auth-card .btn-resend-code {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    font-family: inherit;
}

.lp-auth-card .btn-send-code:disabled,
.lp-auth-card .btn-resend-code:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lp-auth-card .email-verify-msg {
    font-size: 0.75rem;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
    max-height: 80px;
    box-sizing: border-box;
}

.lp-auth-card .email-verify-msg.lp-alert-dismissing {
    opacity: 0;
    transform: translateY(-4px);
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    pointer-events: none;
    overflow: hidden;
}

.lp-auth-card .email-verify-msg.msg-success {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}

.lp-auth-card .email-verify-msg.msg-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.lp-auth-card .email-verified-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: #34d399;
    font-weight: 600;
    margin-top: 4px;
}

.lp-auth-terms {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.35;
    margin: 2px 0;
}

.lp-auth-terms a {
    color: #60a5fa;
    text-decoration: none;
}

.lp-auth-terms a:hover {
    text-decoration: underline;
}

/* Fluxo de Recuperação de Senha */
.lp-auth-card .forgot-flow {
    display: none;
}

.lp-auth-card .forgot-flow.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-auth-card .forgot-step {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.lp-auth-card .forgot-step.active {
    display: flex;
}

.lp-auth-card .forgot-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.lp-back-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.lp-back-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lp-forgot-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.lp-forgot-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.4;
}

.lp-auth-card .code-inputs {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 4px 0;
}

.lp-auth-card .code-digit {
    width: 40px;
    height: 44px;
    font-size: 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.lp-auth-card .code-digit:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.12);
}

.lp-auth-card .resend-code {
    text-align: center;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 2px 0;
}

.lp-auth-card .resend-code a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.lp-auth-card .resend-code a:hover {
    text-decoration: underline;
}

.lp-auth-card .success-icon {
    width: 46px;
    height: 46px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    color: #34d399;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 2px;
}

.lp-auth-card .forgot-message {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    text-align: center;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
    max-height: 80px;
    box-sizing: border-box;
}

.lp-auth-card .forgot-message.lp-alert-dismissing {
    opacity: 0;
    transform: translateY(-6px);
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    pointer-events: none;
    overflow: hidden;
}

.lp-auth-card .forgot-message.msg-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.lp-auth-card .forgot-message.msg-success {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ============================================================
   ESTILOS DA PÁGINA STANDALONE LOGIN.PHP
   ============================================================ */
body.login-page-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: #080c16;
    background: radial-gradient(circle at 50% 15%, #112042 0%, #080c16 70%);
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

.login-page-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    width: 100%;
    box-sizing: border-box;
}

.login-page-wrap .lp-auth-card {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.login-page-footer {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ---------- Footer Sóbrio & Limpo (Compartilhado) ---------- */
.lp-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.lp-footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: -0.01em;
}

.lp-footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.lp-footer-nav a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-footer-nav a:hover {
    color: #60a5fa;
}

@media (min-width: 600px) {
    .lp-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 16px;
    }
}

@media (min-width: 900px) {
    .lp-desktop-footer {
        display: block;
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        padding: 10px 16px 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
        z-index: 20;
        box-sizing: border-box;
    }
}
