body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.view { display: none; }
.view.active { display: block; animation: fadeIn 0.4s ease forwards; }

.admin-view { display: none; }
.admin-view.active { display: block; animation: fadeIn 0.4s ease forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Custom Calendar Styles */
.calendar-day {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}
.calendar-day.disabled {
    color: #cbd5e1;
    pointer-events: none;
}
.calendar-day.selected {
    background-color: #14b8a6; /* primary-500 */
    color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 14px 0 rgba(20, 184, 166, 0.39);
}
.calendar-day:not(.disabled):hover {
    background-color: #f0fdfa; /* primary-50 */
    color: #0f766e; /* primary-700 */
    border-radius: 1rem;
}

/* Time Slots */
.time-slot {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    color: #475569;
}
.time-slot.selected {
    background-color: #14b8a6;
    color: white;
    border-color: #14b8a6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.time-slot:not(:disabled):hover {
    border-color: #14b8a6;
    color: #14b8a6;
    transform: translateY(-2px);
}
.time-slot:disabled {
    background-color: #f8fafc;
    color: #cbd5e1;
    border-color: #f1f5f9;
    cursor: not-allowed;
}

/* Modern Inputs */
.modern-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
    color: #334155;
}
.modern-input:focus {
    outline: none;
    border-color: #14b8a6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px #ccfbf1;
}

/* Admin Sidebar Links */
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s ease;
}
.admin-nav-link:hover {
    background-color: #f1f5f9;
    color: #0f766e;
}
.admin-nav-link.active {
    background-color: #f0fdfa;
    color: #0f766e;
    font-weight: 600;
}
.admin-nav-link.active svg {
    color: #14b8a6;
}

/* Pagination */
.pagination-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    color: #64748b;
    transition: all 0.2s ease;
}
.pagination-btn.active {
    background-color: #14b8a6;
    color: white;
    border-color: #14b8a6;
}
.pagination-btn:not(.active):hover {
    background-color: #f8fafc;
    color: #334155;
}

/* Quill Adjustments */
.ql-toolbar { border-radius: 0.75rem 0.75rem 0 0; border-color: #e2e8f0 !important; }
.ql-container { border-radius: 0 0 0.75rem 0.75rem; border-color: #e2e8f0 !important; font-family: inherit !important; }
.ql-editor { min-height: 150px; font-size: 1rem; }

/* Setup utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
