:root {
    --bg-dark: #0f111a;
    --card-bg: #1a1c29;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', sans-serif; }

body {
    background-color: var(--bg-dark);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

/* --- CONTAINER CENTRAL --- */
.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Detalhe neon no topo (opcional) */
.login-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), #a855f7);
}

/* --- LOGO E TÍTULO --- */
.logo-area { margin-bottom: 20px; }
.logo-icon { height: 50px; } /* Ajuste conforme seu logo */

.login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
    font-weight: 600;
}

/* --- INPUTS (O PRINCIPAL QUE ESTAVA FALTANDO) --- */
.input-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-group input {
    width: 100%;
    background: #151521; /* Fundo escuro */
    border: 1px solid var(--border);
    padding: 15px 45px 15px 15px; /* Espaço na direita pro ícone */
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

/* Efeito ao clicar no input */
.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    background: #1e1e2d;
}

.input-group input::placeholder { color: #555; }

/* Posicionamento do Ícone */
.input-group .material-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none; /* Deixa clicar "através" do ícone */
    transition: 0.3s;
}

.input-group input:focus + .material-icons {
    color: var(--primary);
}

/* --- BOTÃO DE REGISTRO --- */
.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* --- LINK DE LOGIN --- */
.register-link {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.register-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover { text-decoration: underline; }