/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Clean black and white palette */
    --primary-black: #000000;
    --primary-gray: #1F2937;
    --secondary-gray: #374151;
    --light-gray: #F9FAFB;
    --medium-gray: #E5E7EB;
    --text-dark: #111827;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-light: #D1D5DB;
    --shadow: rgba(0, 0, 0, 0.1);
    --accent-orange: #FF7A18; /* Highlight color for testing */
    --accent-orange-dark: #E65E00;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Crimson Text', serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 24px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    /* Prevent horizontal scrolling and improve mobile experience */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    /* Prevent horizontal overflow on mobile */
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* Ensure header stays in viewport */
    left: 0;
    right: 0;
    overflow-x: hidden;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 80px;
    width: auto; /* Let the logo maintain its aspect ratio */
    max-width: 300px; /* Set a maximum width if needed */
    object-fit: contain; /* Show the full logo without cropping */
    object-position: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-black);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-black);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: none;
    width: 100%;
    text-align: center;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    will-change: opacity, transform;
}

.hero-logo {
    height: min(60vh, 420px);
    width: auto;
    max-width: 90vw;
    display: block;
    margin: 0 auto;
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: none;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(46, 42, 38, 0.6);
    opacity: 0;
    animation: fadeInSoft 0.8s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeInSoft {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero::before {
        content: '';
        position: absolute;
        inset: -20%;
        background: radial-gradient(circle at center, #ffffff 0%, #f9f7f2 55%, #ffffff 100%);
        opacity: 0.9;
        animation: breatheGlow 12s ease-in-out infinite;
        pointer-events: none;
    }

    .hero-logo {
        height: auto;
        width: min(92vw, 360px);
        max-height: 40vh;
    }

    .hero-content {
        margin-top: -5vh;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        padding: 6px;
    }

    .hamburger-line {
        height: 1.5px;
    }

    .scroll-indicator {
        display: block;
    }
}

@keyframes breatheGlow {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
        will-change: auto;
    }
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .hero-tagline {
    font-size: 0.95rem;
    letter-spacing: 0.35rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.hero-content .hero-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.measured-breath-philosophy {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.measured-breath-philosophy h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
    text-align: center;
}

.measured-breath-philosophy p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: left;
}

.measured-breath-philosophy p:last-child {
    margin-bottom: 0;
}

.measured-breath-philosophy em {
    font-weight: 600;
    color: var(--primary-black);
    font-style: normal;
}

.cta-button {
    background: var(--primary-black);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: var(--primary-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}


/* Login Link Styling */
.login-link {
    background: var(--primary-black) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

.login-link:hover {
    background: var(--primary-gray) !important;
    transform: translateY(-1px) !important;
}

.login-link::after {
    display: none !important;
}

.admin-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
}

.admin-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    width: 18px;
    height: 2px;
    background-color: var(--primary-black);
    margin: 1.5px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu Dropdown */
.mobile-menu-overlay {
    position: fixed;
    top: 70px;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: 300px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    padding: 1.5rem;
    position: relative;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-black);
}

.mobile-login-link {
    background: var(--primary-black) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 20px !important;
    text-align: center !important;
    border: none !important;
    margin-top: 0.5rem !important;
    font-size: 0.9rem !important;
}

.mobile-login-link:hover {
    background: var(--primary-gray) !important;
    color: var(--white) !important;
}

/* Sections */
.schedule-section,
.classes-section,
.bookings-section,
.contact-section,
.about-section,
.faqs-section {
    padding: var(--section-padding);
    background: var(--light-gray);
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

/* Schedule section is now visible by default */

.schedule-section.animate,
.classes-section.animate,
.bookings-section.animate,
.contact-section.animate,
.about-section.animate,
.faqs-section.animate {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.schedule-section h2,
.classes-section h2,
.bookings-section h2,
.contact-section h2,
.about-section h2,
.faqs-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
    letter-spacing: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Schedule Section */
.schedule-controls {
    margin-bottom: 2rem;
}

.week-calendar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .week-calendar {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
}

.week-arrow {
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.week-arrow:hover {
    background: var(--light-gray);
    color: var(--white);
    transform: scale(1.1);
}

.week-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.current-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.week-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.week-days {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .week-days {
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-direction: row;
    }
}

.week-days::-webkit-scrollbar {
    display: none;
}


.day-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.8rem;
    flex: 1;
    min-width: calc(100% / 7);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* Ensure day items default to the site text color so deselection restores visibility */
    color: var(--text-dark) !important;
}

@media (max-width: 768px) {
    .day-item {
        min-width: 70px;
        flex-shrink: 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
}

.day-item:hover {
    background: var(--white);
}

.day-item.selected {
    background: var(--primary-black) !important;
    color: var(--white) !important;
}

.day-item.today {
    background: var(--secondary-lavender);
    /* Use dark text on the 'today' pill when not selected so it remains readable
       against the lighter lavender background. When selected, the `.selected`
       rule (above) forces white text. */
    color: var(--text-dark) !important;
}

.day-item.selected.today {
    background: var(--primary-gray) !important;
}

/* Ensure selected state formats the name and number independently:
   - Number should be white for contrast on dark background
   - Day-name (e.g. "MON") should use the lighter grey to match other headings
   These rules cover regular selected days and the case where the day is also 'today'. */
.day-item.selected .day-number,
.day-item.selected.today .day-number {
    color: var(--white) !important;
}

.day-item.selected .day-name,
.day-item.selected.today .day-name {
    color: var(--text-light) !important;
}

.day-item.past {
    opacity: 0.4;
    color: var(--text-light);
    cursor: not-allowed;
}

.day-item.past:hover {
    background: transparent;
    transform: none;
}

.day-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    opacity: 0.8;
    color: inherit; /* follow .day-item color so selected/deselected states behave consistently */
}

.day-number {
    font-size: 1.4rem;
    font-weight: 600;
    color: inherit; /* ensure number follows the parent color */
}

.day-item.has-classes::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.6;
}

.schedule-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(143, 176, 105, 0.1);
}

/* Clickable Class Names - Desktop */
.checkbox-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.class-item {
    padding: 0.5rem 0.75rem;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.class-item:hover {
    background: var(--medium-gray);
    border-color: var(--primary-black);
}

.class-item.selected {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

.class-item.selected:hover {
    background: var(--primary-gray);
}


.filter-select:hover {
    border-color: var(--border-light);
}

.schedule-list {
    display: grid;
    gap: 1rem;
}

.schedule-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.schedule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-black), var(--primary-gray));
}

.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
    border-color: var(--border-light);
}

