    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%);
    }
    
    .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);
    }
    
    /* Appointments Page Header */
    .appointments-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;
    }
    
    .appointments-title {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .appointments-title h1 {
        font-size: 1.875rem;
        font-weight: bold;
        color: #111827;
        margin: 0;
    }
    
    .starter-badge {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .appointments-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .new-appointment-btn {
        background: #667eea;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 8px;
        border: none;
        cursor: pointer;
    }
    
    .new-appointment-btn:hover {
        background: #5b21b6;
        transform: translateY(-1px);
    }
    
    .appointment-counter {
        background: #f3f4f6;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 0.875rem;
        color: #374151;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .counter-number {
        font-weight: 600;
        color: #667eea;
    }
    
    .counter-limit {
        color: #6b7280;
    }
    
    .email-reminder-badge {
        background: #d1fae5;
        color: #065f46;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    /* Search and Filters */
    .appointments-controls {
        background: white;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .search-section {
        margin-bottom: 20px;
    }
    
    .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;
    }
    
    .filters-section {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        align-items: center;
        padding-top: 16px;
        border-top: 1px solid #e5e7eb;
    }
    
    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .filter-label {
        font-size: 0.75rem;
        font-weight: 500;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .filter-select {
        padding: 8px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        font-size: 0.875rem;
        background: white;
        cursor: pointer;
        transition: all 0.2s;
        min-width: 120px;
    }
    
    .filter-select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .clear-filters-btn {
        background: #f3f4f6;
        color: #6b7280;
        border: none;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.875rem;
        cursor: pointer;
        transition: all 0.2s;
        margin-left: auto;
    }
    
    .clear-filters-btn:hover {
        background: #e5e7eb;
        color: #374151;
    }
    
    /* Appointments List */
    .appointments-main {
        background: white;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .appointments-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .appointment-card {
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 20px;
        transition: all 0.2s;
        position: relative;
        background: white;
    }
    
    .appointment-card:hover {
        border-color: #667eea;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
        transform: translateY(-2px);
    }
    
    .appointment-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 16px;
        gap: 16px;
    }
    
    .appointment-main-info {
        flex: 1;
        min-width: 0;
    }
    
    .appointment-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #111827;
        margin: 0 0 4px 0;
        word-break: break-word;
    }
    
    .appointment-customer {
        font-size: 0.875rem;
        color: #6b7280;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .appointment-datetime {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        flex-shrink: 0;
    }
    
    .appointment-date {
        font-size: 0.875rem;
        font-weight: 600;
        color: #111827;
    }
    
    .appointment-time {
        background: #667eea;
        color: white;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .appointment-card-body {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .appointment-meta {
        display: flex;
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .appointment-type {
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .type-consultation {
        background: #fef3c7;
        color: #92400e;
    }
    
    .type-meeting {
        background: #d1fae5;
        color: #065f46;
    }
    
    .type-other {
        background: #e0e7ff;
        color: #3730a3;
    }
    
    .appointment-status {
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .status-confirmed {
        background: #d1fae5;
        color: #065f46;
    }
    
    .status-pending {
        background: #fef3c7;
        color: #92400e;
    }
    
    .status-cancelled {
        background: #fee2e2;
        color: #991b1b;
    }
    
    .email-reminder-status {
        background: #dbeafe;
        color: #1e40af;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .appointment-actions {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .appointment-action {
        padding: 6px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        background: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .appointment-action:hover {
        border-color: #667eea;
        color: #667eea;
    }
    
    .appointment-action--edit {
        color: #667eea;
        border-color: #d1d5db;
    }
    
    .appointment-action--delete {
        color: #dc2626;
        border-color: #d1d5db;
    }
    
    .appointment-action--delete:hover {
        background: #fee2e2;
        border-color: #dc2626;
    }
    
    .appointment-notes {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f3f4f6;
        font-size: 0.875rem;
        color: #6b7280;
        line-height: 1.5;
    }
    
    /* Empty State */
    .appointments-empty {
        text-align: center;
        padding: 60px 20px;
        color: #6b7280;
    }
    
    .appointments-empty svg {
        width: 80px;
        height: 80px;
        margin: 0 auto 24px;
        color: #d1d5db;
    }
    
    .appointments-empty h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #374151;
        margin: 0 0 8px 0;
    }
    
    .appointments-empty p {
        margin: 0 0 24px 0;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Loading State */
    .loading-spinner {
        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); }
    }
    
    /* Appointment Modal */
    .appointment-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .modal-content {
        background: white;
        border-radius: 12px;
        padding: 24px;
        max-width: 600px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .modal-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #111827;
        margin: 0;
    }
    
    .modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #6b7280;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
    }
    
    .modal-close:hover {
        background: #f3f4f6;
        color: #374151;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        display: block;
        font-weight: 500;
        color: #374151;
        margin-bottom: 6px;
        font-size: 0.875rem;
    }
    
    .form-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        font-size: 0.875rem;
        transition: all 0.2s;
    }
    
    .form-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .form-textarea {
        min-height: 80px;
        resize: vertical;
    }
    
    .modal-actions {
        display: flex;
        gap: 12px;
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid #e5e7eb;
    }
    
    .btn-primary {
        background: #667eea;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        flex: 1;
    }
    
    .btn-primary:hover {
        background: #5b21b6;
    }
    
    .btn-secondary {
        background: #f3f4f6;
        color: #374151;
        border: none;
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .btn-secondary:hover {
        background: #e5e7eb;
    }
    
    /* Responsive Design */
    @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);
        }
        
        .appointments-header {
            flex-direction: column;
            align-items: stretch;
        }
        
        .appointments-actions {
            justify-content: space-between;
        }
        
        .filters-section {
            flex-direction: column;
            gap: 12px;
            align-items: stretch;
        }
        
        .filter-group {
            width: 100%;
        }
        
        .filter-select {
            width: 100%;
        }
        
        .appointment-card-header {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
        }
        
        .appointment-datetime {
            align-items: flex-start;
            flex-direction: row;
            gap: 12px;
        }
        
        .appointment-card-body {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
        }
        
        .appointment-actions {
            justify-content: flex-start;
        }
        
        .form-row {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 480px) {
        .appointments-controls {
            padding: 16px;
        }
        
        .appointments-main {
            padding: 16px;
        }
        
        .appointment-card {
            padding: 16px;
        }
        
        .modal-content {
            padding: 20px;
            margin: 10px;
        }
    }