/* auth.css */

/* --- Variáveis e Reset --- */
:root {
    --primary-blue: #d32f2f;  /* Azul do logo/botões */
    --primary-dark: #b71c1c;   /* Hover do botão */
    --text-dark: #1e293b;      /* Títulos */
    --text-muted: #64748b;     /* Subtítulos */
    --border-color: #e2e8f0;  /* Bordas dos inputs */
    --bg-color: #fcfcfc;      /* Fundo da página */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* --- Cartão Principal --- */
.auth-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    padding: 40px;
    width: 100%;
    margin: auto;
}

/* Larguras específicas para cada tipo de página */
.auth-card.login-size { max-width: 450px; }
.auth-card.register-size { max-width: 550px; }

/* --- Logo --- */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-decoration: none;
    transition: transform 0.2s;
}
.logo-container:hover { transform: scale(1.02); }

.logo-icon {
    background-color: var(--primary-blue);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* --- Tipografia --- */
.auth-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* --- Formulário --- */
.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}

.form-control {
    border-color: var(--border-color);
    padding: 12px;
    font-size: 0.95rem;
    border-radius: 8px;
    background-color: #fff;
    color: #334155;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(21, 76, 121, 0.1);
    outline: none;
}

/* --- Botões --- */
.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* --- Links e Footer --- */
.forgot-password {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}
.forgot-password:hover { text-decoration: underline; }

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

.password-requirements {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 6px;
}