.schedule-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.schedule-item-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.schedule-item-level {
    display: none;
}

.schedule-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.schedule-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.schedule-detail-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 80px;
}

.schedule-item-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.schedule-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.schedule-availability {
    font-size: 0.9rem;
    font-weight: 500;
}

.schedule-availability.low {
    color: #E74C3C;
}

.schedule-availability.medium {
    color: #F39C12;
}

.schedule-availability.high {
    color: var(--primary-black);
}

.schedule-item.past {
    opacity: 0.6;
    background: var(--border-light);
}

.schedule-item.past .schedule-item-title {
    color: var(--text-light);
}

.schedule-item.past:hover {
    transform: none;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.class-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-black), var(--primary-gray));
}

.classes-section,
.schedule-section,
.bookings-section,
.contact-section,
.about-section,
.faqs-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f3f0 100%);
}

.offerings-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.offerings-tab {
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: var(--text-dark);
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.offerings-tab.is-active {
    background: var(--primary-black);
    color: #ffffff;
    border-color: var(--primary-black);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.offerings-tab:focus-visible {
    outline: 3px solid rgba(0, 0, 0, 0.3);
    outline-offset: 3px;
}

.offerings-panel {
    margin-top: 2.5rem;
}

.offerings-subsection {
    margin-top: 2.5rem;
}

.offerings-subsection h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.offerings-note {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.offerings-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.offerings-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.offerings-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-list {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.25rem;
}

.faqs-section {
    padding: var(--section-padding);
}

.faqs-section h2 {
    margin-top: 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary-black);
    outline-offset: 3px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background-color: rgba(0, 0, 0, 0.04);
}

.faq-panel {
    padding: 0 2rem 1.6rem 2rem;
}

.faq-panel p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.about-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.about-photo {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e9e1d8 0%, #f8f5f0 100%);
    margin-bottom: 1.2rem;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.about-role {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.about-bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-photo {
        height: 150px;
    }
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    position: relative;
}

.duration-badge {
    background: var(--primary-black);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.class-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.instructor-name {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.class-level {
    display: none;
}

.class-description {
    color: var(--text-light);
    margin: 0.75rem 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.class-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.class-detail {
    display: flex;
    flex-direction: column;
}

.class-detail.price-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-weight: 500;
    color: var(--text-dark);
}

.class-price {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1.1rem;
}

.class-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.when-section .detail-value {
    font-size: 0.9rem;
    line-height: 1.3;
}

.btn-primary, .btn-secondary, .btn-danger {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: var(--primary-black);
    color: var(--white);
}

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

.btn-primary:disabled {
    background: var(--medium-gray);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-black);
}

.btn-secondary:hover {
    border-color: var(--primary-gray);
    color: var(--primary-gray);
}

.btn-danger {
    background: #E74C3C;
    color: var(--white);
}

.btn-danger:hover {
    background: #C0392B;
    transform: translateY(-1px);
}

/* Bookings */
.bookings-container {
    min-height: 300px;
}

.bookings-list {
    display: none;
}

.bookings-list.has-bookings {
    display: block;
}

.booking-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.booking-details {
    color: var(--text-light);
    font-size: 0.9rem;
}

.no-bookings {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-bookings .cta-button {
    margin-top: 1.25rem;
}

/* Contact Section */
.contact-section {
    background: #f9f7f2;
    color: #2e2a26;
    text-align: center;
}

.contact-section h2,
.contact-section h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.contact-section p,
.contact-section a,
.contact-section span,
.contact-section strong {
    font-family: var(--font-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.contact-info h3,
.hours h3 {
    color: #2f2a24;
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.contact-info p {
    color: #4a4540;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

.contact-details,
.hours-list {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    justify-items: center;
    width: min(900px, 100%);
}

.contact-item,
.hour-item {
    padding: 0.95rem 1.5rem;
    background: #fffaf2;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #3c3630;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: center;
    width: 100%;
    height: 150px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-address {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.4;
}

.contact-item:hover,
.hour-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.05);
}

.contact-item strong,
.hour-item strong {
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 500;
    color: #888;
}

.contact-item-full {
    grid-column: 1 / -1;
}

.contact-item a {
    color: #3c3630;
    text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 85vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-black);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Quick Booking Modal */
.booking-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.user-info h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.user-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.user-detail:last-child {
    border-bottom: none;
}

.user-detail-label {
    font-weight: 500;
    color: var(--text-dark);
}

.user-detail-value {
    color: var(--text-light);
}

/* Payment Modal */
.payment-modal {
    max-width: 600px;
}

.payment-modal .modal-content {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
}

.payment-modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

.payment-modal .modal-content::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.payment-modal .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-black);
    border-radius: 4px;
}

.payment-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gray);
}

.pricing-breakdown {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.price-item:last-child {
    border-bottom: none;
}

.total-row {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-top: 2px solid var(--primary-black);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.discount-row {
    color: var(--primary-black);
    font-weight: 500;
}

.coupon-row {
    color: var(--primary-black);
    font-weight: 500;
    position: relative;
}

.remove-coupon-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.remove-coupon-btn:hover {
    color: var(--primary-black);
}

/* Coupon Section */
.coupon-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.coupon-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    align-items: stretch;
}

.coupon-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    min-height: 48px;
    box-sizing: border-box;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(139, 90, 159, 0.1);
}

.coupon-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.coupon-message.success {
    color: #27ae60;
}

.coupon-message.error {
    color: #e74c3c;
}

.coupon-message.info {
    color: var(--primary-black);
}



.payment-methods h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.payment-option:hover {
    border-color: var(--primary-black);
    background: var(--white);
}

.payment-option.selected {
    border-color: var(--primary-black);
    background: var(--primary-black);
    color: var(--white);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix mobile navigation */
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        min-height: 60px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .nav-brand .logo {
        height: 52px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
    }
    
    /* Ensure no horizontal overflow on mobile */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
        box-sizing: border-box;
    }
    
    /* Fix hero section spacing */
    .hero {
        margin-top: 80px;
        padding-top: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 0.25rem;
    }
    
    .hero-content .hero-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .measured-breath-philosophy {
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .measured-breath-philosophy h3 {
        font-size: 1.3rem;
    }
    
    .measured-breath-philosophy p {
        font-size: 0.95rem;
    }
    
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .class-details {
        grid-template-columns: 1fr;
    }
    
    .class-actions {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .coupon-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .coupon-btn {
        width: 100%;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .payment-modal .modal-content {
        padding: 1.5rem;
        margin: 2% auto;
    }
    
    .booking-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .week-calendar {
        padding: 1rem;
        gap: 0;
        justify-content: center;
        overflow: hidden;
    }
    
    .week-days {
        gap: 0;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }
    
    .week-days::-webkit-scrollbar {
        display: none;
    }
    
    .day-item {
        flex: 1;
        min-width: calc(100% / 7);
        padding: 0.8rem 0.3rem;
    }
    
    .day-name {
        font-size: 0.7rem;
    }
    
    .day-number {
        font-size: 1.2rem;
    }
    
    .schedule-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .schedule-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .schedule-item-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .schedule-item-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Additional mobile improvements */
    .section-padding {
        padding: 3rem 1rem;
    }
    
    .schedule-section, .classes-section, .bookings-section, .contact-section {
        padding: 3rem 1rem;
    }
    
    .classes-grid {
        gap: 1.5rem;
    }
    
    .class-card {
        padding: 1.5rem;
    }
    
    .btn-primary, .btn-secondary, .btn-danger {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    min-height: 44px; /* Better touch target */
    border-radius: 8px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 400px;
        padding: 1.5rem;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
        font-size: 16px;
    }
    
    /* Better touch targets */
    .day-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .week-arrow {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent mobile scrolling issues */
    html, body {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    /* Fix for iOS Safari */
    .header {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Better mobile spacing */
    .container {
        padding: 0 1rem;
    }
    
    /* Improve mobile performance */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */

.admin-dashboard {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 10000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.admin-dashboard.active {
    display: flex;
}

.admin-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--bg-light);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.admin-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.admin-close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.admin-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--bg-light);
    background: var(--bg-white);
    padding: 0;
}

.admin-tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.admin-tab-btn:hover {
    background: var(--bg-light);
    color: var(--primary-purple);
}

.admin-tab-btn.active {
    color: var(--primary-purple);
    border-bottom-color: var(--primary-purple);
}

.admin-tab-content {
    display: none;
    padding: 2rem;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.admin-tab-content h3 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-tab-content h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 1px solid var(--bg-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.admin-table thead {
    background: var(--bg-light);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-purple);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-dark);
}

.admin-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.payment-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-badge.stripe {
    background: #6366f1;
    color: white;
}

.payment-badge.demo {
    background: #10b981;
    color: white;
}

.payment-badge.card {
    background: #f59e0b;
    color: white;
}

.payment-badge.unknown {
    background: #6b7280;
    color: white;
}

.admin-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.admin-chart {
    margin: 1rem 0;
}

.admin-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.admin-chart-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--bg-light);
}

.admin-chart-bar {
    width: 30px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-chart-item:hover .admin-chart-bar {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.admin-chart-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.admin-chart-value {
    font-size: 0.9rem;
    color: var(--text-light);
}

.admin-chart-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-chart-row {
    display: grid;
    grid-template-columns: 200px 1fr 150px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--bg-light);
}

.admin-chart-name {
    font-weight: 600;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-chart-bar-container {
    height: 30px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.admin-chart-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.admin-chart-count {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .admin-container {
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .admin-header {
        padding: 1.5rem;
    }
    
    .admin-header h2 {
        font-size: 1.3rem;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .admin-tab-btn {
        flex: 1;
        min-width: 150px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .admin-tab-content {
        padding: 1.5rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem;
    }
    
    .admin-chart-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-chart-row {
        grid-template-columns: 120px 1fr 80px;
        gap: 0.5rem;
    }
}
