/* =========================================
   1. VARIÁVEIS - PREMIUM DARK MINIMAL
   ========================================= */
:root {
    --bg-base: #030712;      /* Fundo escuro profundo e elegante */
    --box-bg: rgba(17, 24, 39, 0.6); /* Fundo da caixa translúcido */
    --border-soft: rgba(255, 255, 255, 0.06);
    --primary: #00f2fe;      /* O teu ciano */
    --primary-glow: rgba(0, 242, 254, 0.15);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* =========================================
   2. FUNDO E LUZES SUAVES (DEPTH)
   ========================================= */
.login-body {
    background-color: var(--bg-base);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Luzes de fundo muito elegantes e discretas */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); /* Desfoque extremo para ficar suave */
    z-index: 0;
    opacity: 0.15; /* Quase transparente */
    animation: floatSmooth 15s infinite alternate ease-in-out;
}

.orb-1 {
    width: 450px; height: 450px;
    background: #00f2fe;
    top: -10%; left: -5%;
}

.orb-2 {
    width: 500px; height: 500px;
    background: #3b82f6; /* Azul suave */
    bottom: -15%; right: -10%;
    animation-delay: -7s;
}

@keyframes floatSmooth {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* =========================================
   3. CAIXA DE LOGIN (MINIMALISTA)
   ========================================= */
.login-container {
    width: 100%; max-width: 420px; padding: 20px; z-index: 10;
}

.login-box {
    background: var(--box-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: all 0.4s ease;
}

/* Um leve brilho ciano na borda ao passar o rato na caixa */
.login-box:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.05);
}

.login-logo {
    width: 120px; margin-bottom: 25px;
    filter: brightness(1.1); /* Destaca a logo subtilmente */
}

h2 { color: var(--text-main); font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.5px; }
.subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; font-weight: 300; }

/* =========================================
   4. INPUTS (CLEAN)
   ========================================= */
.login-form { display: flex; flex-direction: column; gap: 18px; }

.input-group { position: relative; display: flex; align-items: center; }

.input-icon {
    position: absolute; left: 16px; color: var(--text-muted); transition: 0.3s; z-index: 2; font-size: 1rem;
}

.input-group input {
    width: 100%; height: 52px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-soft); border-radius: 12px;
    padding: 0 45px; color: var(--text-main); font-size: 0.95rem; outline: none; transition: 0.3s;
}

.input-group input::placeholder { color: #6b7280; font-weight: 300; }

/* Focus elegante: borda ciano muito fina */
.input-group:focus-within input {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.02);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.input-group:focus-within .input-icon { color: var(--primary); }

.eye-toggle {
    position: absolute; right: 16px; color: var(--text-muted); cursor: pointer; transition: 0.3s; z-index: 2;
}
.eye-toggle:hover { color: var(--text-main); }

/* =========================================
   5. BOTÃO DE ENTRAR (SÓLIDO E PREMIUM)
   ========================================= */
.btn-entrar {
    height: 52px;
    background: var(--primary);
    color: #030712; /* Texto bem escuro para contraste perfeito */
    border: none; border-radius: 12px;
    font-weight: 600; font-size: 1rem; letter-spacing: 0.5px;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px;
    transition: all 0.3s ease; margin-top: 10px;
}

.btn-entrar:hover {
    background: #4facfe; /* Fica um pouco mais azulado no hover */
    box-shadow: 0 8px 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-entrar:active { transform: translateY(0); }

/* =========================================
   6. ALERTAS E LINKS
   ========================================= */
.error-alert {
    background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171; padding: 12px; border-radius: 10px; margin-bottom: 20px;
    display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500;
}

.login-footer {
    display: flex; justify-content: space-between; margin-top: 30px; font-size: 0.85rem;
}

.login-footer a {
    color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: 0.3s; font-weight: 400;
}

.login-footer a:hover { color: var(--primary); }

/* =========================================
   7. RESPONSIVIDADE
   ========================================= */
@media (max-width: 480px) {
    .login-container { width: 100%; padding: 15px; }
    .login-box { padding: 35px 25px; border-radius: 16px; }
    .input-group input { font-size: 16px !important; }
}

/* =========================================
   8. RESPONSIVIDADE
   ========================================= */
@media (max-width: 480px) {
    .login-container { width: 95%; padding: 10px; }
    .login-box { padding: 30px 20px; }
    .input-group input { font-size: 16px !important; }
}