body { font-family: 'Inter', sans-serif; background-color: #f8fafc; }

/* Fly Fitness Gradient */
.brand-gradient { background-image: linear-gradient(to right, #6EE7B7, #3B82F6); }
.text-brand { color: #3B82F6; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

[x-cloak] { display: none !important; }

/* --- Frontend Styles Replication --- */

/* Week Selector Styles */
.week-selector {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Updates for smooth scrolling and preventing cutoff */
    padding-right: 0.5rem;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.week-selector::-webkit-scrollbar { display: none; }

.week-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    margin-right: 0.5rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}
.week-button.active {
    background-color: #3B82F6;
    color: #ffffff;
    border-color: #3B82F6;
}
.week-button:hover:not(.active) {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Custom Toggle for Gym/Home */
.toggle-switch-bg {
    background-color: #e2e8f0;
    border-radius: 9999px;
    padding: 0.25rem;
    display: flex;
    flex-shrink: 0;
}
.toggle-switch-button {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-switch-button.active {
    background-color: #ffffff;
    color: #3B82F6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Gender Toggle (Mini version of switch) */
.gender-switch-button {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

/* Nav Arrows */
.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.nav-arrow:hover {
    background-color: #f8fafc;
    color: #3b82f6;
    border-color: #cbd5e1;
}
