 body { 
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
        background-color: #f9fafb;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: none;
        position: fixed;
        top: 16px;
        left: 16px;
        z-index: 50;
        background: white;
        padding: 8px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .mobile-menu-btn:hover {
        background: #f3f4f6;
    }
    
    .mobile-menu-btn svg {
        width: 24px;
        height: 24px;
        color: #374151;
    }
    
    /* Sidebar */
    .sidebar {
        width: 280px;
        background: white;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        z-index: 40;
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    
    .sidebar.closed {
        transform: translateX(-100%);
    }
    
    /* Overlay for mobile */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 35;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-content {
        margin-left: 280px;
        min-height: 100vh;
        padding: 24px;
        transition: margin-left 0.3s ease;
    }
    
    .main-content.expanded {
        margin-left: 0;
    }
    
    .logo-section {
        padding: 24px;
        border-bottom: 1px solid #e5e7eb;
        position: relative;
    }
    
    .sidebar-close {
        display: none;
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
        color: #6b7280;
    }
    
    .sidebar-close:hover {
        background: #f3f4f6;
        color: #374151;
    }
    
    .logo {
        font-size: 1.5rem;
        font-weight: bold;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .nav-section {
        padding: 24px 0 120px 0;
    }
    
    .nav-item {
        display: flex;
        align-items: center;
        padding: 12px 24px;
        color: #6b7280;
        text-decoration: none;
        transition: all 0.2s;
        margin: 0 16px;
        border-radius: 8px;
        position: relative;
    }
    
    .nav-item:hover {
        background-color: #f3f4f6;
        color: #374151;
    }
    
    .nav-item.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .nav-item svg {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .upgrade-section {
        position: fixed;
        bottom: 24px;
        left: 16px;
        width: 248px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px;
        padding: 16px;
        text-align: center;
    }
    
    .upgrade-section h3 {
        color: white;
        font-size: 0.875rem;
        font-weight: 600;
        margin: 0 0 8px 0;
    }
    
    .upgrade-section p {
        color: rgba(219, 234, 254, 0.8);
        font-size: 0.75rem;
        margin: 0 0 12px 0;
    }
    
    .upgrade-btn {
        background: white;
        color: #667eea;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
    }
    
    .upgrade-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .dashboard-header {
        background: white;
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .welcome-section h1 {
        font-size: 1.875rem;
        font-weight: bold;
        color: #111827;
        margin: 0 0 8px 0;
    }
    
    .welcome-section p {
        color: #6b7280;
        margin: 0;
    }
    
    .header-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .header-btn {
        background: #667eea;
        color: white;
        padding: 8px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .header-btn:hover {
        background: #5b21b6;
        transform: translateY(-1px);
    }
    
    .header-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .search-bar {
        background: white;
        border-radius: 12px;
        padding: 16px 24px;
        margin-bottom: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .search-input {
        width: 100%;
        padding: 12px 16px 12px 40px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 0.875rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: 12px center;
        background-size: 20px;
        transition: all 0.2s;
    }
    
    .search-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .search-input::placeholder {
        color: #9ca3af;
    }
    
    .quick-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .quick-action {
        background: white;
        border: 2px dashed #e5e7eb;
        border-radius: 8px;
        padding: 20px;
        text-align: center;
        text-decoration: none;
        transition: all 0.2s;
        position: relative;
    }
    
    .quick-action:hover {
        border-color: #667eea;
        background: rgba(102, 126, 234, 0.02);
        transform: translateY(-2px);
    }
    
    .quick-action:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }
    
    .quick-action svg {
        width: 24px;
        height: 24px;
        margin: 0 auto 8px;
        color: #667eea;
    }
    
    .quick-action span {
        display: block;
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .stat-card {
        background: white;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        border-left: 4px solid transparent;
        position: relative;
        overflow: hidden;
    }
    
    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: linear-gradient(45deg, rgba(102, 126, 234, 0.05), transparent);
        border-radius: 50%;
        transform: translate(30px, -30px);
    }
    
    .stat-card--primary {
        border-left-color: #667eea;
    }
    
    .stat-card--warning {
        border-left-color: #f59e0b;
    }
    
    .stat-card--success {
        border-left-color: #10b981;
    }
    
    .stat-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        position: relative;
        z-index: 1;
    }
    
    .stat-title {
        font-size: 0.875rem;
        font-weight: 500;
        color: #6b7280;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .stat-icon--primary {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }
    
    .stat-icon--warning {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
    }
    
    .stat-icon--success {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
    }
    
    .stat-value {
        font-size: 2rem;
        font-weight: bold;
        color: #111827;
        margin-bottom: 8px;
        position: relative;
        z-index: 1;
    }
    
    .stat-description {
        font-size: 0.875rem;
        color: #6b7280;
        position: relative;
        z-index: 1;
    }
    
    .progress-bar {
        width: 100%;
        height: 8px;
        background: #e5e7eb;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 12px;
        position: relative;
        z-index: 1;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transition: width 0.3s ease;
        border-radius: 4px;
    }
    
    .content-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .content-section {
        background: white;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .section-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #111827;
        margin: 0;
    }
    
    .filter-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .filter-tab {
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        background: white;
        color: #6b7280;
        text-decoration: none;
        transition: all 0.2s;
        cursor: pointer;
    }
    
    .filter-tab.active {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }
    
    .filter-tab:hover {
        border-color: #667eea;
        color: #667eea;
    }
    
    .appointment-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .appointment-item {
        display: flex;
        align-items: center;
        padding: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        transition: all 0.2s;
        position: relative;
    }
    
    .appointment-item:hover {
        border-color: #667eea;
        box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
        transform: translateY(-1px);
    }
    
    .appointment-time {
        background: #667eea;
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 500;
        margin-right: 16px;
        min-width: 80px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .appointment-details {
        flex: 1;
        min-width: 0;
    }
    
    .appointment-title {
        font-size: 0.875rem;
        font-weight: 600;
        color: #111827;
        margin: 0 0 4px 0;
        word-break: break-word;
    }
    
    .appointment-client {
        font-size: 0.75rem;
        color: #6b7280;
        margin: 0;
    }
    
    .appointment-actions {
        display: flex;
        gap: 8px;
        margin-left: 12px;
        flex-shrink: 0;
    }
    
    .appointment-action {
        padding: 4px 8px;
        border: none;
        border-radius: 4px;
        font-size: 0.75rem;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .appointment-action--edit {
        background: #f3f4f6;
        color: #374151;
    }
    
    .appointment-action--edit:hover {
        background: #e5e7eb;
    }
    
    .appointment-action--delete {
        background: #fef2f2;
        color: #dc2626;
    }
    
    .appointment-action--delete:hover {
        background: #fee2e2;
    }
    
    .appointment-status {
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 500;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .status-confirmed {
        background: #d1fae5;
        color: #065f46;
    }
    
    .status-pending {
        background: #fef3c7;
        color: #92400e;
    }
    
    .status-cancelled {
        background: #fee2e2;
        color: #991b1b;
    }
    
    .empty-state {
        text-align: center;
        padding: 48px 24px;
        color: #6b7280;
    }
    
    .empty-state svg {
        width: 64px;
        height: 64px;
        margin: 0 auto 16px;
        color: #d1d5db;
    }
    
    .empty-state h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #374151;
        margin: 0 0 8px 0;
    }
    
    .empty-state p {
        margin: 0 0 16px 0;
    }
    
    .calendar-widget {
        background: white;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        margin-bottom: 24px;
        border: 1px solid #e5e7eb;
    }
    
    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }
    
    .calendar-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #111827;
    }
    
    .calendar-nav {
        display: flex;
        gap: 8px;
    }
    
    .calendar-nav-btn {
        padding: 8px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        background: white;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .calendar-nav-btn:hover {
        border-color: #667eea;
        background: #f8fafc;
    }
    
    .calendar-nav-btn:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }
    
    .calendar-nav-btn svg {
        width: 16px;
        height: 16px;
        color: #6b7280;
    }
    
    .calendar-container {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
        background: white;
    }
    
    .calendar-weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        background: #f9fafb;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .calendar-weekday {
        padding: 12px 8px;
        text-align: center;
        font-size: 0.75rem;
        font-weight: 600;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-right: 1px solid #e5e7eb;
    }
    
    .calendar-weekday:last-child {
        border-right: none;
    }
    
    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        background: white;
    }
    
    .calendar-day {
        min-height: 100px;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        padding: 8px;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
        background: white;
        display: flex;
        flex-direction: column;
    }
    
    .calendar-day:last-child,
    .calendar-day:nth-child(7n) {
        border-right: none;
    }
    
    .calendar-day:hover {
        background: #f8fafc;
    }
    
    .calendar-day:focus {
        outline: 2px solid #667eea;
        outline-offset: -2px;
        z-index: 1;
    }
    
    .calendar-day.other-month {
        background: #f9fafb;
        color: #d1d5db;
    }
    
    .calendar-day.other-month:hover {
        background: #f3f4f6;
    }
    
    .calendar-day.today {
        background: #eff6ff;
        border: 2px solid #3b82f6;
    }
    
    .calendar-day.today .calendar-day-number {
        background: #3b82f6;
        color: white;
    }
    
    .calendar-day-number {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
        margin-bottom: 4px;
        flex-shrink: 0;
    }
    
    .calendar-day.other-month .calendar-day-number {
        color: #d1d5db;
    }
    
    .calendar-appointments {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        overflow: hidden;
    }
    
    .calendar-appointment {
        background: #667eea;
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 0.7rem;
        font-weight: 500;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.2s;
        border-left: 3px solid #4f46e5;
    }
    
    .calendar-appointment:hover {
        background: #5b21b6;
        transform: scale(1.02);
    }
    
    .calendar-appointment.appointment-type-meeting {
        background: #10b981;
        border-left-color: #059669;
    }
    
    .calendar-appointment.appointment-type-meeting:hover {
        background: #047857;
    }
    
    .calendar-appointment.appointment-type-consultation {
        background: #f59e0b;
        border-left-color: #d97706;
    }
    
    .calendar-appointment.appointment-type-consultation:hover {
        background: #b45309;
    }
    
    .calendar-appointment.appointment-type-workshop {
        background: #8b5cf6;
        border-left-color: #7c3aed;
    }
    
    .calendar-appointment.appointment-type-workshop:hover {
        background: #6d28d9;
    }
    
    .calendar-more {
        font-size: 0.7rem;
        color: #6b7280;
        cursor: pointer;
        padding: 1px 4px;
        border-radius: 2px;
        transition: all 0.2s;
    }
    
    .calendar-more:hover {
        background: #e5e7eb;
        color: #374151;
    }
    
    /* Appointment Tooltip */
    .appointment-tooltip {
        position: absolute;
        background: #111827;
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.75rem;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s;
        max-width: 200px;
    }
    
    .appointment-tooltip.show {
        opacity: 1;
    }
    
    .appointment-tooltip::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 4px solid transparent;
        border-top-color: #111827;
    }
    
    .recent-customers {
        margin-top: 24px;
    }
    
    .customer-item {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .customer-item:last-child {
        border-bottom: none;
    }
    
    .customer-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 0.875rem;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .customer-info {
        flex: 1;
        min-width: 0;
    }
    
    .customer-name {
        font-size: 0.875rem;
        font-weight: 500;
        color: #111827;
        margin: 0 0 2px 0;
    }
    
    .customer-email {
        font-size: 0.75rem;
        color: #6b7280;
        margin: 0;
    }
    
    .customer-status {
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 500;
        flex-shrink: 0;
    }
    
    .customer-status--new {
        background: #dbeafe;
        color: #1e40af;
    }
    
    .customer-status--active {
        background: #d1fae5;
        color: #065f46;
    }
    
    /* Loading States */
    .loading {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #667eea;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Responsive Design */
    @media (max-width: 1024px) {
        .content-grid {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: block;
        }
        
        .sidebar-close {
            display: block;
        }
        
        .main-content {
            margin-left: 0;
            padding: 80px 16px 16px;
        }
        
        .sidebar {
            transform: translateX(-100%);
        }
        
        .sidebar.open {
            transform: translateX(0);
        }
        
        .stats-grid {
            grid-template-columns: 1fr;
        }
        
        .quick-actions {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        }
        
        .dashboard-header {
            flex-direction: column;
            align-items: flex-start;
            padding: 16px;
        }
        
        .welcome-section h1 {
            font-size: 1.5rem;
        }
        
        .header-actions {
            width: 100%;
            justify-content: flex-start;
        }
        
        .calendar-grid {
            font-size: 0.75rem;
        }
        
        .calendar-day {
            min-height: 80px;
            padding: 4px;
        }
        
        .appointment-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            padding: 12px;
        }
        
       .appointment-time {
            margin-right: 0;
            align-self: flex-start;
        }
        
        .appointment-actions {
            margin-left: 0;
            align-self: flex-start;
        }
    }
    
    @media (max-width: 480px) {
        .quick-actions {
            grid-template-columns: 1fr;
        }
        
        .stats-grid {
            gap: 16px;
        }
        
        .stat-card {
            padding: 16px;
        }
        
        .content-section {
            padding: 16px;
        }
        
        .filter-tabs {
            width: 100%;
            justify-content: flex-start;
        }
    }
    
    /* Accessibility */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    /* Focus States */
    .nav-item:focus,
    .quick-action:focus,
    .filter-tab:focus,
    .appointment-action:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }
    
    /* High Contrast Mode */
    @media (prefers-contrast: high) {
        .stat-card,
        .content-section,
        .appointment-item {
            border: 2px solid #000;
        }
        
        .nav-item.active {
            border: 2px solid #fff;
        }
    }
    
    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }