/* Saltwater-Inspired Serene Design System */
:root {
    --primary: #7a9cc6;
    --primary-dark: #5a7fa3;
    --primary-light: #a8c4e0;
    --secondary: #a8c4e0;
    --accent: #d4a574;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: #8a9ba8;
    --bg-primary: #fefefe;
    --bg-secondary: #fafafa;
    --bg-cream: #faf9f6;
    --bg-card: #ffffff;
    --bg-dark: #2c3e50;
    --border: #e8e8e8;
    --ocean-blue: #7a9cc6;
    --sand: #f5f3ed;
    --sea-glass: #b8d4d4;
    --gradient-1: linear-gradient(135deg, #b8d4d4 0%, #a8c4e0 100%);
    --gradient-2: linear-gradient(135deg, #d4e8e8 0%, #c4d8e8 100%);
    --gradient-3: linear-gradient(135deg, #e8f0f0 0%, #e0e8f0 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Dark Mode - Serene Night Theme */
[data-theme="dark"] {
    --primary: #8fa8d1;
    --primary-dark: #6b8bb8;
    --primary-light: #b4c8e5;
    --secondary: #b4c8e5;
    --accent: #d4a574;
    --text-primary: #e8edf3;
    --text-secondary: #b8c5d3;
    --text-light: #95a5b8;
    --bg-primary: #1a2332;
    --bg-secondary: #222d3f;
    --bg-cream: #253144;
    --bg-card: #222d3f;
    --bg-dark: #151b26;
    --border: #344558;
    --ocean-blue: #8fa8d1;
    --sand: #2d3644;
    --sea-glass: #5a7a8a;
    --gradient-1: linear-gradient(135deg, #5a7a8a 0%, #6b8bb8 100%);
    --gradient-2: linear-gradient(135deg, #4a6a7a 0%, #5a7fa3 100%);
    --gradient-3: linear-gradient(135deg, #3a5a6a 0%, #4a6f93 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 8px 20px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 300;
    letter-spacing: 0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 35, 50, 0.98);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .navbar .logo {
    color: var(--text-primary);
}

[data-theme="dark"] .logo-img {
    filter: brightness(1.1);
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu a.active {
    color: var(--ocean-blue);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background-color: var(--text-primary);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.9;
}

.logo-accent {
    color: var(--ocean-blue);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ocean-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sea-glass);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Navbar Button Overrides */
.nav-menu a.btn-primary,
.nav-menu a.btn-secondary {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    margin-left: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
    position: static;
}

.nav-menu a.btn-primary::after,
.nav-menu a.btn-secondary::after {
    display: none;
}

.nav-menu a.btn-primary:hover {
    transform: none;
}

.nav-menu .nav-link {
    text-transform: lowercase;
}

/* Dark Mode Toggle Button in Navbar */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin-left: 1rem;
}

.theme-toggle-btn:hover {
    background: var(--bg-cream);
    border-color: var(--ocean-blue);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    transition: stroke 0.3s ease;
}

.theme-toggle-btn:hover svg {
    stroke: var(--ocean-blue);
}

[data-theme="dark"] .theme-toggle-btn {
    border-color: var(--border);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--ocean-blue);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-xl);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin-top: 0.5rem;
    border: 1px solid var(--border);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .dropdown-menu a {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--ocean-blue);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--ocean-blue);
    color: white;
    box-shadow: var(--shadow-sm);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--ocean-blue);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--ocean-blue);
    border: 1px solid var(--ocean-blue);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-secondary:hover {
    background: var(--bg-cream);
    border-color: var(--ocean-blue);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 0.75rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg-cream);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/anonagon_33_A_cinematic_ultra-realistic_composition_depicting_a_f895038a-d797-4bea-b217-30a934864ec5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url('images/anonagon_33_A_cinematic_ultra-realistic_composition_depicting_a_f895038a-d797-4bea-b217-30a934864ec5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-cream);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    z-index: 0;
}

[data-theme="dark"] .gradient-overlay {
    background: rgba(26, 35, 50, 0.4);
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-1);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    opacity: 0.4;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-2);
    bottom: 10%;
    right: 10%;
    animation-delay: 7s;
    opacity: 0.3;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-3);
    top: 50%;
    right: 20%;
    animation-delay: 14s;
    opacity: 0.35;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content-wrapper {
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
    border-radius: 16px;
    z-index: -1;
    pointer-events: none;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(255, 255, 255, 0.05) 80%, transparent 100%);
    border-radius: 16px;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .hero-content {
    background: radial-gradient(ellipse at center, rgba(26, 35, 50, 0.8) 0%, rgba(26, 35, 50, 0.6) 40%, rgba(26, 35, 50, 0.4) 70%, transparent 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-content::before {
    background: radial-gradient(ellipse at center, rgba(26, 35, 50, 0.5) 0%, rgba(26, 35, 50, 0.3) 30%, rgba(26, 35, 50, 0.15) 60%, transparent 100%);
}

[data-theme="dark"] .hero-content::after {
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(26, 35, 50, 0.1) 80%, transparent 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    color: var(--text-primary);
    font-weight: 300;
}

.title-accent {
    display: block;
    color: var(--ocean-blue);
    font-weight: 300;
    font-size: 0.65em;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-subtitle {
    color: #1a1a1a;
    font-weight: 400;
}

[data-theme="dark"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-content .hero-subtitle {
    color: #e8e8e8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--ocean-blue);
    border-bottom: 2px solid var(--ocean-blue);
    transform: rotate(45deg);
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--bg-cream);
    color: var(--ocean-blue);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* About Preview */
.about-preview {
    background: var(--bg-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-glass);
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--ocean-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

[data-theme="dark"] .pillar-card {
    background: var(--bg-card);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-glass);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 50%;
    color: var(--ocean-blue);
    padding: 1.5rem;
    border: 1px solid var(--sea-glass);
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pillar-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .service-card {
    background: var(--bg-card);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sea-glass);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-glass);
}

.service-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--bg-secondary);
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-cream);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    background: white;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border);
}

