/* Global Styles com Background Gradiente */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --dark: #1a1a2e;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Container principal para admin */
.main-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Cards e containers */
.card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem;
    font-weight: 600;
}

.card-body {
    color: #333;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Tabelas */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.table thead th {
    color: white;
    font-weight: 600;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
}

.table tbody td {
    color: #333;
}

/* Navegação */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white !important;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: #333;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd89b 0%, #c7e9fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Formulários */
.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.75rem;
    color: #333;
}

.form-control:focus {
    background: white;
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    color: #333;
    font-weight: 500;
}

/* Alertas */
.alert {
    border-radius: 10px;
    border: none;
}

/* Footer */
footer {
    background: rgba(26, 26, 46, 0.95);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsivo */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .stat-card h2 {
        font-size: 1.5rem;
    }
}
