/* Color Scheme Variables */
:root {
    /* Primary - Orange */
    --primary: #F37121;
    --primary-hover: #D5590B;
    --primary-light: #FF8E00;
    --primary-dark: #DD7B00;
    
    /* Secondary - Blue */
    --secondary: #1C4DA1;
    --secondary-hover: #144b71;
    --secondary-light: #0596F4;
    --secondary-lighter: #86BBDA;
    
    /* Neutral */
    --background: #F5F5F5;
    --surface: #FFFFFF;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-muted: #7f8c8d;
    --border: #dee2e6;
    
    /* Status Colors */
    --status-cleaning: #FFF3CD;
    --status-cleaning-text: #856404;
    --status-ready: #D4EDDA;
    --status-ready-text: #155724;
    --status-completed: #D1ECF1;
    --status-completed-text: #0c5460;
    --status-scheduled: #E2E3E5;
    --status-scheduled-text: #383d41;
    --status-recurring: #CCE5FF;
    --status-recurring-text: #004085;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
#main-nav {
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
}

.nav-tab {
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-tab:hover {
    background: var(--secondary-hover);
}

.nav-tab.active {
    background: var(--primary);
}

/* Main Content */
#content {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error State */
.error {
    background: #e74c3c;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
}

.close:hover {
    color: #2c3e50;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
