/* User Dashboard Styles */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand {
    font-weight: 700;
    color: #667eea !important;
}

.sidebar {
    background: white;
    min-height: calc(100vh - 56px);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar .nav-link {
    color: #333;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

.sidebar .nav-link.active {
    background-color: #667eea;
    color: white;
}

.main-content {
    padding: 30px;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

/* User Dashboard Enhancements */
.user-profile-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.activity-timeline {
    border-left: 2px solid #e9ecef;
    padding-left: 20px;
    margin-left: 10px;
}

.activity-item {
    position: relative;
    padding-bottom: 20px;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #667eea;
}

.activity-item:last-child {
    padding-bottom: 0;
}

.quick-action-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    display: block;
    transition: all 0.3s;
    text-align: center;
}

.quick-action-btn:hover {
    border-color: #667eea;
    color: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
}

.quick-action-btn i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .stats-card {
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .welcome-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dashboard Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e9ecef;
    }
    
    .sidebar {
        background: #2d2d2d;
        border-right: 1px solid #404040;
    }
    
    .sidebar .nav-link {
        color: #e9ecef;
        border-bottom: 1px solid #404040;
    }
    
    .sidebar .nav-link:hover {
        background-color: #404040;
    }
    
    .stats-card,
    .user-profile-card {
        background: #2d2d2d;
        color: #e9ecef;
    }
    
    .quick-action-btn {
        background: #2d2d2d;
        border-color: #404040;
        color: #e9ecef;
    }
    
    .quick-action-btn:hover {
        border-color: #667eea;
        color: #667eea;
    }
}
