/* site/css/auth_core.css */
/* Estrutura Base para Telas de Login, Cadastro e Recuperação */

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

[data-theme="light"] .auth-container {
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.logo-box {
    text-align: center;
    margin-bottom: 32px;
}

.logo-box img {
    height: 90px;
    margin-bottom: 20px;
}

h2 { margin: 0 0 8px; font-size: 1.8rem; text-align: center; font-weight: 700; letter-spacing: -0.5px; }
p.subtitle { margin: 0 0 24px; color: var(--muted); text-align: center; font-size: 0.85rem; font-weight: 300; }

.input-wrapper { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.input-wrapper label { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-left: 4px; }

input[type="email"], input[type="password"], input[type="text"], select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
}

[data-theme="light"] input, [data-theme="light"] select {
    background: var(--bg);
    color: #111;
}

input:focus, select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, #b58f19 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 8px;
    transition: .2s;
    font-family: inherit;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3); }

.back-link {
    position: absolute;
    top: 30px;
    left: 30px;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: .2s;
}

.back-link:hover { color: var(--gold); }

.msg-box, .error-box { 
    padding: 16px; 
    border-radius: 12px; 
    margin-bottom: 24px; 
    font-size: 0.9rem; 
    text-align: center;
}

.msg-box { 
    background: rgba(74, 222, 128, 0.1); 
    border: 1px solid rgba(74, 222, 128, 0.2); 
    color: #4ade80; 
}

.error-box { 
    background: rgba(239, 68, 68, 0.1); 
    border: 1px solid rgba(239, 68, 68, 0.2); 
    color: var(--error); 
}
