/* Variáveis de cores */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #c0392b;
    --warning-color: #f39c12;
    --info-color: #2980b9;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #2c3e50;
    --border-color: #bdc3c7;
}

/* Estilos gerais */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Navbar personalizada */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    padding: 1.25rem;
}

.card-header:first-child {
    border-radius: 8px 8px 0 0;
}

/* Botões */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-action {
    margin: 0 2px;
    padding: 0.375rem 0.75rem;
}

/* Formulários */
.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Tabelas */
.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--light-color);
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.02);
}

/* Badges */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
    border-radius: 4px;
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.login-body {
    padding: 2rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 6px;
    padding: 1rem 1.25rem;
}

/* Dashboard cards */
.dashboard-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

/* Ícones */
.bi {
    margin-right: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .btn-action {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Dashboard específico */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stats-card .stats-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stats-card .stats-number {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-card .stats-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Gráficos */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chart-container h5 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Lista de eventos recentes */
.recent-events {
    background: white;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.recent-events .list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.5rem;
    transition: all 0.2s ease;
}

.recent-events .list-group-item:first-child {
    border-top: none;
}

.recent-events .list-group-item:last-child {
    border-bottom: none;
}

.recent-events .list-group-item:hover {
    background-color: var(--light-color);
}

.recent-events .event-date {
    color: var(--text-color);
    font-size: 0.875rem;
    opacity: 0.8;
}

.recent-events .event-title {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.recent-events .event-location {
    color: var(--text-color);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Tabela de vendas */
.sales-table th {
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--light-color);
    border-bottom: 2px solid var(--border-color);
}

.sales-table td {
    vertical-align: middle;
}

.sales-table .status-badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
    border-radius: 4px;
}

/* Responsividade */
@media (max-width: 768px) {
    .stats-card {
        padding: 1rem;
    }
    
    .stats-card .stats-icon {
        font-size: 2rem;
    }
    
    .stats-card .stats-number {
        font-size: 1.5rem;
    }
    
    .chart-container {
        padding: 1rem;
    }
} 