/* assets/css/admin.css */
/* Custom styles for admin panel */

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.stat-icon.primary { background: #dbeafe; color: var(--primary); }
.stat-icon.success { background: #d1fae5; color: var(--secondary); }
.stat-icon.warning { background: #fed7aa; color: var(--warning); }
.stat-icon.danger { background: #fee2e2; color: var(--danger); }

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}

.col-3 { width: calc(25% - 24px); margin: 12px; }
.col-4 { width: calc(33.333% - 24px); margin: 12px; }
.col-6 { width: calc(50% - 24px); margin: 12px; }
.col-12 { width: calc(100% - 24px); margin: 12px; }

@media (max-width: 768px) {
    .col-3, .col-4, .col-6 {
        width: calc(100% - 24px);
    }
}

/* Progress Bar */
.progress {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.tab {
    padding: 8px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
    position: relative;
}

.tab.active {
    color: var(--primary);
    font-weight: 600;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-time {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.timeline-content {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
}