/* Modern Dashboard Styles */
    .modern-dashboard {
        --primary: #4361ee;
        --primary-light: #4895ef;
        --secondary: #3a0ca3;
        --success: #4cc9f0;
        --warning: #f72585;
        --info: #7209b7;
        --light: #f8f9fa;
        --dark: #212529;
        --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
        min-height: 100vh;
        background: #f8f9fa;
    }

    /* Dashboard Hero */
    .dashboard-hero {
        background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(58, 12, 163, 0.05) 100%);
        padding: 2rem;
        margin: -20px -20px 2rem -20px;
        border-radius: 0 0 20px 20px;
    }

    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .welcome-badge {
        display: inline-block;
        background: var(--gradient);
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 500;
        box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
    }

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

    .gradient-text {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .dashboard-subtitle {
        color: #6c757d;
        font-size: 1.1rem;
        max-width: 600px;
    }

    .dashboard-actions .btn {
        padding: 0.8rem 2rem;
        border-radius: 10px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-hover-effect:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    }

    /* Modern Stats Cards */
    .modern-stats-card {
        background: white;
        border-radius: 15px;
        padding: 1.5rem;
        height: 100%;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .modern-stats-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
    }

    .patient-card::before { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
    .doctor-card::before { background: linear-gradient(135deg, #f72585, #7209b7); }
    .booking-card::before { background: linear-gradient(135deg, #4895ef, #3a0ca3); }
    .prescription-card::before { background: linear-gradient(135deg, #7209b7, #3a0ca3); }

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

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

    .patient-card .stats-icon { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
    .doctor-card .stats-icon { background: linear-gradient(135deg, #f72585, #7209b7); }
    .booking-card .stats-icon { background: linear-gradient(135deg, #4895ef, #3a0ca3); }
    .prescription-card .stats-icon { background: linear-gradient(135deg, #7209b7, #3a0ca3); }

    .stats-number {
        font-weight: 800;
        font-size: 2rem;
        margin: 0;
        color: var(--dark);
    }

    .stats-label {
        color: #6c757d;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .stats-trend {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
    }

    .trend-up {
        color: #28a745;
        font-weight: 600;
    }

    .trend-period {
        color: #6c757d;
    }

    /* Dashboard Widgets */
    .dashboard-widget {
        background: white;
        border-radius: 15px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        height: 100%;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .widget-header {
        padding: 1.5rem 1.5rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

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

    .widget-content {
        padding: 1.5rem;
    }

    /* Quick Actions */
    .quick-action-item {
        display: flex;
        align-items: center;
        padding: 1rem;
        border-radius: 10px;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
        border: 1px solid transparent;
    }

    .quick-action-item:hover {
        background: rgba(67, 97, 238, 0.05);
        border-color: rgba(67, 97, 238, 0.1);
        transform: translateX(5px);
    }

    .action-icon {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        color: white;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .action-icon.admin { background: linear-gradient(135deg, #f72585, #7209b7); }
    .action-icon.specialist { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
    .action-icon.appointment { background: linear-gradient(135deg, #4895ef, #3a0ca3); }
    .action-icon.patient { background: linear-gradient(135deg, #28a745, #20c997); }
    .action-icon.time { background: linear-gradient(135deg, #ffc107, #fd7e14); }
    .action-icon.find { background: linear-gradient(135deg, #17a2b8, #20c997); }

    .action-content h6 {
        font-weight: 600;
        margin: 0;
        color: var(--dark);
    }

    .action-content p {
        color: #6c757d;
        font-size: 0.875rem;
        margin: 0.25rem 0 0;
    }

    .action-arrow {
        margin-left: auto;
        color: #6c757d;
        transition: transform 0.3s ease;
    }

    .quick-action-item:hover .action-arrow {
        transform: translateX(5px);
        color: var(--primary);
    }

    /* Activity Widget */
    .activity-item {
        display: flex;
        align-items: flex-start;
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }

    .activity-item:hover {
        background: rgba(0, 0, 0, 0.02);
    }

    .activity-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: white;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .activity-icon.success { background: linear-gradient(135deg, #28a745, #20c997); }
    .activity-icon.primary { background: linear-gradient(135deg, #4361ee, #4895ef); }
    .activity-icon.warning { background: linear-gradient(135deg, #ffc107, #fd7e14); }

    .activity-content h6 {
        font-weight: 600;
        margin: 0;
        color: var(--dark);
    }

    .activity-content p {
        color: #6c757d;
        font-size: 0.875rem;
        margin: 0.25rem 0;
    }

    .activity-time {
        color: #adb5bd;
        font-size: 0.75rem;
    }

    /* Today Summary */
    .today-summary {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .summary-item {
        display: flex;
        align-items: center;
        padding: 1rem;
        background: rgba(67, 97, 238, 0.05);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .summary-item:hover {
        background: rgba(67, 97, 238, 0.1);
        transform: translateX(5px);
    }

    .summary-item i {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 10px;
        margin-right: 1rem;
    }

    .summary-item h6 {
        font-weight: 600;
        margin: 0;
        color: var(--dark);
        font-size: 0.9rem;
    }

    .summary-item p {
        font-weight: 700;
        font-size: 1.5rem;
        margin: 0.25rem 0 0;
        color: var(--dark);
    }

    /* Responsive Design */
    @media (max-width: 1200px) {
        .main-content {
            margin-left: 0 !important;
        }
        
        .modern-sidebar {
            position: fixed;
            left: -280px;
            transition: left 0.3s ease;
        }
        
        .modern-sidebar.mobile-open {
            left: 0;
        }
        
        .dashboard-hero {
            margin: 0 0 2rem 0;
        }
    }

    @media (max-width: 768px) {
        .dashboard-header {
            flex-direction: column;
            gap: 1rem;
        }

        .dashboard-title {
            font-size: 2rem;
        }

        .modern-stats-card {
            padding: 1rem;
        }

        .stats-number {
            font-size: 1.5rem;
        }

        .widget-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }

        .summary-item {
            flex-direction: column;
            text-align: center;
        }

        .summary-item i {
            margin-right: 0;
            margin-bottom: 1rem;
        }
    }

    @media (max-width: 576px) {
        .activity-item, .quick-action-item {
            flex-direction: column;
            align-items: flex-start;
        }

        .activity-icon, .action-icon {
            margin-bottom: 0.5rem;
            margin-right: 0;
        }

        .stats-icon {
            width: 50px;
            height: 50px;
            font-size: 1.25rem;
        }
    }
 