﻿/* Up To You - Web Design Styles */

:root {
    /* --- ULTRA-MINIMALIST PREMIUM (Dark Mode) --- */

    /* Backgrounds */
    --color-bg: #050505;
    /* Deepest Black */
    --color-bg-secondary: #0a0a0a;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    /* Glass Effect Base */
    --color-bg-input: rgba(255, 255, 255, 0.05);
    --color-bg-hover: rgba(255, 255, 255, 0.08);

    /* Text */
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-inverse: #000000;

    /* Accents - MONOCHROME / GLASS */
    --color-accent: #ffffff;
    /* Pure White for contrast */
    --color-border: rgba(255, 255, 255, 0.12);
    /* Subtle crisp borders */

    /* Status - Desaturated/Classy */
    --color-success: #bfdbfe;
    /* Very pale blue/white */
    --color-warning: #fef08a;
    /* Pale yellow */
    --color-danger: #fca5a5;
    /* Pale red */

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* UI Finishes */
    --radius-sm: 4px;
    /* Sharper corners for modern look */
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 30px rgba(0, 0, 0, 0.5);
    /* Deep clear shadows */
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.1);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Elegant easing */
    --backdrop-blur: blur(12px);
}

/* Nav Arrow Buttons */
.nav-arrow-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow-btn:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
}

/* Intro Overlay Styles */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: #000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: opacity 1s ease;
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/img/intro_exterior.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    transform-origin: center center;
    animation: cameraMove 3.5s ease-out forwards;
}

.intro-logo {
    position: relative;
    z-index: 2;
    font-size: 5vw;
    font-weight: 700;
    letter-spacing: 0.5em;
    color: #fff;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInLogo 1.5s ease-out 1s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.intro-logo span {
    color: #fff;
    font-weight: 300;
}

@keyframes cameraMove {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.25);
    }
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Reset & Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

/* Typography Reset */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    /* Ensure headings are dark */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    /* Softer reading text */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Tighter container for text focus */

/* Buttons - Premium */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-outline:hover {
    border-color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

.section-title p {
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* Header - Premium Dark Glass */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    /* Solid Black Glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Lang Switcher */
.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 0.8rem;
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-text);
}


.calendar-day.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hamburger styles kept for mobile (omitted here for brevity, assumed existing or handled separately if needed) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 1px;
    margin: 6px auto;
    background-color: #fff;
    transition: var(--transition);
}

/* Hero */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../assets/img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 5vw;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    /* Improved contrast */
    opacity: 0;
    animation: fadeUp 1.5s ease-out forwards 0.5s;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeUp 1.5s ease-out forwards 1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Keep compat */

/* Sections General */
section {
    padding: 10rem 0;
}

/* Generous Whitespace */

/* About Section */
#about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    border-radius: 0;
    overflow: hidden;
    filter: grayscale(100%);
    /* B&W Style */
    transition: var(--transition);
}

.about-img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}


/* Services Grids */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Gallery */
#gallery {
    padding: 6rem 0;
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    filter: none;
    /* No grayscale in light theme */
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Testimonials */
#testimonials {
    padding: 6rem 0;
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg-card);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.client-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
}

/* Contact & Booking Wizard */
#contact {
    padding: 6rem 0;
    background: var(--color-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 2rem;
    color: var(--color-text-muted);
}

.contact-item h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Custom Booking Wizard Styles */
.booking-wizard {
    padding: 2.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--color-text);
    /* Ensure contrast */
}

.booking-wizard input,
.booking-wizard select,
.booking-wizard textarea {
    color: var(--color-text) !important;
}

.booking-wizard input::placeholder {
    color: var(--color-text-muted);
}



.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.step-indicator {
    width: 35px;
    height: 35px;
    background: #222;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #666;
    z-index: 2;
    transition: var(--transition);
    font-size: 0.9rem;
}

.step-indicator.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Admin Main Area */
.admin-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--bg);
    width: 100%;
}

