/* Dashboard Attractive & Simple Styles */

.page-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-card:nth-child(1) i { color: #10b981; }
.stat-card:nth-child(2) i { color: #3b82f6; }
.stat-card:nth-child(3) i { color: #8b5cf6; }
.stat-card:nth-child(4) i { color: #f59e0b; }

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.stat-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.stat-card .btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.875rem;
    border: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.stat-card .btn:hover {
    transform: scale(1.05);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    min-height: 300px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h3 i {
    color: #3b82f6;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #f1f5f9;
    border-left-color: #3b82f6;
}


.activity-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.activity-item:nth-child(1) i { background: #10b981; }
.activity-item:nth-child(2) i { background: #3b82f6; }
.activity-item:nth-child(3) i { background: #f59e0b; }

.activity-item div h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
    font-weight: 600;
}

.activity-item div p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.activity-item div span {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.action-btn:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.action-btn:nth-child(1):hover { border-color: #3b82f6; }
.action-btn:nth-child(2):hover { border-color: #8b5cf6; }
.action-btn:nth-child(3):hover { border-color: #f59e0b; }
.action-btn:nth-child(4):hover { border-color: #10b981; }

.action-btn i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.action-btn:nth-child(1) i { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.action-btn:nth-child(2) i { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.action-btn:nth-child(3) i { background: linear-gradient(135deg, #f59e0b, #d97706); }
.action-btn:nth-child(4) i { background: linear-gradient(135deg, #10b981, #059669); }

.action-btn span {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card {
        padding: 2rem;
        min-height: auto;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .action-btn {
        padding: 1.5rem;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 2rem;
        min-height: 180px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .activity-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .action-btn {
        padding: 1.25rem;
        min-height: 90px;
    }
}