:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --bg-color: #f4f7fe;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Navbar Premium */
.navbar {
    background: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}

.avatar-circle {
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Cards Premium */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

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

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
    padding: 1.25rem;
    color: var(--secondary-color);
}

/* Summary Cards */
.summary-card {
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.summary-card.bg-primary-grad { background: var(--primary-gradient); }
.summary-card.bg-success-grad { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%); }
.summary-card.bg-info-grad { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.summary-card.bg-danger-grad { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); }

.summary-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.summary-card .value {
    font-size: 1.75rem;
    font-weight: 700;
}

.summary-card .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Tables Modern */
.table {
    margin-top: 1rem;
}

.table thead th {
    border-top: none;
    background-color: #f8f9fa;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 1rem;
}

.table td {
    vertical-align: middle;
    padding: 1rem;
    border-top: 1px solid #f1f3f5;
}

/* Buttons */
.btn-premium {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

/* Charts Container */
.chart-container {
    padding: 1rem;
    min-height: 300px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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