[data-theme="dark"] .testimonial-card {
    background: var(--bg-card);
}

[data-theme="dark"] .faq-item {
    background: var(--bg-card);
}

[data-theme="dark"] .blog-card {
    background: var(--bg-card);
}

[data-theme="dark"] .contact-card {
    background: var(--bg-card);
}

[data-theme="dark"] .review-card-full {
    background: var(--bg-card);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-card);
}

[data-theme="dark"] .booking-form-section {
    background: var(--bg-card) !important;
    border-color: var(--border) !important;
}

[data-theme="dark"] .booking-form-section h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .user-info {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .profile-section,
[data-theme="dark"] .consent-form-card,
[data-theme="dark"] .auth-form,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .appointment-card,
[data-theme="dark"] .forms-status-card {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-card);
}

[data-theme="dark"] .admin-section,
[data-theme="dark"] .stat-card-admin,
[data-theme="dark"] .times-management-card {
    background: var(--bg-card);
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.testimonial-nav {
    background: var(--bg-cream);
    color: var(--ocean-blue);
    border: 1px solid var(--sea-glass);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
    transform: scale(1.05);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--ocean-blue);
    transform: scale(1.2);
}

/* FAQs Preview */
.faqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--sea-glass);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Blog Preview */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(184, 212, 212, 0.5) 0%, rgba(168, 196, 224, 0.5) 100%);
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-cream);
    color: var(--ocean-blue);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 0.75rem;
}

/* Booking CTA */
.booking-cta {
    background: var(--bg-cream);
    color: var(--text-primary);
    text-align: center;
}

.booking-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.booking-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
}

.booking-cta .btn-primary {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

.booking-cta .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--bg-cream);
    color: var(--text-primary);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-column a:hover {
    color: var(--ocean-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.social-links a:hover {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-weight: 300;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--ocean-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo-img {
        height: 40px;
        max-width: 150px;
    }

    /* Mobile menu backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    [data-theme="dark"] .mobile-menu-backdrop {
        background: rgba(0, 0, 0, 0.8);
    }

    /* Mobile dark mode toggle - always visible */
    .mobile-theme-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    /* Hide nav menu on mobile by default */
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 0 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        list-style: none;
        margin: 0;
        transform: translateX(0);
        animation: slideInLeft 0.3s ease;
    }

    @keyframes slideInLeft {
        from {
            transform: translateX(-100%);
        }
        to {
            transform: translateX(0);
        }
    }

    [data-theme="dark"] .nav-menu.active {
        background: var(--bg-card);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu.active a,
    .nav-menu.active .btn-primary,
    .nav-menu.active .btn-secondary {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-radius: 0;
        transition: background-color 0.2s ease;
        border: none;
        margin: 0;
        text-decoration: none;
    }

    .nav-menu.active a:hover,
    .nav-menu.active .btn-primary:hover,
    .nav-menu.active .btn-secondary:hover {
        background: var(--bg-cream);
    }

    [data-theme="dark"] .nav-menu.active a:hover,
    [data-theme="dark"] .nav-menu.active .btn-primary:hover,
    [data-theme="dark"] .nav-menu.active .btn-secondary:hover {
        background: var(--bg-secondary);
    }

    .nav-menu.active .theme-toggle-btn {
        width: calc(100% - 3rem);
        justify-content: center;
        margin: 1rem 1.5rem;
        border-radius: 8px;
    }

    .nav-menu.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0;
        background: transparent;
        border: none;
    }

    [data-theme="dark"] .nav-menu.active .dropdown-menu {
        background: transparent;
    }

    .nav-menu.active .dropdown-menu a {
        padding-left: 2.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-preview {
        order: -1;
        margin-bottom: 2rem;
    }

    .profile-image-preview {
        max-width: 100%;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 0.75rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .services-grid,
    .faqs-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-card {
        flex: 1 1 100%;
    }
}

/* Page Header */
.page-header {
    background: var(--bg-cream);
    color: var(--text-primary);
    padding: 10rem 0 6rem;
    margin-top: 70px;
    text-align: center;
}

.page-header-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.page-header-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* About Page */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 12px;
    min-height: 300px;
    opacity: 0.6;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    border: 1px solid var(--border);
}

.about-image .image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3/4;
    background: var(--gradient-1);
    border-radius: 12px;
    opacity: 0.6;
}

.about-text {
    padding-top: 1rem;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.qualification-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.qual-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    color: var(--ocean-blue);
    border: 1px solid var(--sea-glass);
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.qual-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.qual-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.condition-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--sea-glass);
}

