/* 
  Theme Variables matched to 'Yoga Space NY' aesthetic
  Aesthetic: Minimalist, Airy, Industrial Chic, Nature-inspired
*/
:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --color-bg: #FAFAF9;
    /* Warm stone white */
    --color-surface: #FFFFFF;
    --color-text-primary: #1C1C1E;
    --color-text-secondary: #6B7280;
    --color-accent: #2F3133;
    /* Charcoal for primary actions */

    --color-green-soft: #88cb97;
    /* Sage */
    --color-green-deep: #4A5D50;

    --color-brick-muted: #de7070;
    /* Muted earth/terracotta */

    --radius-pill: 50rem;
    --radius-card: 12px;

    --spacing-container: 4rem;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-accent);
}

/* Navbar Redesign */
.navbar-custom {
    background-color: transparent;
    /* Seamless blend */
    padding-top: 0.75rem;
    /* Reduced from 1.5rem */
    padding-bottom: 0.75rem;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.75rem;
    color: var(--color-accent);
    letter-spacing: -0.05em;
}

.brand-dot {
    color: var(--color-text-secondary);
    /* Maybe a subtle dot color */
}

/* Navigation Styles */
.menu-link {
    font-family: var(--font-body);
    /* Using Inter for clean look */
    font-size: 1.1rem;
    /* Increased size as requested */
    font-weight: 400;
    /* Regular weight, not bold */
    color: var(--color-text-secondary);
    /* Start slightly muted */
    text-transform: lowercase;
    /* Matches the "yoga space." aesthetic */
    letter-spacing: 0.01em;
    padding: 0.5rem 0 !important;
    /* Force zero horizontal padding to rely on gap */
    margin: 0 !important;
    position: relative;
    transition: color 0.2s ease;
}

.menu-link:hover,
.menu-link.active-link {
    color: var(--color-text-primary);
    /* Darker on active/hover */
    text-decoration: none;
    font-weight: 500;
    /* Subtle weight bump for active/hover */
}

.menu-link.disabled {
    color: #9CA3AF;
    pointer-events: none;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1400px;
    margin-top: 2rem;
    padding: 0 2rem;
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Forms & Inputs */
label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    /* Soft rect, not full pill */
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: var(--color-surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(47, 49, 51, 0.1);
    /* Subtle ring */
}

/* Checkboxes */
.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    border-color: #D1D5DB;
}

.form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Month Pills */
/* Month Pills */
.filter-month+label {
    background-color: transparent;
    /* Rely on btn classes for base, or white? User asked for white/light */
    background-color: #FFFFFF;
    color: var(--color-text-secondary);
    border: 1px solid #E5E7EB !important;
    /* Force border */
    border-radius: 8px;
    /* Original radius */
    font-weight: 500;
    transition: all 0.2s;
}

.filter-month:checked+label {
    background-color: var(--color-text-secondary) !important;
    /* Gray active */
    color: #FFFFFF !important;
    /* White text */
    border-color: var(--color-text-secondary) !important;
    box-shadow: none;
}

.filter-month+label:hover {
    border-color: var(--color-text-secondary) !important;
    background-color: #F3F4F6;
}

/* Buttons */
.btn {
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.6rem 2rem;
    text-transform: lowercase;
    /* Stylistic choice from screenshot vibe */
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    box-shadow: none;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-1px);
}

/* Cards & Tables */
.analysis-card {
    background: var(--color-surface);
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Extremely soft shadow */
    padding: 2rem;
    margin-bottom: 2rem;
}

.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    /* Space between rows if we want card style rows */
}

.table thead th {
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    padding: 1rem;
}

.table tbody tr {
    background-color: white;
    transition: transform 0.1s ease;
}

.table td {
    border: none;
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.95rem;
}

/* Values & Pills */
.stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    /* Wider pill */
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 3rem;
}

.stat-pill.high {
    background-color: #E6F4EA;
    /* Very light green */
    color: var(--color-green-deep);
}

.stat-pill.med {
    background-color: #F3F4F6;
    color: var(--color-text-secondary);
}

.stat-pill.low {
    background-color: #FFF1F0;
    color: #C04D4D;
}

/* Hide capacity count unless needed for debugging */
.capacity-count {
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-left: 5px;
}

.trend-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    /* Fixed width for alignment */
    height: 2.5rem;
    /* Square-ish/Circle */
    border-radius: 8px;
    /* Soft square */
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    /* Default text white for contrast on colors */
}

/* Colors matching the theme but slightly more saturated for readability on small elements */
.trend-pill.high {
    background-color: var(--color-green-soft);
    color: #3a764a;
}

.trend-pill.med {
    background-color: #E5E7EB;
    color: var(--color-text-secondary);
}

.trend-pill.low {
    background-color: var(--color-brick-muted);
    color: #5C2B2B;
}

/* Grid layout fix for checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
}