.view-section {
    display: none;
    animation: fadeIn 0.3s ease;
    width: 100%;
    margin: 0;
    padding: 0;
}

.view-section.active {
    display: block;
}

/* ========================================
   DROPDOWN MENU STYLES
   ======================================== */
.dropdown-menu-container {
    position: relative;
    display: inline-block;
}

.btn-menu-dropdown {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-menu-dropdown:hover {
    background: var(--surface-light);
    border-color: var(--text-muted);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--surface);
    min-width: 260px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.menu-item {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1rem;
    transition: background 0.1s;
}

.menu-item:hover {
    background-color: var(--surface-light);
}

.menu-item.active {
    background-color: var(--accent);
    color: #000;
    font-weight: 700;
}

.menu-item.logout {
    color: #ef4444;
}

.menu-item.logout:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.menu-divider {
    height: 1px;
    background-color: var(--border);
    margin: 0.5rem 0;
}

.step-line {
    flex: 1;
    height: 1px;
    background: #333;
    margin: 0 10px;
}

.wizard-step {
    display: none;
    animation: fadeInSlide 0.5s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cat-tab {
    padding: 0.5rem 1.5rem;
    border: 1px solid #333;
    border-radius: 50px;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cat-tab.active,
.cat-tab:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Services List within Cards */
.service-list-text {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.service-list-text li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.service-list-text li:last-child {
    border-bottom: none;
}

.service-list-text strong {
    color: var(--color-text);
    font-weight: 500;
    margin-right: 0.5rem;
}

.price {
    display: block;
    margin-top: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Add/Remove Animations */
@keyframes serviceSelected {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.service-card.animating {
    animation: serviceSelected 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

@keyframes cartBounce {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    50% {
        transform: translateX(-50%) translateY(-10px) scale(1.05);
    }

    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.cart-bar.bounce {
    animation: cartBounce 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Refined Floating Cart Bar */
.cart-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    border-radius: 100px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.cart-bar.visible {
    transform: translateX(-50%) translateY(0);
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #000;
}

.cart-summary .count {
    background: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-summary .duration {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.cart-total-price {
    font-weight: 700;
    color: #000;
    font-size: 1.25rem;
}

.cart-bar .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Cart in Summary Step */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: #fff;
    /* Needs to fit in the white container of step 4? Wait, site is dark mainly but forms might be light? Checking existing styles.. */
}

/* Adjusting for Step 4 White Container if needed, or keeping dark theme consistency */
/* The wizard styles seem to use light background components in some places? */
/* Let's double check existing wizard-step background. It says var(--color-bg-card) which is usually dark? */
/* Wait, existing .confirmation-details uses background: #fff; in previous edits. */
/* Let's assume Step 4 is light or dark based on context. */
/* Based on .confirmation-box existing code (white/light), I will style for that. */

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #333;
    /* Assuming inside white box */
}

.cart-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #888;
}

.cart-table td.price-col {
    text-align: right;
    font-weight: 600;
}

.cart-table .btn-icon-remove {
    background: none;
    border: none;
    color: #c00;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 0.5rem;
}

.cart-totals-row td {
    border-top: 2px solid #ddd;
    border-bottom: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

/* Confirmation Screen */
.confirmation-screen {
    animation: fadeIn 0.5s ease-out;
}

.confirmation-details {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staff Card Selection */
.staff-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(61, 70, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.staff-card:hover .staff-avatar {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 600;
}

.staff-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Calendar - Premium Dark */
.datetime-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.calendar-wrapper {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.calendar-nav button {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-day {
    padding: 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: var(--transition);
    border-radius: 4px;
}

.calendar-day:hover:not(.empty) {
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

.calendar-day.selected {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.calendar-day.empty {
    opacity: 0.2;
    cursor: default;
}

.time-slots-wrapper h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.8rem;
}

.time-slot {
    padding: 0.6rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
    color: var(--color-text);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.time-slot.selected {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.time-slot:hover {
    border-color: var(--color-primary);
    background: rgba(61, 70, 255, 0.1);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    outline: none;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.confirmation-box {
    background: var(--color-bg-card);
    padding: 2rem;
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.8rem;
    color: var(--color-text);
}

.summary-item span {
    color: var(--color-text-muted);
}

.summary-item strong {
    color: var(--color-text);
    font-weight: 600;
}

/* --- RESPONSIVE POLISH --- */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }

    .container {
        padding: 0 3rem;
    }

    .about-grid,
    .contact-container {
        gap: 4rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }


    .container {
        padding: 0 1.5rem;
    }

    /* Typography */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Navigation - Fullscreen Overlay */
    .hamburger {
        display: block;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
        opacity: 0;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Grids - Stacked */
    .about-grid,
    .services-grid,
    .testimonials-grid,
    .contact-container,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Order change for About: Image first */
    .about-img {
        order: -1;
    }

    /* Wizard Mobile */
    .booking-wizard {
        padding: 1.5rem;
    }

    .wizard-progress {
        margin-bottom: 2rem;
    }

    .step-buttons {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .step-buttons button {
        width: 100%;
    }

    .datetime-container {
        flex-direction: column;
    }

    .calendar-grid {
        gap: 2px;
    }

    .calendar-day {
        padding: 0.5rem;
        height: 35px;
        width: 35px;
    }

    /* Intro Logo Scale */
    .intro-logo {
        font-size: 10vw;
    }
}

/* ADMIN PRO - DRAWER & AGENDA */
/* APPOINTMENT DETAIL MODAL (Simplified Vertical) */
.overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Lighter backdrop */
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    padding: 20px;
}

.overlay-modal.active {
    display: flex;
}

.appointment-detail-card {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    width: 100%;
}

.close-modal-inside {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    /* Soft close button */
    border: none;
    color: var(--color-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.close-modal-inside:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* VIEW VISIBILITY LOGIC */
.view-section {
    display: none !important;
    animation: fadeIn 0.3s ease-in-out;
}

.view-section.active {
    display: block !important;
}

.modal-client-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.modal-client-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
}

.modal-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-services-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.modal-service-row {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--color-bg-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.modal-service-row select {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
}

.modal-payment-section {
    background: #0a0a0a;
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-payment-actions {
    display: flex;
    gap: 10px;
}

.btn-print-action {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}

.total-summary-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--accent);
}

.total-summary-simple strong {
    font-size: 1.5rem;
    color: var(--accent);
}

.modal-footer-simple {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
}

.btn-link-danger {
    background: none;
    border: none;
    color: #ef4444;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-save-simple {
    background: var(--accent);
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save-simple:hover {
    background: #e5940a;
}

@media (max-width: 600px) {
    .appointment-detail-card {
        max-width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

.booking-card.paid::after {
    content: "âœ“";
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 10px;
    color: #22c55e;
}

.booking-card.holiday {
    background: #1a1a1a !important;
    border-left: 4px solid #555 !important;
    opacity: 0.7;
}

.holiday-text {
    color: #444;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.booking-card.closed {
    background: #111 !important;
    border-left: 4px solid #333 !important;
}

.booking-card.pause {
    background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #222 10px, #222 20px) !important;
    border-left: 4px solid #f59e0b !important;
}

.pausa-block {
    background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #222 10px, #222 20px) !important;
    border-left: 3px solid #f59e0b;
    opacity: 0.8;
}

.modal-vertical-stack .form-group label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: block;
}

.modal-vertical-stack select,
.modal-vertical-stack input[type="date"],
.modal-vertical-stack input[type="time"],
.modal-vertical-stack textarea {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    box-sizing: border-box;
}

.modal-vertical-stack textarea {
    resize: vertical;
}

.btn-save {
    background: #f59e0b !important;
    color: #000 !important;
    transition: transform 0.2s;
}

.btn-save:hover {
    transform: scale(1.02);
}

/* Non-working hours: Clean diagonal stripes */
.grid-closed-visual {
    background-color: #ffffff !important;
    background-image: repeating-linear-gradient(45deg,
            #ffffff,
            #ffffff 10px,
            #f9fafb 10px,
            /* Very light gray start */
            #f9fafb 11px
            /* 1px thin line */
        ) !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

/* HIGH CONTRAST MODALS */
.overlay-modal .modal-content,
.overlay-modal .modal-body {
    background: #ffffff !important;
    color: #111827 !important;
}

.overlay-modal h2,
.overlay-modal h3,
.overlay-modal label {
    color: #111827 !important;
    /* Force Dark Text */
}

.overlay-modal input,
.overlay-modal select,
.overlay-modal textarea {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #d1d5db !important;
}

.overlay-modal input::placeholder,
.overlay-modal textarea::placeholder {
    color: #9ca3af !important;
}

.modal-header h2,
.modal-header h3 {
    color: #ffffff !important;
    /* Header Keep White if on dark background, or adjust based on header bg */
}

/* Specific fix for modal headers if they differ */
.modal-header {
    color: #ffffff;
}

/* Ensure buttons are visible */
.btn-submit,
.btn-save,
.btn-save-simple {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* TPV & TICKET STYLES */
.tpv-container {
    padding: 1rem;
    height: calc(100vh - 180px);
}

.tpv-main {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 1.5rem;
    height: 100%;
}

.tpv-cart {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.tpv-cart-items {
    flex: 1;
    overflow-y: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
}

.tpv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.tpv-summary {
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.tpv-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.tpv-row.total {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.tpv-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-tpv-pay {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    color: #fff;
}

.btn-tpv-pay[data-method="cash"] {
    border-color: #22c55e;
    color: #22c55e;
}

.btn-tpv-pay[data-method="card"] {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tpv-services-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tpv-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    overflow-y: auto;
}

.tpv-service-card {
    background: var(--surface);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

.tpv-service-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tpv-service-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.tpv-service-card span {
    color: var(--accent);
    font-weight: 700;
}

/* TICKET VISIBILITY */
.thermal-ticket {
    display: none;
}

/* ========================================
   WAREHOUSE & STOCK MANAGEMENT STYLES
   ======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.product-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text);
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.product-sku {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.product-stock {
    margin: 1rem 0;
}

.stock-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stock-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stock-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.stock-value.ok {
    color: #10b981;
}

.stock-value.low {
    color: #ef4444;
}

.stock-bar {
    height: 8px;
    background: var(--surface-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stock-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.stock-fill.ok {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.stock-fill.low {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.stock-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-footer {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.product-prices {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-supplier {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.badge-alert {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.empty-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-size: 1.1rem;
}

.field-group {
    margin-bottom: 1rem;
}

.field-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(61, 70, 255, 0.1);
}

#stock-preview.success {
    color: #10b981;
    font-weight: 600;
}

#stock-preview.warning {
    color: #f59e0b;
    font-weight: 600;
}

#stock-preview.error {
    color: #ef4444;
    font-weight: 600;
}

/* ========================================
   LIGHT THEME VARIABLES (Phase 9)
   ======================================== */
:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-light: #fff7ed;
    /* Light orange tint */
    --border: #e5e7eb;
    --text: #1f2937;
    --text-muted: #6b7280;
    --accent: #e5940a;
    /* Reverted to Orange/Gold */
    --accent-hover: #d97706;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --header-height: 80px;
}

/* ========================================
   MINIMAL HEADER STYLES (Phase 8 - Flexbox)
   ======================================== */
.admin-header.minimal-header {
    background: var(--primary);
    border-bottom: 1px solid #333;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    /* Super high z-index */
    color: var(--text);
}



/* Left Section (Date) */
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: max-content;
}

.date-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.date-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.date-day-name {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-day-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.date-month {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Section (Controls) */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Digital Clock */
.digital-clock {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Vertical Divider */
.header-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border);
}

/* View Selector (Pill) */
.view-selector-dropdown {
    position: relative;
    z-index: 1002;
    /* Higher than header */
}

.btn-view-selector {
    background: white;
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.2s;
    min-width: 120px;
    justify-content: space-between;
}

.btn-view-selector:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Modern Shadow */
}

/* ============================
   MODERN NAV BUTTONS (Phase 10)
   ============================ */
.nav-btn-modern {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.nav-btn-modern:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    color: var(--accent);
    border-color: var(--accent);
}

.nav-btn-modern.pill {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 180px;
    /* Ensure space for date */
}

.nav-btn-modern.ghost {
    width: auto;
    padding: 0 1rem;
    border-radius: 50px;
    background: transparent;
    border: 1px dashed var(--border);
    box-shadow: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-btn-modern.ghost:hover {
    background: var(--surface-light);
    color: var(--text);
    border-style: solid;
}

.header-divider-vertical {
    width: 1px;
    height: 24px;
    background-color: var(--border);
    margin: 0 8px;
}

.view-toggles {
    display: flex;
    background: var(--surface-light);
    padding: 3px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.mode-btn-modern {
    background: transparent;
    border: none;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn-modern:hover {
    color: var(--text);
}

.mode-btn-modern.active {
    background: white;
    color: var(--accent);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-dropdown-content {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1003;
    padding: 0.5rem;
}

.view-dropdown-content.show {
    display: block;
}

.view-dropdown-content button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    color: var(--text);
}

.view-dropdown-content button:hover {
    background: var(--surface-light);
    color: var(--accent);
}

/* Icons Group */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
}

.icon-btn:hover {
    background: var(--surface-light);
    color: var(--text);
}

/* Hamburger Menu */
.dropdown-menu-container {
    position: relative;
    z-index: 1002;
}

.btn-menu-hamburger {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--accent);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.btn-menu-hamburger:hover {
    transform: scale(1.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 260px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    border-radius: 12px;
    z-index: 1003;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

/* ========================================
   REPORTS & ANALYTICS STYLES
   ======================================== */

.reports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reports-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.reports-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.reports-tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.reports-tab-btn.active {
    color: var(--accent);
}

.reports-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.badge-count {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
}

.date-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.date-selector-btn {
    padding: 0.6rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.date-selector-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.compare-selector {
    padding: 0.6rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
}

.kpi-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.kpi-card h3 {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.kpi-visual {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.kpi-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.kpi-breakdown {
    margin-top: 1rem;
}

.kpi-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.kpi-bar {
    flex: 1;
    height: 6px;
    background: var(--surface-light);
    border-radius: 3px;
    overflow: hidden;
}

.kpi-bar-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s;
}

.kpi-bar-fill.offline {
    background: #6b7280;
}

.service-breakdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.service-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.service-item .count {
    font-weight: 700;
    color: var(--accent);
}

.reports-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    min-height: 200px;
}

.appointments-table {
    overflow-x: auto;
}

.appointments-table table {
    width: 100%;
    border-collapse: collapse;
}

.appointments-table th,
.appointments-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.appointments-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.confirmed {
    background: #10b981;
    color: white;
}

.status-badge.pending {
    background: #f59e0b;
    color: white;
}

.status-badge.cancelled {
    background: #ef4444;
    color: white;
}

/* Radio buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.radio-label:hover {
    background: var(--surface-light);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========================================
   MANAGER DASHBOARD STYLES
   ======================================== */

.manager-layout {
    display: flex;
    gap: 2rem;
    height: calc(100vh - 140px);
    /* Adjusted for header */
    width: 100%;
}

.manager-sidebar {
    width: 260px;
    /* Slightly narrower to give more space to content */
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    flex-shrink: 0;
    overflow-y: auto;
}

.manager-main {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    /* Space for scrollbar */
}

.reports-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    min-height: 200px;
    width: 100%;
    /* Full width */
}

.kpi-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Wider cards */
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    /* Much wider breakdown */
    gap: 2rem;
    margin-bottom: 2rem;
}

.manager-report h2 {
    margin: 0 0 2rem 0;
    font-size: 1.5rem;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.report-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.report-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.report-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.report-card canvas {
    max-height: 300px;
}

.report-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-icon {
    font-size: 2.5rem;
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.report-table {
    width: 100%;
    border-collapse: collapse;
}

.report-table th,
.report-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.report-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: var(--surface-light);
}

.report-table tr:hover {
    background: var(--surface-light);
}

.report-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-text {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
    padding: 3rem;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.error-msg {
    text-align: center;
    padding: 3rem;
    color: #ef4444;
    font-size: 1.1rem;
}

.badge.success {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.badge.danger {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* PRINT TICKET STYLES (Professional Spanish Simplified Invoice) */
@media print {
    @page {
        margin: 0;
    }

    body * {
        visibility: hidden !important;
    }

    #printable-ticket,
    #printable-ticket * {
        visibility: visible !important;
    }

    #printable-ticket {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        padding: 8mm 4mm;
        background: #fff;
        color: #000 !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        display: block !important;
        box-sizing: border-box;
        line-height: 1.2;
    }

    #printable-ticket p,
    #printable-ticket span,
    #printable-ticket td,
    #printable-ticket th {
        color: #000 !important;
    }

    .ticket-container {
        width: 100%;
    }

    /* Ticket Inside Modal (Dark Context) */
    .ticket-wrap {
        background: #fff;
        /* Keep ticket white for realism/print perception */
        color: #000;
        padding: 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 80mm;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        font-family: 'Courier New', Courier, monospace;
        /* Receipt font */
    }

    .ticket-header {
        text-align: center;
        margin-bottom: 5mm;
    }

    .biz-logo {
        font-size: 14pt;
        font-weight: 900;
        margin: 0 0 1mm 0;
        text-transform: uppercase;
        color: #000;
    }

    .biz-type {
        font-size: 10pt;
        margin: 1mm 0;
    }

    .biz-info p {
        font-size: 9pt;
        margin: 0;
        color: #000;
    }

    .ticket-meta {
        font-size: 9pt;
        margin-bottom: 3mm;
        border-top: 1pt dashed #000;
        padding-top: 2mm;
        color: #000;
    }

    .meta-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1mm;
    }

    .ticket-divider {
        border-top: 1pt dashed #000;
        margin: 3mm 0;
    }

    .ticket-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 9pt;
        color: #000;
    }

    .ticket-table th {
        text-align: left;
        font-size: 10pt;
        border-bottom: 1px solid #000;
        padding-bottom: 2mm;
        text-transform: uppercase;
        color: #000;
    }

    .ticket-table td {
        padding: 1mm 0;
        vertical-align: top;
        color: #000;
    }

    .text-right {
        text-align: right;
    }

    .ticket-totals {
        margin-top: 2mm;
        color: #000;
    }

    .total-row {
        display: flex;
        justify-content: space-between;
    }

    .main-total {
        font-size: 12pt;
        font-weight: bold;
        margin: 2mm 0;
        color: #000;
    }

    .payment-note {
        margin-top: 5mm;
        text-align: center;
        border: 1pt solid #000;
        padding: 2mm;
        color: #000;
    }

    .ticket-footer {
        text-align: center;
        border-top: 1px solid #000;
        margin-top: 5mm;
        padding-top: 3mm;
        font-size: 9pt;
        color: #000;
    }

    .thanks {
        font-weight: bold;
        text-transform: uppercase;
    }

    .web {
        margin-top: 1mm;
        font-style: italic;
    }
}

/* ========================================
   MANAGER PHASE 6.1: EXCEL UI STYLES (PREMIUM DARK)
   ======================================== */
.excel-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.excel-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    /* Concepto | Sys | Real | Diff */
    border-bottom: 1px solid var(--color-border);
}

.excel-row span,
.excel-row input {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    color: var(--color-text);
}

.excel-row.header {
    background: var(--color-bg-secondary);
    font-weight: 700;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.excel-input {
    border: 1px solid var(--color-border);
    background: var(--color-bg-input);
    color: var(--color-text);
    width: 100%;
    margin: 2px;
    padding: 4px 8px !important;
    text-align: right;
    font-weight: 600;
    border-radius: 4px;
}

.excel-input:focus {
    border-color: var(--color-primary);
    background: var(--color-bg-secondary);
    box-shadow: 0 0 0 2px var(--color-primary-glow);
}

.excel-row.total {
    background: rgba(61, 70, 255, 0.1);
    border-top: 1px solid var(--color-primary);
    font-weight: 700;
    color: var(--color-primary);
}

.diff-val {
    justify-content: flex-end;
    font-variant-numeric: tabular-nums;
}

/* Excel Style Table */
.excel-wrapper {
    overflow-y: auto;
    max-height: 400px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-main);
    font-size: 0.85rem;
}

.excel-table th {
    background: var(--color-bg-secondary);
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    font-weight: 700;
    color: var(--color-text-muted);
    position: sticky;
    top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.excel-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    color: var(--color-text);
}

.excel-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.excel-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-micro {
    padding: 2px 8px;
    font-size: 0.75rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
    color: var(--color-text);
    border-radius: 4px;
    cursor: pointer;
}

.btn-micro:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Data Card */
.data-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.data-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========================================
   MARKETING PHASE 7: PROMO FLASH
   ======================================== */
.promo-flash-banner {
    background: linear-gradient(90deg, #ff4b1f, #ff9068);
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 75, 31, 0.3);
    animation: pulse-promo 2s infinite;
}

@keyframes pulse-promo {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.price-tag.promo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.new-price {
    color: #ff4b1f;
    /* Orange/Red for offer */
    font-weight: bold;
    font-size: 1.1em;
}

.discount-badge {
    background: #ff4b1f;
    color: white;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: bold;
}

/* ========================================
   MANAGER PHASE 8: V2 REPORT STYLES
   ======================================== */
.manager-report-v2 {
    font-family: 'DM Sans', sans-serif;
    /* Cleaner font if available, fallback ok */
    color: #1f2937;
}

.report-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.report-header-v2 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #111;
}

.breadcrumb {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Filters Bar */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.field-date {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Clean Table */
.clean-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.clean-table thead {
    background: #fff;
    border-bottom: 2px solid #e5e7eb;
}

.clean-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.clean-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.clean-table tbody tr:hover {
    background: #f9fafb;
}

.clean-table td {
    padding: 15px;
    color: #374151;
    vertical-align: middle;
}

/* Status Badges */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.text-green {
    color: #059669;
}

.text-red {
    color: #dc2626;
}

.text-blue {
    color: #2563eb;
}

/* Actions */
.btn-primary {
    background: #111;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

.btn-back {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.btn-back:hover {
    color: #111;
    text-decoration: underline;
}

.total-row {
    font-weight: bold;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
}

/* ========================================
   BOOKING WIZARD STYLES (PREMIUM REDESIGN)
   ======================================== */
.booking-section {
    padding: 4rem 1.5rem;
    background: #000;
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.wizard-step.active {
    display: block;
}

/* Progress Indicators */
.step-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

.step-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s;
    position: relative;
}

.step-indicator.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.step-indicator.completed {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Category Selection */
.category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px;
    margin-bottom: 2rem;
    justify-content: center;
    scrollbar-width: none;
}

.cat-tab {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cat-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cat-tab.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 700;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.staff-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.staff-card.selected {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.staff-card.selected h4,
.staff-card.selected p {
    color: #000;
}

.staff-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-card:hover .staff-avatar,
.staff-card.selected .staff-avatar {
    filter: grayscale(0%);
    transform: scale(1.05);
    border-color: #fff;
}

/* Calendar & Time Slots */
.calendar-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    color: #666;
}

.calendar-day:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.calendar-day.selected {
    background: #fff;
    color: #000 !important;
    font-weight: 700;
}

.calendar-day.disabled {
    opacity: 0.1;
    cursor: not-allowed;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 3rem;
}

.time-slot {
    padding: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    color: #fff;
    font-size: 0.95rem;
}

.time-slot:hover:not(.disabled) {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.time-slot.selected {
    background: #fff;
    color: #000;
    font-weight: 700;
}

/* Confirmation / Summary */
.confirmation-box {
    background: #fff;
    color: #000;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.confirmation-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #eee;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #999;
}

.cart-table td {
    padding: 2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}

.cart-total-row {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: right;
    padding-top: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 14px;
    border: 1px solid #eee;
    background: #fcfcfc;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #000;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    outline: none;
}

/* Global Navigation Buttons in Wizard */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.btn-back-wizard {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.btn-back-wizard:hover {
    color: #fff;
}

/* Base fadeInUp Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ========================================
   REFINED BOOKING WIZARD & SERVICES (V4.1)
   ======================================== */

#services {
    padding: 8rem 0 5rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

#services .section-title h2 {
    color: var(--color-text);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease both;
}

#services .section-title p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    letter-spacing: 2px;
    max-width: 650px;
    margin: 0 auto 4rem;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

/* Static Category Card (Premium Dark Theme) */
.category-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--backdrop-blur);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
    color: var(--color-text);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    display: flex;
    flex-direction: column;
    position: relative;
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    transition: all 0.6s;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-glow), 0 30px 70px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-card:hover::after {
    width: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
}

.category-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text);
    padding-bottom: 1.5rem;
    position: relative;
}

.category-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

.service-list-text li {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: var(--color-text-muted);
}

.service-list-text li:hover {
    color: var(--color-text);
    padding-left: 12px;
}

.service-list-text li:last-child {
    border-bottom: none;
}

.service-list-text strong {
    font-weight: 500;
    color: var(--color-text);
}

.service-list-text span {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
}

/* Booking Wizard List */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

/* Selection Card (Wizard) */
.service-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 1.8rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    position: relative;
    min-height: auto !important;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-5px);
}

.service-card.selected {
    background: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.service-card.selected .service-title,
.service-card.selected .service-description,
.service-card.selected .service-duration-label,
.service-card.selected .price-tag {
    color: #000 !important;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-duration-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.selection-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.service-card.selected .selection-indicator {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered entry */
.category-card:nth-child(1) {
    animation-delay: 0.0s;
}

.category-card:nth-child(2) {
    animation-delay: 0.1s;
}

.category-card:nth-child(3) {
    animation-delay: 0.2s;
}

.category-card:nth-child(4) {
    animation-delay: 0.3s;
}

.category-card:nth-child(5) {
    animation-delay: 0.4s;
}

.category-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #services {
        padding: 4rem 1rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-title {
        font-size: 1.1rem;
    }
}

/* --- REFINED GRID VISUALS & ARROWS --- */
/* Non-working hours: Clean diagonal stripes (Refined) */
.grid-closed-visual {
    background-color: #ffffff !important;
    background-image: repeating-linear-gradient(45deg, #ffffff, #ffffff 10px, #f9fafb 10px, #f9fafb 11px) !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

/* Nav Arrow Buttons */
/* Nav Arrow Buttons - Premium Circle Style */
.nav-arrow-btn {
    background: rgba(255, 255, 255, 0.5);
    /* Subtle glassy bg */
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    /* Fixed square for perfect circle */
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    /* Small spacing */
}

.nav-arrow-btn:hover {
    color: var(--text);
    background: #ffffff;
    border-color: var(--text-muted);
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-arrow-btn:active {
    transform: scale(0.95);
}