/* Recuperar Senha - Estilo Premium Mystique */

/* Background gradiente igual à home */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #170d30 0%, #0a0618 40vh, #000000 70vh);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    /* Reduzido de 480px para ficar mais compacto */
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    /* Reduzido de 40px */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 10;
}

.container:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.3);
}

.logo {
    text-align: center;
    margin-bottom: 0.5rem;
    /* Espaçamento reduzido para maior proximidade */
}

/* Estilos do logo - COPIADOS EXATAMENTE DA HOME */
/* Estilos do logo - Aumentados conforme solicitado */
.auth-logo-row-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    /* Reduzido conforme feedback do áudio */
}

.auth-logo-img {
    height: 69px;
    /* Reduzido 3px conforme solicitado (era 72px) */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
    display: block;
}

.logo-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.symbol-container {
    width: 2.8rem;
    /* Aumentado de 2.5rem */
    height: 2.8rem;
    /* Aumentado de 2.5rem */
    margin: 0;
    position: relative;
    transform: translateY(2px);
}

.symbol-container svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    display: block;
}

.logo-text-wrapper {
    display: flex;
    align-items: baseline;
}

.logo-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
    font-size: 2.5rem;
    /* Aumentado de 2.2rem */
    letter-spacing: 0.15em;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.letter-m {
    font-size: 3.3rem;
    /* Aumentado de 3rem */
    color: #FFD700;
    text-shadow:
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 30px rgba(255, 215, 0, 0.4);
}

.letters-rest {
    font-size: 2.5rem;
    /* Acompanha logo-title */
}

/* ... (resto do css) ... */



/* Animação fadeInScale */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

h2 {
    font-family: 'Cinzel', serif;
    color: #D4AF37;
    /* Dourado específico solicitado */
    font-size: 1.3rem;
    /* Levemente menor para harmonia no box compacto */
    margin: 0 0 0.2rem 0;
    /* Espaçamento mínimo entre logo e descrição */
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Removida a linha h2::after para reduzir o gap visual conforme pedido */

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    /* Ajuste delicado de tamanho */
    margin: 0 0 1.2rem 0;
    /* Reduzido para maior proximidade com o campo */
    line-height: 1.4;
}

/* Navigation positioning styles */
.nav-left,
.nav-right {
    position: absolute;
    top: 25px;
    display: flex;
    gap: 16px;
    z-index: 100;
}

.nav-left {
    left: 30px;
}

.nav-right {
    right: 30px;
}

.nav-btn {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    background: rgba(23, 13, 48, 0.7);
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), inset 0 0 5px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.nav-btn:hover {
    color: #a855f7 !important;
    border-color: #a855f7 !important;
    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.8),
        0 0 20px rgba(168, 85, 247, 0.4) !important;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(168, 85, 247, 0.5),
        0 0 40px rgba(168, 85, 247, 0.3),
        inset 0 0 15px rgba(168, 85, 247, 0.2) !important;
}

.nav-btn i {
    transition: transform 0.3s ease;
}

.nav-btn:hover i {
    transform: translateX(-5px);
}

.nav-btn:hover::before {
    opacity: 1;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Button Override */
.btn {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    font-size: 1.1rem;
    box-shadow:
        0 4px 15px rgba(124, 58, 237, 0.4),
        0 0 30px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
    border-color: rgba(196, 181, 253, 0.8);
    box-shadow:
        0 6px 25px rgba(124, 58, 237, 0.6),
        0 0 50px rgba(168, 85, 247, 0.4),
        0 0 80px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Feedback Box Override */
.feedback-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.feedback-box.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: flex;
}

.feedback-box.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
}

/* Footer - Estilo padrão Mystique */
.hypper-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-developed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Aptos', 'Segoe UI', sans-serif;
}

.footer-text {
    font-size: 0.8rem;
    opacity: 0.5;
    color: #fff;
    margin: 0;
}

.hypper-logo {
    height: 48px;
    width: auto;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 30px 20px;
    }


    h1 {
        font-size: 24px;
    }
}

/* ============================================
   ELEMENTOS MÍSTICOS - Background Celestial
   ============================================ */

.mystical-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow:
        0 0 3px rgba(212, 175, 55, 0.8),
        0 0 6px rgba(212, 175, 55, 0.5);
    animation: twinkle 3s ease-in-out infinite;
}

.star::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6), transparent);
    border-radius: 50%;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}