/* Usando uma fonte mais moderna do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7fa; /* Um cinza mais claro e suave */
}

/* --- Layout da Área da Aplicação (Dashboard, etc.) --- */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    padding: 20px;
    background-color: #1e293b; /* Um azul escuro/chumbo */
    color: #f8fafc;
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    text-decoration: none;
}

.sidebar .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #cbd5e1;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar .nav-link:hover {
    background-color: #334155;
    color: #fff;
}

.sidebar .nav-link.active {
    background-color: #4f46e5; /* Roxo/Azul vibrante para item ativo */
    color: #fff;
}

.sidebar .nav-link .icon {
    margin-right: 12px;
    width: 20px;
    display: inline-block;
}

.sidebar .logout-button {
    margin-top: auto; /* Empurra o botão de logout para o final */
}

.main-content {
    margin-left: 260px; /* Mesmo valor da largura da sidebar */
    padding: 30px;
}

/* --- Layout das Telas de Autenticação (Login, Cadastro) --- */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f7fa;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.auth-card .auth-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}