.condition-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.condition-card ul {
    list-style: none;
    padding-left: 0;
}

.condition-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.condition-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ocean-blue);
    font-weight: normal;
}

.facilities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.facility-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.feature-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Services Detail Page */
.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
}

.services-intro .intro-text {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.services-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail-item:nth-child(even) {
    direction: rtl;
}

.service-detail-item:nth-child(even) > * {
    direction: ltr;
}

.service-number-large {
    font-size: 8rem;
    font-weight: 300;
    color: var(--bg-cream);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.service-detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.service-detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.service-detail-content strong {
    color: var(--text-primary);
}

.service-detail-image {
    border-radius: 16px;
    overflow: hidden;
}

/* FAQs Page */
.faqs-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-full-item {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--sea-glass);
}

.faq-full-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-full-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
}

/* Contact Page */
.contact-info {
    background: var(--bg-cream);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-glass);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 400;
}

.contact-card a:hover {
    text-decoration: underline;
}

.btn-reveal {
    margin: 0.5rem 0;
    width: 100%;
    max-width: 300px;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: white;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sea-glass);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--ocean-blue);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.form-privacy {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.form-privacy a {
    color: var(--ocean-blue);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

.map-section {
    height: 400px;
    width: 100%;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Reviews Page */
.reviews-summary {
    text-align: center;
    margin-bottom: 4rem;
}

.rating-display {
    display: inline-block;
    padding: 2.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.rating-stars-large {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.review-card-full {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-rating {
    color: #fbbf24;
    font-size: 1.25rem;
}

.review-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.review-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-cream);
    color: var(--ocean-blue);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Blog Page */
.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-full {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
}

.blog-post-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-post-image .blog-placeholder {
    width: 100%;
    height: 100%;
}

.blog-post-content {
    padding: 2.5rem;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-post-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Responsive additions */
@media (max-width: 768px) {
    .about-main,
    .facilities-content,
    .service-detail-item {
        grid-template-columns: 1fr;
    }

    .service-detail-item:nth-child(even) {
        direction: ltr;
    }

    .service-number-large {
        font-size: 4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .review-header {
        flex-direction: column;
    }
}

/* Booking Page Styles */
.booking-section {
    background: var(--bg-cream);
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.auth-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.auth-tab.active {
    color: var(--ocean-blue);
    border-bottom-color: var(--ocean-blue);
}

.auth-tab:hover {
    color: var(--ocean-blue);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 300;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Google Sign-In Button */
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    border: 1px solid #dadce0;
    color: #3c4043;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-google:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: #c0c0c0;
}

.btn-google:active {
    background: #f8f9fa;
}

.btn-google svg {
    flex-shrink: 0;
}

.booking-form-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.user-info h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
}

.user-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.form-help {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-style: italic;
}

.booking-form-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--text-primary);
}

.profile-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.appointments-list {
    margin-bottom: 3rem;
}

.appointments-grid {
    display: grid;
    gap: 1.5rem;
}

.appointment-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.appointment-card:hover {
    box-shadow: var(--shadow-md);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.appointment-header h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: capitalize;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.appointment-details p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.appointment-details strong {
    color: var(--text-primary);
    font-weight: 400;
}

.error-message,
.success-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.loading,
.no-appointments {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
    font-style: italic;
}

.setup-message {
    padding: 2rem;
    background: var(--bg-cream);
    border-radius: 8px;
    border: 1px solid var(--sea-glass);
}

.setup-message h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.setup-message code {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--ocean-blue);
}

.setup-message ol {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.setup-message li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cancel-appointment {
    margin-top: 1rem;
    width: 100%;
}

@media (max-width: 768px) {
    .auth-section,
    .booking-form-section,
    .profile-section {
        padding: 2rem;
    }

    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .auth-tab {
        width: 100%;
        text-align: left;
    }
}

/* Calendar Styles */
.calendar-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.calendar-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-controls h4 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
}

.btn-calendar-nav {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-calendar-nav:hover {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

.calendar-grid {
    margin-bottom: 1.5rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-cream);
    color: var(--text-primary);
    font-weight: 400;
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.past {
    background: #f5f5f5;
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.booked {
    background: #fee2e2;
    color: #991b1b;
    cursor: not-allowed;
    border-color: #fecaca;
}

.calendar-day.selected {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
    transform: scale(1.05);
}

.calendar-day.today {
    border: 2px solid var(--ocean-blue);
    font-weight: 600;
}

.calendar-day:not(.empty):not(.past):not(.booked):hover {
    background: var(--sea-glass);
    border-color: var(--ocean-blue);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.legend-box.available {
    background: var(--bg-cream);
}

.legend-box.booked {
    background: #fee2e2;
    border-color: #fecaca;
}

.legend-box.selected {
    background: var(--ocean-blue);
    border-color: var(--ocean-blue);
}

.legend-box.past {
    background: #f5f5f5;
    opacity: 0.5;
}

/* Available Times Grid */
.available-times-grid {
    margin-top: 1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.time-slot-btn {
    padding: 0.75rem 1rem;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 400;
}

.time-slot-btn:hover {
    background: var(--sea-glass);
    border-color: var(--ocean-blue);
    transform: translateY(-2px);
}

.time-slot-btn.selected {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

.time-slot-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-times {
    padding: 1rem;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #92400e;
    text-align: center;
    font-style: italic;
}

/* Appointments Section */
.appointments-section {
    margin-bottom: 3rem;
}

.appointments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
}

.appointments-grid {
    display: grid;
    gap: 1.5rem;
}

.appointment-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.appointment-card:hover {
    box-shadow: var(--shadow-md);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.appointment-header h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: capitalize;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.appointment-details p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.appointment-details strong {
    color: var(--text-primary);
    font-weight: 400;
}

.appointment-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.appointment-actions .btn-secondary {
    flex: 1;
    min-width: 140px;
}

.cancel-appointment {
    margin-top: 0;
    width: auto;
}

.admin-header-actions {
    margin-top: 1rem;
}

.admin-header-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .calendar-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .calendar-controls h4 {
        font-size: 1.25rem;
    }

    .calendar-legend {
        gap: 0.75rem;
        flex-wrap: wrap;
        font-size: 0.875rem;
    }

    .calendar-weekdays {
        gap: 0.25rem;
    }

    .calendar-weekday {
        font-size: 0.75rem;
        padding: 0.375rem 0.25rem;
    }

    .calendar-days {
        gap: 0.25rem;
    }

    .calendar-day {
        font-size: 0.875rem;
        min-height: 40px;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.5rem;
    }

    .time-slot-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

    .appointment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .appointment-header h4 {
        font-size: 1.125rem;
    }

    .status-badge.with-mobile {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .booking-form-section {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }

    .calendar-section {
        margin-bottom: 2rem;
    }

    .available-times-grid {
        margin-top: 0.75rem;
    }

    .appointment-card {
        padding: 1.5rem;
    }

    .appointment-actions {
        flex-direction: column;
    }

    .appointment-actions .btn-secondary {
        width: 100%;
        min-width: auto;
    }

    .cancel-appointment {
        margin-top: 0;
        width: 100%;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .calendar-weekday {
        font-size: 0.7rem;
        padding: 0.25rem 0.125rem;
    }

    .calendar-day {
        font-size: 0.8rem;
        min-height: 35px;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .time-slot-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    .calendar-controls h4 {
        font-size: 1.125rem;
    }

    .btn-calendar-nav {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }

    .appointment-card {
        padding: 1.25rem;
    }

    .appointment-details p {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    /* Admin Calendar Extra Small */
    .admin-calendar-day {
        min-height: 30px;
        font-size: 0.75rem;
    }

    .admin-calendar-weekday {
        font-size: 0.65rem;
    }

    .day-appointment-card {
        padding: 0.75rem;
    }

    .booking-form-section,
    .profile-section {
        padding: 1rem;
    }

    .booking-form-section h2,
    .profile-section h2 {
        font-size: 1.25rem;
    }

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9375rem;
        padding: 0.75rem;
    }
}

/* Admin Dashboard Styles */
.admin-access-denied {
    padding: 4rem 2rem;
    text-align: center;
}

.access-denied-message {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
}

.access-denied-message h2 {
    color: var(--text-primary);
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Admin Header */
.admin-header {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sea-glass) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 0;
    margin-top: 80px; /* Account for fixed navbar */
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: white;
}

.admin-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    color: white;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 200px);
}

/* Admin Sidebar */
.admin-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--border);
    padding: 2rem 0;
    flex-shrink: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
    background: var(--bg-cream);
    color: var(--ocean-blue);
}

.sidebar-nav-item.active {
    background: var(--sea-glass);
    color: var(--ocean-blue);
    border-left-color: var(--ocean-blue);
    font-weight: 400;
}

.nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.nav-label {
    font-size: 0.9375rem;
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    background: var(--bg-cream);
    padding: 0;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

/* Section Header */
.section-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-admin {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
}

.section-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-stats {
    background: var(--bg-cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card-admin {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card-admin:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 12px;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 300;
    color: var(--ocean-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.admin-controls {
    padding: 2rem 0;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.view-toggle-btn {
    padding: 0.75rem 2rem;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 400;
}

[data-theme="dark"] .view-toggle-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .view-toggle-btn:hover {
    background: var(--bg-cream);
}

.view-toggle-btn.active {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

.view-toggle-btn:hover {
    background: var(--sea-glass);
    border-color: var(--ocean-blue);
}

.admin-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.admin-filters select,
.admin-filters input[type="date"] {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

[data-theme="dark"] .admin-filters select,
[data-theme="dark"] .admin-filters input[type="date"] {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border);
}

.admin-calendar-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.admin-calendar-grid {
    margin-top: 1.5rem;
}

.admin-day.has-bookings {
    background: var(--sea-glass);
    border-color: var(--ocean-blue);
    cursor: pointer;
}

.admin-day.has-bookings:hover {
    background: var(--ocean-blue);
    color: white;
    transform: scale(1.05);
}

.day-number {
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.booking-badge {
    font-size: 0.75rem;
    background: var(--ocean-blue);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 400;
}

.day-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.day-details h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.day-appointments-list {
    display: grid;
    gap: 1rem;
}

.day-appointment-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-cream);
    border-radius: 8px;
    border: 1px solid var(--border);
    align-items: center;
    transition: all 0.3s ease;
}

.day-appointment-card:hover {
    box-shadow: var(--shadow-md);
}

.appointment-time {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--ocean-blue);
    min-width: 80px;
}

.appointment-info {
    flex: 1;
}

.appointment-client {
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.appointment-service {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.appointment-details {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.appointment-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.appointments-table-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.appointments-table {
    width: 100%;
    border-collapse: collapse;
}

.appointments-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Client Management */
.client-search-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

.client-search-filters select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

[data-theme="dark"] .client-search-filters select {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.clients-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
}

.clients-table thead {
    background: var(--bg-cream);
}

.clients-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 400;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.clients-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.clients-table tbody tr:hover {
    background: var(--bg-cream);
}

.clients-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Collapsible Client Appointments */
.client-appointments-row {
    background: var(--bg-cream);
}

.appointments-cell {
    padding: 0 !important;
    border-top: 2px solid var(--border);
}

.client-appointments-content {
    padding: 1.5rem;
}

.client-appointments-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appointments-list-inline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.appointment-item-inline {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.appointment-item-inline:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.appointment-item-inline.past {
    opacity: 0.7;
}

.appointment-date-time {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.appointment-details-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.service-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--ocean-blue);
    color: white;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.duration-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--sea-glass);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 0.8125rem;
}

.status-badge-inline {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge-inline.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge-inline.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge-inline.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.appointment-notes-inline {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.no-appointments-msg {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0.5rem 0;
}

.more-appointments-msg {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.past-appointments {
    opacity: 0.8;
}

.appointments-count-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.125rem 0.5rem;
    background: var(--ocean-blue);
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.view-client-appointments-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.view-client-appointments-btn[data-expanded="true"] {
    background: var(--ocean-blue);
    color: white;
}

.recent-appointments-table {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 2rem;
}

.appointments-table thead {
    background: var(--bg-cream);
}

.appointments-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 400;
    color: var(--text-primary);
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--border);
}

.appointments-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.appointments-table tbody tr:hover {
    background: var(--bg-cream);
}

.appointments-table tbody tr.status-pending {
    background: #fef3c7;
    opacity: 0.8;
}

.appointments-table tbody tr.status-confirmed {
    background: #d1fae5;
    opacity: 0.8;
}

.appointments-table tbody tr.status-cancelled {
    background: #fee2e2;
    opacity: 0.6;
}

.client-name {
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.client-email {
    font-size: 0.875rem;
    color: var(--text-light);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: var(--ocean-blue);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 400;
}

.btn-small:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.modal-detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-detail-section:last-of-type {
    border-bottom: none;
}

.modal-detail-section h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modal-detail-section p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-detail-section strong {
    color: var(--text-primary);
    font-weight: 400;
}

/* Client Edit Form */
.client-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.client-edit-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.client-edit-form label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-primary);
}

.client-edit-form .required {
    color: #ef4444;
}

.client-edit-form input,
.client-edit-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

[data-theme="dark"] .client-edit-form input,
[data-theme="dark"] .client-edit-form textarea {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
    background: white;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.client-edit-form input:focus,
.client-edit-form textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.client-edit-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Bulk Message Form */
.bulk-message-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bulk-message-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bulk-message-form label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-primary);
}

.bulk-message-form input,
.bulk-message-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

[data-theme="dark"] .bulk-message-form input,
[data-theme="dark"] .bulk-message-form textarea {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
    background: white;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.bulk-message-form input:focus,
.bulk-message-form textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bulk-message-form textarea {
    resize: vertical;
    min-height: 120px;
}

.modal-info {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-cream);
    border-radius: 8px;
}

.modal-info span {
    font-weight: 400;
    color: var(--ocean-blue);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Time Management Styles */
.admin-times-section {
    background: var(--bg-cream);
}

.times-management-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.times-management-card h2 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.times-management {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.current-times-section h3,
.add-times-section h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.times-list {
    min-height: 150px;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.time-slot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-cream);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.time-display {
    font-weight: 400;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.btn-remove {
    background: #ef4444;
    color: white;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-remove:hover {
    background: #dc2626;
}

.add-time-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.add-time-form input[type="time"] {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

[data-theme="dark"] .add-time-form input[type="time"] {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
    background: white;
    color: var(--text-primary);
}

.save-status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    margin-top: 1rem;
}

.save-status.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.save-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Time Management Tabs */
.times-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.time-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.time-tab:hover {
    color: var(--ocean-blue);
}

.time-tab.active {
    color: var(--ocean-blue);
    border-bottom-color: var(--ocean-blue);
    font-weight: 400;
}

.times-tab-content {
    display: none;
}

.times-tab-content.active {
    display: block;
}

.section-note {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Date-Specific Management */
.date-specific-management {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.date-selector-section h3,
.date-times-section h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.date-selector-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-selector-form input[type="date"] {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    background: white;
    color: var(--text-primary);
}

[data-theme="dark"] .date-selector-form input[type="date"] {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
    background: white;
    color: var(--text-primary);
    flex: 1;
}

.date-status {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.date-status.uses-default {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.date-status.has-custom {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.date-status.no-times {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.date-times-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.date-times-actions .add-time-form {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .date-specific-management {
        grid-template-columns: 1fr;
    }
    
    .date-selector-form {
        flex-direction: column;
    }
    
    .date-selector-form input[type="date"],
    .date-selector-form button {
        width: 100%;
    }
    
    .date-times-actions button {
        width: 100%;
    }

    /* Admin Calendar Mobile Optimization */
    .admin-calendar-section {
        padding: 1.5rem;
    }

    .admin-calendar-grid {
        gap: 0.25rem;
    }

    .admin-calendar-weekday {
        font-size: 0.75rem;
        padding: 0.375rem 0.25rem;
    }

    .admin-calendar-day {
        font-size: 0.875rem;
        min-height: 40px;
        padding: 0.25rem;
    }

    .admin-calendar-day .day-number {
        font-size: 0.875rem;
    }

    .admin-calendar-day .day-count {
        font-size: 0.7rem;
    }

    .day-details {
        padding: 1rem;
    }

    .day-appointment-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .user-actions {
        width: 100%;
        flex-direction: column;
    }

    .user-actions .btn-secondary,
    .user-actions button {
        width: 100%;
    }

    .booking-form-section h2 {
        font-size: 1.5rem;
    }

    .profile-section {
        padding: 1.5rem;
    }

    .profile-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .times-management {
        grid-template-columns: 1fr;
    }
    
    .add-time-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .add-time-form input[type="time"],
    .add-time-form button {
        width: 100%;
    }
    
    .times-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Calendar/List Views */
.admin-calendar-view {
    display: block;
}

.admin-list-view {
    display: none;
}

/* Responsive Admin Layout */
@media (max-width: 1024px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .sidebar-nav-item {
        padding: 0.75rem 1.5rem;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    
    .sidebar-nav-item.active {
        border-left: none;
        border-bottom-color: var(--ocean-blue);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .admin-header p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-filters select,
    .admin-filters input[type="date"],
    .admin-filters button {
        width: 100%;
    }
    
    .client-search-filters {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .section-header-admin {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-actions {
        width: 100%;
    }
    
    .section-actions button {
        flex: 1;
    }

    .appointments-table,
    .clients-table {
        font-size: 0.875rem;
    }

    .appointments-table th,
    .appointments-table td,
    .clients-table th,
    .clients-table td {
        padding: 0.75rem 0.5rem;
    }

    .day-appointment-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .appointment-status {
        align-items: flex-start;
        width: 100%;
    }

    .modal-content {
        padding: 2rem;
        margin: 10% auto;
        width: 95%;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }
}

/* Forms Page Styles */
.forms-section {
    background: var(--bg-cream);
}

.forms-progress {
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.progress-step.active .step-number {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.progress-step.completed .step-number::before {
    content: '✓';
    font-size: 1.25rem;
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--ocean-blue);
    font-weight: 500;
}

.consent-form-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.consent-form-card h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.consent-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    padding: 2rem;
    background: var(--bg-cream);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consent-form .form-group {
    margin-bottom: 1.5rem;
}

.consent-form .form-group:last-child {
    margin-bottom: 0;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.waiver-text {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.8;
}

.waiver-text h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.waiver-text h3:first-child {
    margin-top: 0;
}

.waiver-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.signature-container {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

#signaturePad {
    width: 100%;
    height: 200px;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: crosshair;
    background: white;
}

.signature-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.forms-completed-message {
    background: white;
    padding: 4rem 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

[data-theme="dark"] .forms-completed-message {
    background: var(--bg-card);
    border-color: var(--border);
}

.forms-completed-message h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #10b981;
    margin-bottom: 1rem;
}

.forms-completed-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.completion-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .progress-steps {
        gap: 1rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .consent-form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .waiver-text {
        padding: 1.5rem;
        max-height: 300px;
    }
    
    .completion-actions {
        flex-direction: column;
    }
    
    .completion-actions .btn-primary,
    .completion-actions .btn-secondary {
        width: 100%;
    }
}

/* Booking Form Notice */
.booking-form-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.notice-content h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #856404;
    margin: 0 0 0.5rem 0;
}

.notice-content p {
    color: #856404;
    margin: 0 0 1rem 0;
    font-size: 0.9375rem;
}

.notice-content .btn-primary {
    margin-top: 0.5rem;
}

/* Forms Status Badge */
.forms-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.forms-status.completed {
    background: #d1fae5;
    color: #065f46;
}

.forms-status.incomplete {
    background: #fee2e2;
    color: #991b1b;
}

[data-theme="dark"] .forms-status.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

[data-theme="dark"] .forms-status.incomplete {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Form View Styles */
.form-view-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.form-view-section:last-child {
    border-bottom: none;
}

.form-view-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.form-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-data-item {
    padding: 0.75rem;
    background: var(--bg-cream);
    border-radius: 6px;
    font-size: 0.9375rem;
}

.form-data-item.full-width {
    grid-column: 1 / -1;
}

.form-data-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

.signature-display {
    margin-top: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

/* Forms Status Card on Profile */
.forms-status-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.forms-status-card h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.forms-status-success,
.forms-status-warning {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.status-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.forms-status-success .status-icon {
    background: #d1fae5;
    color: #065f46;
}

.forms-status-warning .status-icon {
    background: #fff3cd;
    color: #856404;
}

.status-info {
    flex: 1;
}

.status-info p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
}

.status-info strong {
    color: var(--text-primary);
    font-weight: 500;
}

.status-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Additional Dark Mode Styles for Forms and Tables */
[data-theme="dark"] .signature-container {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] #signaturePad {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .clients-table-container,
[data-theme="dark"] .appointments-table-container {
    background: var(--bg-card);
}

[data-theme="dark"] .booking-form-notice {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
}

[data-theme="dark"] .booking-form-notice .notice-content h4,
[data-theme="dark"] .booking-form-notice .notice-content p {
    color: var(--text-primary);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-card);
}

[data-theme="dark"] .btn-google {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .admin-calendar-section {
    background: var(--bg-card);
}

/* Bulk Availability Management Styles */
.bulk-availability-management {
    padding: 1rem 0;
}

.bulk-block-section {
    margin-bottom: 2.5rem;
}

.bulk-block-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.bulk-block-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bulk-block-form input[type="date"] {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    flex: 1;
    min-width: 150px;
}

.bulk-block-form select {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    flex: 1;
    min-width: 200px;
}

.blocked-dates-list {
    margin-top: 1rem;
}

.blocked-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.blocked-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 8px;
}

[data-theme="dark"] .blocked-date-item {
    background: var(--bg-secondary);
    border-color: var(--border);
}

.blocked-date-display {
    font-weight: 500;
    color: var(--text-primary);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-small:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.btn-small.btn-secondary {
    background: transparent;
    color: var(--ocean-blue);
    border-color: var(--ocean-blue);
}

.btn-small.btn-secondary:hover {
    background: var(--ocean-blue);
    color: white;
}

[data-theme="dark"] .bulk-block-form input[type="date"],
[data-theme="dark"] .bulk-block-form select {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-primary);
}

/* Booking Page Dark Mode */
[data-theme="dark"] .auth-section {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .auth-tabs {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .auth-tab {
    color: var(--text-secondary);
}

[data-theme="dark"] .auth-tab.active {
    color: var(--ocean-blue);
    border-bottom-color: var(--ocean-blue);
}

[data-theme="dark"] .auth-tab:hover {
    color: var(--ocean-blue);
}

[data-theme="dark"] .calendar-section {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .calendar-controls h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .btn-calendar-nav {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-calendar-nav:hover {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .calendar-weekday {
    color: var(--text-secondary);
}

[data-theme="dark"] .calendar-day {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .calendar-day.past {
    background: rgba(107, 114, 128, 0.3);
    color: var(--text-light);
}

[data-theme="dark"] .calendar-day.booked {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .calendar-day.selected {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .calendar-day.today {
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .calendar-day:not(.empty):not(.past):not(.booked):hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .calendar-legend {
    color: var(--text-secondary);
}

[data-theme="dark"] .legend-box {
    border-color: var(--border);
}

[data-theme="dark"] .legend-box.available {
    background: var(--bg-secondary);
}

[data-theme="dark"] .legend-box.booked {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .legend-box.past {
    background: rgba(107, 114, 128, 0.3);
}

[data-theme="dark"] .time-slot-btn {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .time-slot-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .time-slot-btn.selected {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .no-times {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
    color: #fcd34d;
}

[data-theme="dark"] .appointment-header {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .appointment-header h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .appointment-details p {
    color: var(--text-secondary);
}

[data-theme="dark"] .appointment-details strong {
    color: var(--text-primary);
}

[data-theme="dark"] .error-message {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .success-message {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .user-info h3 {
    color: var(--text-primary);
}

/* Admin Page Dark Mode */
[data-theme="dark"] .admin-sidebar {
    background: var(--bg-card);
    border-right-color: var(--border);
}

[data-theme="dark"] .sidebar-nav-item {
    color: var(--text-secondary);
}

[data-theme="dark"] .sidebar-nav-item:hover {
    background: var(--bg-secondary);
    color: var(--ocean-blue);
}

[data-theme="dark"] .sidebar-nav-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: var(--ocean-blue);
    border-left-color: var(--ocean-blue);
}

[data-theme="dark"] .admin-main {
    background: var(--bg-cream);
}

[data-theme="dark"] .access-denied-message {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .access-denied-message h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .day-details {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .day-details h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .day-appointment-card {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .appointment-time {
    color: var(--ocean-blue);
}

[data-theme="dark"] .appointment-client {
    color: var(--text-primary);
}

[data-theme="dark"] .appointment-service {
    color: var(--text-secondary);
}

[data-theme="dark"] .appointment-details {
    color: var(--text-secondary);
}

[data-theme="dark"] .recent-appointments-table {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .appointments-table-container {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .appointments-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .appointments-table td {
    color: var(--text-primary);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .appointments-table tbody tr:hover {
    background: var(--bg-secondary);
}

[data-theme="dark"] .clients-table-container {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .clients-table thead {
    background: var(--bg-secondary);
}

[data-theme="dark"] .clients-table th {
    color: var(--text-primary);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .clients-table td {
    color: var(--text-primary);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .clients-table tbody tr:hover {
    background: var(--bg-secondary);
}

[data-theme="dark"] .client-appointments-row {
    background: var(--bg-secondary);
}

[data-theme="dark"] .appointments-cell {
    border-top-color: var(--border);
}

[data-theme="dark"] .client-appointments-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .appointment-item-inline {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .appointment-date-time {
    color: var(--text-primary);
}

[data-theme="dark"] .time-slot-item {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .time-display {
    color: var(--text-primary);
}

[data-theme="dark"] .save-status.success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .save-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .times-tabs {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .time-tab {
    color: var(--text-secondary);
}

[data-theme="dark"] .time-tab:hover {
    color: var(--ocean-blue);
}

[data-theme="dark"] .time-tab.active {
    color: var(--ocean-blue);
    border-bottom-color: var(--ocean-blue);
}

[data-theme="dark"] .search-input {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border);
}

[data-theme="dark"] .page-header {
    background: var(--bg-cream);
}

[data-theme="dark"] .page-header-content h1 {
    color: var(--text-primary);
}

[data-theme="dark"] .page-header-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .section-title-admin {
    color: var(--text-primary);
}

[data-theme="dark"] .stat-number {
    color: var(--ocean-blue);
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .view-toggle-btn.active {
    background: var(--ocean-blue);
    color: white;
    border-color: var(--ocean-blue);
}

[data-theme="dark"] .client-edit-form label {
    color: var(--text-primary);
}

[data-theme="dark"] .bulk-message-form label {
    color: var(--text-primary);
}

[data-theme="dark"] .status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #fcd34d;
}

[data-theme="dark"] .status-confirmed {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

[data-theme="dark"] .status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

[data-theme="dark"] .status-badge-inline.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #fcd34d;
}

[data-theme="dark"] .status-badge-inline.status-confirmed {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

[data-theme="dark"] .status-badge-inline.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

[data-theme="dark"] .appointments-table tbody tr.status-pending {
    background: rgba(255, 193, 7, 0.1);
}

[data-theme="dark"] .appointments-table tbody tr.status-confirmed {
    background: rgba(34, 197, 94, 0.1);
}

[data-theme="dark"] .appointments-table tbody tr.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
}

[data-theme="dark"] .duration-badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
}

