/* Work Management System - Main Stylesheet */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --sidebar-width: 250px;
    --header-height: 60px;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.login-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.sidebar.collapsed .sidebar-header h4 {
    display: none;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-menu i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.sidebar.collapsed .sidebar-menu span {
    display: none;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
}

.sidebar.collapsed + .main-content {
    margin-left: 70px;
}

.top-header {
    background: white;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: between;
    padding: 0 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-right: 1rem;
    cursor: pointer;
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.notification-dropdown {
    position: relative;
    margin-right: 1rem;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
}

.content-area {
    padding: 1.5rem;
}

/* Cards */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.stat-card.primary .icon { background: var(--primary-color); }
.stat-card.success .icon { background: var(--success-color); }
.stat-card.warning .icon { background: var(--warning-color); }
.stat-card.danger .icon { background: var(--danger-color); }
.stat-card.info .icon { background: var(--info-color); }

.stat-card h3 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: var(--dark-color);
}

.stat-card p {
    margin: 0;
    color: var(--secondary-color);
}

/* Tables */
.table-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table-card .card-header {
    background: var(--light-color);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: between;
    align-items: center;
}

.table-responsive {
    max-height: 500px;
    overflow-y: auto;
}

.table th {
    background: var(--light-color);
    border-top: none;
    font-weight: 600;
    color: var(--dark-color);
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-todo { background: #e9ecef; color: #495057; }
.status-in_progress { background: #cce5ff; color: #0066cc; }
.status-review { background: #fff3cd; color: #856404; }
.status-completed { background: #d4edda; color: #155724; }
.status-active { background: #d1ecf1; color: #0c5460; }
.status-planning { background: #f8d7da; color: #721c24; }
.status-on_hold { background: #ffeaa7; color: #6c5ce7; }

/* Priority Badges */
.priority-low { background: #d4edda; color: #155724; }
.priority-medium { background: #fff3cd; color: #856404; }
.priority-high { background: #f8d7da; color: #721c24; }
.priority-critical { background: #f5c6cb; color: #721c24; }

/* Forms */
.form-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* Kanban Board */
.kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.kanban-column {
    min-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.kanban-header {
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    display: flex;
    justify-content: between;
    align-items: center;
}

.kanban-tasks {
    padding: 1rem;
    min-height: 400px;
}

.kanban-task {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: move;
    transition: all 0.3s ease;
}

.kanban-task:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.kanban-task.dragging {
    opacity: 0.5;
}

/* Charts */
.chart-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 400px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .kanban-board {
        flex-direction: column;
    }
    
    .kanban-column {
        min-width: auto;
    }
}

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

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    margin-bottom: 10px;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(0,123,255,0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(0,123,255,0.1);
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
}

.progress-bar {
    border-radius: 4px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px #dee2e6;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* User Profile Styles */
.user-profile-container {
    margin-bottom: 2rem;
}

.profile-header-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.profile-cover {
    height: 120px;
    background: var(--retail-gradient);
    position: relative;
}

.profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1));
}

.profile-content {
    padding: 0 2rem 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.profile-info {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    flex-shrink: 0;
}

.profile-details {
    padding-top: 1rem;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.profile-email {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.role-badge, .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-badge.role-admin {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.role-badge.role-manager {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
}

.role-badge.role-employee {
    background: linear-gradient(135deg, #64748b, #94a3b8);
    color: white;
}

.status-badge.status-active {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.status-badge.status-inactive {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card.stat-projects {
    border-left-color: #3b82f6;
}

.stat-card.stat-tasks {
    border-left-color: #f59e0b;
}

.stat-card.stat-hours {
    border-left-color: #10b981;
}

.stat-card.stat-joined {
    border-left-color: #8b5cf6;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-projects .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.stat-tasks .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.stat-hours .stat-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.stat-joined .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    line-height: 1;
}

.stat-content p {
    color: var(--secondary-color);
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.info-card .card-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-card .card-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.info-card .card-body {
    padding: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: var(--dark-color);
    text-align: right;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .profile-content {
        padding: 0 1rem 1.5rem;
        margin-top: -40px;
    }
    
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .info-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .profile-cover {
        height: 80px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .profile-name {
        font-size: 1.25rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
}
/* Utilities */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cursor-pointer {
    cursor: pointer;
}

.border-radius-10 {
    border-radius: 10px;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Modern Dashboard Styles */
.dashboard-header {
    margin-bottom: 2rem;
}

.welcome-section {
    padding: 1rem 0;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}

.dashboard-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Modern Statistics Cards */
.modern-stat-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.stat-background {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    opacity: 0.1;
}

.modern-stat-card.stat-users .stat-background {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.modern-stat-card.stat-projects .stat-background {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.modern-stat-card.stat-tasks .stat-background {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.modern-stat-card.stat-active .stat-background {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}

.stat-trend i {
    font-size: 0.8rem;
}

/* Modern Chart Cards */
.modern-chart-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chart-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-controls .btn {
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-size: 0.85rem;
}

.chart-controls .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.chart-body {
    flex: 1;
    padding: 1rem 2rem 2rem;
    position: relative;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: space-around;
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-stat-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.quick-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-stat-content {
    flex: 1;
}

.quick-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.quick-stat-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Modern Activity Card */
.modern-activity-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.activity-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.activity-filters {
    display: flex;
    gap: 1rem;
}

.activity-body {
    padding: 0;
}

.activity-timeline {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem 0;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.activity-item:hover {
    background: #f8fafc;
    border-left-color: var(--primary-color);
}

.activity-item.latest {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.05), transparent);
    border-left-color: var(--primary-color);
}

.activity-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.activity-action {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.activity-entity {
    background: #e2e8f0;
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.activity-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.activity-time {
    color: #94a3b8;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.activity-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }
    
    .dashboard-actions {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .modern-stat-card {
        height: auto;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .modern-chart-card {
        height: 350px;
    }
    
    .chart-header {
        padding: 1rem 1.5rem 0.75rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .chart-body {
        padding: 0.75rem 1.5rem 1.5rem;
    }
    
    .activity-item {
        padding: 1rem 1.5rem;
    }
    
    .activity-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.75rem;
    }
    
    .modern-stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .activity-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}