/* Dashboard-Specific Modern Enhancements */

/* Dashboard Header Styles */
.dashboard-header {
    background: var(--gradient-hero);
    color: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(60, 110, 113, 0.2);
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: translate(50px, -50px);
}

.dashboard-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(72, 60, 70, 0.3);
}

.dashboard-subtitle {
    opacity: 0.95;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* Enhanced Statistics Cards */
.stats-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stats-number {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stats-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    color: var(--color-charcoal);
}

/* Color variations for stats cards */
.stats-primary .stats-number { 
    color: var(--color-teal); 
}
.stats-primary::before { 
    background: linear-gradient(135deg, var(--color-teal), var(--color-sage)); 
}

.stats-success .stats-number { 
    color: var(--color-sage); 
}
.stats-success::before { 
    background: var(--gradient-success); 
}

.stats-warning .stats-number { 
    color: var(--color-orange); 
}
.stats-warning::before { 
    background: linear-gradient(135deg, var(--color-orange), #ff6b35); 
}

.stats-info .stats-number { 
    color: var(--color-teal); 
}
.stats-info::before { 
    background: linear-gradient(135deg, var(--color-teal), var(--color-charcoal)); 
}

.stats-warning .stats-number { 
    color: #d97706; 
}
.stats-warning::before { 
    background: var(--gradient-warning); 
}

.stats-info .stats-number { 
    color: #0891b2; 
}
.stats-info::before { 
    background: var(--gradient-info); 
}

/* Quick Actions Enhancement */
.quick-actions {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-height: 3rem;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.action-button i {
    font-size: 1.1rem;
}

/* Copyright Notice Enhancement */
.copyright-notice {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%);
    border: none;
    border-left: 4px solid #2563eb;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

/* Enhanced Section Headers */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.section-icon {
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-right: 1rem;
}

.section-icon.primary {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.section-icon.success {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.section-icon.warning {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.section-icon.info {
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
}

/* Enhanced List Items */
.list-item-enhanced {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.list-item-enhanced:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.list-item-enhanced.primary {
    border-left-color: #8b5cf6;
}

.list-item-enhanced.success {
    border-left-color: #059669;
}

.list-item-enhanced.warning {
    border-left-color: #f59e0b;
}

/* Recent Activity Styles */
.activity-card {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border-left: 4px solid #f59e0b;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.activity-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Typography for Dashboard */
.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Progress Indicators */
.completion-bar {
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0.5rem 0;
}

.completion-progress {
    height: 100%;
    border-radius: var(--radius);
    transition: width 0.6s ease;
}

.completion-progress.high {
    background: var(--gradient-success);
}

.completion-progress.medium {
    background: var(--gradient-warning);
}

.completion-progress.low {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Mobile Responsiveness for Dashboard */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 1.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
        padding: 1.25rem;
    }
    
    .stats-number {
        font-size: 2.25rem;
    }
    
    .quick-actions {
        text-align: center;
        padding: 1.5rem;
    }
    
    .action-button {
        display: block;
        margin-bottom: 0.75rem;
        text-align: center;
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-icon {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .dashboard-header {
        padding: 1.25rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .dashboard-subtitle {
        font-size: 1rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load {
    animation: fadeInUp 0.6s ease-out;
}

.animate-on-load:nth-child(1) { animation-delay: 0.1s; }
.animate-on-load:nth-child(2) { animation-delay: 0.2s; }
.animate-on-load:nth-child(3) { animation-delay: 0.3s; }
.animate-on-load:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Loading States for Dashboard */
.stats-loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}