/* ==========================================================================
   Dr. Megha Sharma - Yoga & Naturopathy Center
   Design System & Premium CSS Stylesheet
   ========================================================================== */

/* 1. Theme Configurations */
.theme-forest {
    --bg-primary: #fbfbf8;
    --bg-secondary: #eef3ed;
    --text-primary: #1b352e;
    --text-secondary: #4a685e;
    --accent: #2d6a4f;
    --accent-hover: #1b4332;
    --accent-glow: rgba(45, 106, 79, 0.2);
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(45, 106, 79, 0.15);
    --header-bg: rgba(251, 251, 248, 0.85);
    --card-shadow: 0 10px 30px rgba(27, 53, 46, 0.06);
    --glow-color: 27, 53, 46;
}

.theme-gold {
    --bg-primary: #fdfaf2;
    --bg-secondary: #f4eee0;
    --text-primary: #3d2a1d;
    --text-secondary: #6e5441;
    --accent: #c49948;
    --accent-hover: #a37c35;
    --accent-glow: rgba(196, 153, 72, 0.2);
    --card-bg: rgba(255, 255, 255, 0.88);
    --border-color: rgba(196, 153, 72, 0.2);
    --header-bg: rgba(253, 250, 242, 0.85);
    --card-shadow: 0 10px 30px rgba(61, 42, 29, 0.06);
    --glow-color: 61, 42, 29;
}

.theme-dark {
    --bg-primary: #070e0b;
    --bg-secondary: #0f1c17;
    --text-primary: #f1f7f4;
    --text-secondary: #a3c2b6;
    --accent: #52b788;
    --accent-hover: #74c69d;
    --accent-glow: rgba(82, 183, 136, 0.3);
    --card-bg: rgba(15, 28, 23, 0.75);
    --border-color: rgba(82, 183, 136, 0.2);
    --header-bg: rgba(7, 14, 11, 0.85);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --glow-color: 82, 183, 136;
}

/* 2. Global Resets & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Language Toggle Rules */
body:not(.lang-hi) .lang-hi {
    display: none !important;
}
body.lang-hi .lang-en {
    display: none !important;
}

h1, h2, h3, .doc-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Background Ambient Glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 10%;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--text-secondary);
    bottom: -100px;
    right: -100px;
}

.bg-glow-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 45%;
}

/* 3. Header & Navigation */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-link-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link-btn:hover {
    color: var(--accent);
    background: rgba(197, 160, 89, 0.05);
}

.nav-link-btn.active {
    color: var(--accent);
    font-weight: 600;
    background: rgba(197, 160, 89, 0.1);
}

@media (max-width: 991px) {
    .header-nav {
        display: none;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Controls Group */
.controls-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme buttons */
.theme-selector {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.3rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.theme-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent);
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.forest-dot { background: #2d6a4f; }
.gold-dot { background: #c49948; }
.dark-dot { background: #52b788; }

/* Mode Switcher */
.mode-toggle-container {
    display: flex;
    background: var(--bg-secondary);
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.mode-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mode-toggle-btn.active {
    background: var(--accent);
    color: white !important;
}

.mode-toggle-btn:hover:not(.active) {
    color: var(--text-primary);
}

.icon-action-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-action-btn:hover {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: var(--accent);
}

/* 4. Layout Framework for Modes */
.main-content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: calc(100vh - 160px);
}

/* Presentation Mode (Slider) */
.mode-presentation .slides-viewport {
    width: 100%;
    height: 680px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    perspective: 1200px;
}

.mode-presentation .slides-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.mode-presentation .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100px) translateZ(-50px) rotateY(-6deg);
    transform-origin: right center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    backface-visibility: hidden;
}

.mode-presentation .slide.active-slide {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) translateZ(0) rotateY(0);
    z-index: 2;
}

/* Slide Controls (Presentation Only) */
.presentation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-control-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-control-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.slide-dots {
    display: flex;
    gap: 0.6rem;
}

.slide-dot {
    width: 10px;
    height: 100px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
}

.slide-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* Brochure Mode (Normal Web Scroll) */
.mode-brochure .slides-viewport {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
}

.mode-brochure .slide {
    margin-bottom: 4rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: 20px;
    padding: 4rem 3rem;
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}

.mode-brochure .presentation-controls {
    display: none !important;
}

/* 5. Common Component Styles */
.badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.badge-accent {
    background: #e63946;
    color: white;
    border-color: #e63946;
    animation: pulse 2s infinite;
}

.title-hindi {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Grids */
.slide-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    height: 100%;
}

.grid-2-1 {
    grid-template-columns: 1.7fr 1fr;
}

.grid-1-1 {
    grid-template-columns: 1fr 1fr;
}

/* Buttons */
.action-btn {
    border: none;
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.action-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.outline-btn-sm {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.outline-btn-sm:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* Problems Grid tags */
.problems-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.prob-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prob-tag i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* Treatment / Clinical Info Cards */
.treatment-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.treatment-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.treatment-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.treatment-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--text-primary);
}

.therapy-step {
    margin-bottom: 1.2rem;
}

.therapy-step:last-child {
    margin-bottom: 0;
}

.therapy-step h4 {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.therapy-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   6. Slide Specific Implementations
   ========================================================================== */

/* SLIDE 1: Welcome */
.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.credential-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cred-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.cred-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cred-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.cred-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.slide-bullets-row {
    display: flex;
    gap: 1.5rem;
}

.bullet-item {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bullet-item i {
    color: var(--accent);
}

.profile-panel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card-glow {
    background: var(--bg-secondary);
    border: 2px solid var(--accent);
    padding: 1.5rem;
    border-radius: 18px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 15px 40px rgba(var(--glow-color), 0.15);
    text-align: center;
}

.doctor-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.2rem;
}

.doctor-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-glow), var(--bg-secondary));
}

.doctor-avatar-placeholder i {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.8;
}

.doctor-profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
    display: block;
}

.doctor-spec-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem;
    letter-spacing: 1.5px;
}

.doc-name {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.doc-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.doc-contact .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    background: var(--accent-glow);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px dashed var(--accent);
}

.doc-contact .phone-link:hover {
    background: var(--accent);
    color: white;
}

/* Background image decoration */
.slide-background-img {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 300px;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}

/* SLIDE 2: Core Philosophy Pillars */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    height: calc(100% - 80px);
}

.pillar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-img {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.pillar-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.pillar-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pillar-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--accent);
}

.desc-eng {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pillar-list {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 0.8rem;
    margin-top: auto;
}

.pillar-list li {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pillar-list li i {
    color: var(--accent);
}

/* SLIDE 8: Interactive Lifestyle Routine Planner */
.planner-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    height: calc(100% - 100px);
}

.symptom-selector-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.symptom-selector-sidebar h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.symptom-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    overflow-y: auto;
}

/* Custom Checkbox Design */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    user-select: none;
    min-height: 25px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--accent);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Routine Output Container */
.routine-output-container {
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1.5rem;
    overflow-y: auto;
    position: relative;
    min-height: 300px;
}

.routine-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.routine-placeholder i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.routine-placeholder h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.routine-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.routine-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
}

.routine-header-row h3 {
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Timeline Routine */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -19px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
}

.time-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.routine-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.routine-item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* SLIDE 9: Golden Habits Gallery */
.habits-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    height: calc(100% - 80px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.habit-item-card {
    display: flex;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 12px;
    gap: 1.2rem;
    align-items: flex-start;
}

.habit-num {
    background: var(--accent);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.habit-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.habit-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* SLIDE 10: Contact & Booking Form */
.contact-details-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-glow);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.c-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.c-text p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.c-text p a {
    color: inherit;
    text-decoration: none;
}

.booking-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.booking-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
    color: var(--accent);
}

.booking-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.submit-btn {
    width: 100%;
    border: none;
    background: var(--accent);
    color: white;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--accent-glow);
    margin-top: 0.5rem;
}

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

/* 7. Footer */
.app-footer-bottom {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-container p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.footer-disclaimer {
    font-style: italic;
    opacity: 0.8;
}

/* 8. Helper Classes */
.hidden {
    display: none !important;
}

/* 9. Keyframes & Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Yoga Pose Previews & Gallery */
.pose-preview-cards-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.pose-preview-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pose-preview-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.pose-preview-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: white;
}

.pose-preview-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Planner Yoga Gallery */
.yoga-gallery-section {
    margin-top: 2rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 1.5rem;
}

.yoga-gallery-section h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.yoga-poses-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.yoga-pose-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.yoga-pose-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-color);
}

.yoga-pose-card-info {
    flex: 1;
}

.yoga-pose-card-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--accent);
}

.yoga-pose-card-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}



/* Yoga Modal Dialog */
.yoga-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.yoga-modal-card {
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 2rem;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    animation: scaleUp 0.3s forwards;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.yoga-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.yoga-modal-close:hover {
    background: var(--accent);
    color: white;
}

.yoga-modal-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border-color);
}

.yoga-modal-body h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.yoga-modal-body h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.yoga-modal-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

@keyframes scaleUp {
    to { transform: scale(1); }
}

/* --- Modern Era Wellness Quiz Styling --- */
.quiz-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.quiz-question {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.quiz-question.active-question {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.quiz-question h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quiz-opt-btn {
    text-align: left;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.quiz-opt-btn:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(4px);
}

.quiz-results-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quiz-progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.quiz-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.quiz-results-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-results-initial {
    color: var(--text-secondary);
}

.quiz-results-initial i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1.2rem;
}

.quiz-results-initial h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quiz-results-initial p {
    font-size: 0.88rem;
}

/* Final Results display */
.quiz-results-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    animation: fadeIn 0.5s forwards;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.score-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.score-max {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: -0.4rem;
}

#score-grade {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-verdict {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.score-hack-box {
    background: var(--bg-primary);
    border: 1px dashed var(--accent);
    border-radius: 10px;
    padding: 1rem;
    text-align: left;
    width: 100%;
    margin-bottom: 0.5rem;
}

.score-hack-box h4 {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.score-hack-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Accordion for Digital Era Habits */
.modern-habits-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.m-habit-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.m-habit-header {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.m-habit-header h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.m-habit-header h4 i {
    color: var(--accent);
}

.m-habit-header i.fa-chevron-down {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.m-habit-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.m-habit-item.active {
    border-color: var(--accent);
}

.m-habit-item.active .m-habit-header i.fa-chevron-down {
    transform: rotate(180deg);
}

.m-habit-item.active .m-habit-body {
    max-height: 150px;
    padding: 0 1.2rem 1.2rem 1.2rem;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* Visual Panel for Habits */
.modern-habits-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.visual-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--card-shadow);
}

.m-habit-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--border-color);
}

.visual-caption {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   10. Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 1024px) {
    .mode-presentation .slides-viewport {
        height: 680px;
    }
    
    .grid-2-1, .grid-1-1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-panel {
        display: none; /* Hide floating card on smaller display presentation views to save space */
    }
    
    .pillars-container {
        grid-template-columns: 1fr;
        overflow-y: auto;
        padding-right: 0.5rem;
    }
    
    .pillar-card {
        flex-direction: row;
    }
    
    .pillar-img {
        width: 150px;
        height: auto;
    }
    
    .planner-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 95%;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mode-presentation .slides-viewport {
        height: auto;
        min-height: 550px;
    }
    
    .mode-presentation .slide {
        padding: 1.5rem;
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        display: flex !important;
        margin-bottom: 2rem;
    }
    
    .mode-presentation .slides-container {
        display: flex;
        flex-direction: column;
    }
    
    .presentation-controls {
        display: none !important;
    }
    
    .habits-gallery {
        grid-template-columns: 1fr;
    }
    
    .pillar-card {
        flex-direction: column;
    }
    
    .pillar-img {
        width: 100%;
        height: 120px;
    }
    
    .quiz-results-card, .dosha-results-card {
        padding: 1.5rem 1.2rem !important;
        min-height: auto !important;
    }
    
    .quiz-lead-form, .dosha-lead-form {
        padding: 0 !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .yoga-poses-gallery {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 1.2rem !important;
    }
}
/* --- Widgets Container & Cards --- */
.widgets-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    height: calc(100% - 100px);
    align-items: stretch;
}

.widget-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px var(--accent-glow);
    border-color: var(--accent);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.6rem;
}

.widget-header i {
    font-size: 1.25rem;
    color: var(--accent);
}

.widget-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.widget-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

/* 1. Pranayama Timer */
.breath-bubble-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.breath-bubble {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, var(--accent-glow) 70%);
    opacity: 0.25;
    transform: scale(0.6);
    box-shadow: 0 0 20px var(--accent-glow);
    transition: transform 4s ease-in-out, opacity 4s ease-in-out;
}

/* JavaScript toggles this class for expanding/contracting states */
.breath-bubble.expand {
    transform: scale(1.1);
    opacity: 0.55;
    box-shadow: 0 0 35px var(--accent);
}

.breath-text {
    position: absolute;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    width: 100%;
    top: 38%;
}

.breath-timer {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    width: 100%;
    bottom: 25%;
}

.breath-controls {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.widget-select {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.action-btn-sm {
    border: none;
    background: var(--accent);
    color: white;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.action-btn-sm:hover {
    background: var(--accent-hover);
}

/* 2. Circadian Rhythm Dial */
.dial-container {
    width: 140px;
    height: 140px;
    margin: 0.5rem auto;
    position: relative;
}

.dial-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--border-color);
    background: var(--bg-primary);
    position: relative;
}

.dial-needle {
    position: absolute;
    width: 3px;
    height: 60px;
    background: var(--accent);
    top: 10px;
    left: calc(50% - 1.5px);
    transform-origin: bottom center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
}

.dial-needle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
}

.dial-node {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    z-index: 15;
    outline: none;
}

.dial-node:hover {
    transform: scale(1.15) translate(-50%, -50%);
    border-color: var(--accent);
    color: var(--accent);
}

/* Correct positions since transforms shift nodes */
.dial-node.node-sunrise {
    top: 0;
    left: 50%;
    transform: translate(-50%, -13px);
}
.dial-node.node-sunrise:hover, .dial-node.node-sunrise.active {
    transform: translate(-50%, -13px) scale(1.15);
}

.dial-node.node-noon {
    top: 50%;
    right: 0;
    transform: translate(13px, -50%);
}
.dial-node.node-noon:hover, .dial-node.node-noon.active {
    transform: translate(13px, -50%) scale(1.15);
}

.dial-node.node-sunset {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 13px);
}
.dial-node.node-sunset:hover, .dial-node.node-sunset.active {
    transform: translate(-50%, 13px) scale(1.15);
}

.dial-node.node-night {
    top: 50%;
    left: 0;
    transform: translate(-13px, -50%);
}
.dial-node.node-night:hover, .dial-node.node-night.active {
    transform: translate(-13px, -50%) scale(1.15);
}

.dial-node.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.dial-info-box {
    padding: 0.8rem;
    border-radius: 10px;
    background: var(--bg-primary);
    border-left: 4px solid var(--accent);
    text-align: left;
}

.dial-info-box h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--accent);
}

.dial-info-box p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 3. Hydration Log */
.water-container-visual {
    width: 110px;
    height: 140px;
    margin: 0.5rem auto;
    position: relative;
    border: 3px solid var(--text-secondary);
    border-radius: 8px 8px 16px 16px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.water-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: var(--fill-percent, 0%);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.water-wave {
    fill: #3a86c8;
}

.wave-back {
    fill: #5dade2;
    opacity: 0.45;
    animation: wave-back-anim 3s linear infinite;
}

.wave-front {
    fill: #2980b9;
    opacity: 0.8;
    animation: wave-front-anim 1.8s linear infinite;
}

.water-percent-display {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
    z-index: 5;
    mix-blend-mode: difference;
}

.hydration-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.glass-counter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.counter-buttons-row {
    display: flex;
    gap: 0.8rem;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
}

.counter-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Animations for Water Waves */
@keyframes wave-front-anim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes wave-back-anim {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* --- Ayurvedic Dosha Quiz Styles --- */
.dosha-quiz-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.dosha-question {
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    right: 1.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dosha-question.active-d-question {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dosha-question h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.dosha-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.dosha-opt-btn {
    text-align: left;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.dosha-opt-btn:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(4px);
}

.dosha-results-panel {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.dosha-progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.dosha-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.dosha-results-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    height: 100%;
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dosha-results-initial {
    color: var(--text-secondary);
}

.dosha-results-initial i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.dosha-results-initial h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.dosha-results-initial p {
    font-size: 0.85rem;
}

.dosha-results-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    animation: fadeIn 0.5s forwards;
}

.dosha-badge {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 4px 10px var(--accent-glow);
}

#dosha-type-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.2rem 0;
}

.dosha-verdict {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.dosha-guidelines {
    background: var(--bg-primary);
    border: 1.5px dashed var(--accent);
    border-radius: 10px;
    padding: 0.9rem;
    text-align: left;
    width: 100%;
    margin: 0.4rem 0;
}

.dosha-guidelines h4 {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.dosha-guidelines p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.quiz-lead-form, .dosha-lead-form {
    width: 100%;
    animation: fadeIn 0.5s forwards;
    padding: 0.5rem 0;
}

.booking-success-msg {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive adjustments for new elements */
@media (max-width: 1024px) {
    .widgets-container {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: auto;
        padding-right: 0.5rem;
    }
    .widget-card {
        height: auto;
    }
}

/* Dynamic pricing badge */
.visit-charge-display {
    margin-top: 0.5rem;
    padding: 0.6rem 0.85rem;
    background: rgba(197, 160, 89, 0.08); /* light gold hint */
    border-left: 3px solid var(--gold);
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    animation: fadeIn 0.3s ease-out;
}

/* ==========================================================================
   11. Print Styles (For Clean PDF Export)
   ========================================================================== */
@media print {
    @page {
        size: A4 landscape;
        margin: 0;
    }
    
    html, body {
        width: 297mm !important;
        height: 210mm !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #F7FAF6 !important;
        color: #1B352E !important;
        font-size: 10pt !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    /* Hide layout controls, headers, nav dots, and backgrounds */
    .app-header, 
    .presentation-controls, 
    .theme-selector, 
    .mode-toggle-container, 
    .app-footer-bottom, 
    #btn-print, 
    .slide-dots-container, 
    .nav-btn-container,
    .bg-glow,
    .controls-group,
    #btn-lang-toggle,
    .timeline-controls,
    .outline-btn-sm {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
        min-height: auto !important;
        width: 297mm !important;
        height: 210mm !important;
    }
    
    .slides-viewport {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 297mm !important;
        height: 210mm !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .slides-container {
        transform: none !important;
        width: 297mm !important;
        height: 210mm !important;
    }
    
    /* Layout alignments: Each slide is exactly one A4 page */
    .slide {
        width: 297mm !important;
        height: 210mm !important;
        page-break-after: always !important;
        page-break-inside: avoid !important;
        box-sizing: border-box !important;
        padding: 15mm 20mm !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: stretch !important;
        overflow: hidden !important;
        opacity: 1 !important;
        transform: none !important;
        background: #F7FAF6 !important;
        border-bottom: none !important;
    }

    /* Keep side-by-side grids aligned */
    .slide-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    .slide-grid.grid-2-1 {
        grid-template-columns: 1.8fr 1.2fr !important;
    }
    
    .slide-grid.grid-1-2 {
        grid-template-columns: 1.2fr 1.8fr !important;
    }

    .profile-panel {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 0 !important;
    }

    .profile-card-glow {
        max-width: 90% !important;
        border: 1px solid var(--accent) !important;
        transform: none !important;
        background: white !important;
        box-shadow: none !important;
    }

    .doctor-image-wrapper {
        height: 200px !important;
    }
    
    .doctor-profile-img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .credential-cards {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .cred-card {
        padding: 10px !important;
        border: 1px solid var(--border-color) !important;
    }

    /* Pillars (Philosophy) Slide alignment */
    .pillars-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .pillar-card {
        border: 1px solid var(--border-color) !important;
        background: white !important;
        margin-bottom: 0 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .pillar-img {
        height: 100px !important;
        width: 100% !important;
    }

    .pillar-body {
        padding: 10px !important;
    }

    .pillar-body p {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
    }

    .pillar-list {
        display: none !important; /* Hide lists in print to conserve space */
    }

    /* Wellness and Dosha Quizzes print layout */
    .quiz-container, .dosha-quiz-container {
        border: 1px solid var(--border-color) !important;
        padding: 15px !important;
        background: white !important;
        border-radius: 10px !important;
    }

    .quiz-question, .dosha-question {
        display: none !important;
    }

    .quiz-question.active-question, .dosha-question.active-d-question {
        display: block !important;
    }

    .quiz-options, .dosha-options {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .quiz-opt-btn, .dosha-opt-btn {
        padding: 8px !important;
        font-size: 0.75rem !important;
        border: 1px solid var(--border-color) !important;
        background: #FAFDF8 !important;
        color: var(--text-primary) !important;
    }

    /* Ailments / Diseases Slide alignment */
    .problems-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }

    .prob-tag {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        border: 1px solid var(--accent) !important;
        background: white !important;
    }

    .treatment-info-card {
        padding: 15px !important;
        border: 1px solid var(--border-color) !important;
        background: white !important;
        margin-top: 10px !important;
    }

    /* Poses Preview Cards Slide alignment */
    .pose-preview-cards-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        margin-top: 15px !important;
    }

    .pose-preview-card {
        margin: 0 !important;
        padding: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        border: 1px solid var(--accent) !important;
        background: white !important;
    }

    .pose-preview-card img {
        width: 100px !important;
        height: 100px !important;
        margin-bottom: 5px !important;
    }

    .pose-preview-card span {
        font-size: 0.85rem !important;
    }

    /* Daily Habits Slide alignment */
    .habits-gallery {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 10px !important;
    }

    .habit-item-card {
        padding: 8px !important;
        border: 1px solid var(--border-color) !important;
        background: white !important;
    }

    .habit-num {
        font-size: 1.1rem !important;
        margin-bottom: 3px !important;
    }

    .habit-info h3 {
        font-size: 0.8rem !important;
    }

    .habit-info p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }

    /* Daily Habits Planner Layout */
    .planner-layout {
        display: grid !important;
        grid-template-columns: 1fr 2fr !important;
        gap: 15px !important;
        height: 100% !important;
    }

    .symptom-selector-sidebar {
        border-right: 1px solid var(--border-color) !important;
        padding-right: 10px !important;
    }

    .symptom-checkboxes {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    .checkbox-container {
        font-size: 0.75rem !important;
    }

    .action-btn {
        display: none !important; /* Hide interactive generator in print */
    }

    .timeline {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }

    .timeline-item {
        margin-bottom: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
    }

    .time-badge {
        font-size: 0.7rem !important;
        padding: 4px 6px !important;
        margin-bottom: 5px !important;
    }

    .routine-item-title {
        font-size: 0.8rem !important;
    }

    .routine-item-desc {
        font-size: 0.65rem !important;
        line-height: 1.35 !important;
    }

    .yoga-poses-gallery {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }

    .yoga-pose-card {
        padding: 8px !important;
        margin-bottom: 0 !important;
        border: 1px solid var(--accent) !important;
    }

    .yoga-pose-card img {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 5px !important;
    }

    .yoga-pose-card-info h5 {
        font-size: 0.75rem !important;
    }

    .yoga-pose-card-info p {
        display: none !important; /* Hide description in gallery print to prevent overflow */
    }

    /* Therapies video gallery print alignment */
    .therapy-video-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 10px !important;
    }

    .therapy-video-card {
        border: 1px solid var(--border-color) !important;
        background: white !important;
        box-shadow: none !important;
    }

    .video-iframe-container {
        display: none !important; /* Hide video frames in print */
    }

    .therapy-card-info {
        padding: 10px !important;
    }

    .therapy-card-info h3 {
        font-size: 0.85rem !important;
        color: var(--accent) !important;
    }

    .therapy-card-info p {
        font-size: 0.68rem !important;
        line-height: 1.3 !important;
    }

    .other-therapies-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .other-therapy-card {
        padding: 8px !important;
        border: 1px solid var(--border-color) !important;
        background: white !important;
    }

    .other-therapy-card h4 {
        font-size: 0.75rem !important;
    }

    .other-therapy-card p {
        font-size: 0.62rem !important;
        line-height: 1.25 !important;
    }

    /* Booking and Contact Slide alignment */
    .contact-details-panel {
        font-size: 0.8rem !important;
    }

    .contact-info-list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .contact-info-item {
        gap: 8px !important;
    }

    .booking-card {
        padding: 15px !important;
        border: 1px solid var(--border-color) !important;
        background: white !important;
    }

    .booking-card form {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .booking-card form .form-group {
        margin-bottom: 0 !important;
    }

    .booking-card form .form-group:nth-child(5),
    .booking-card form .form-group:nth-child(6) {
        grid-column: span 2 !important;
    }

    .booking-card form button {
        grid-column: span 2 !important;
        padding: 8px !important;
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   Therapies Video Grid, Secure Payment Modal, and Admin Schedule Layout
   ========================================================================== */

/* Therapies Video Slide */
.therapy-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}
.therapy-video-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.therapy-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: var(--accent);
}
.video-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}
.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.therapy-card-info {
    padding: 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.therapy-card-info h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}
.therapy-card-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.other-therapy-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}
.other-therapy-card:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* Payment Gateway Checkout Modal Styles */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.payment-modal.hidden {
    display: none !important;
}
.payment-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.payment-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2;
    animation: paymentModalZoom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes paymentModalZoom {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.payment-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.payment-close-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.payment-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.payment-logo i {
    font-size: 1.8rem;
    color: var(--accent);
}
.payment-logo h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.payment-amount-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.payment-amount-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.payment-amount-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}
.booking-brief-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.booking-brief-summary strong {
    color: var(--text-primary);
}
.payment-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.payment-tab-btn {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.payment-tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.payment-tab-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.payment-tab-content {
    display: none;
    min-height: 150px;
}
.payment-tab-content.active {
    display: block;
    animation: paymentTabFade 0.3s ease forwards;
}
@keyframes paymentTabFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* UPI scan */
.upi-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.qr-code-box {
    position: relative;
    width: 120px;
    height: 120px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mock-qr-code {
    font-size: 5rem;
    color: #333;
}
.qr-scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: qrScan 2.5s ease-in-out infinite;
}
@keyframes qrScan {
    0%, 100% { top: 0; }
    50% { top: 117px; }
}
.upi-instructions {
    flex: 1;
}
.qr-tip {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.upi-vpa-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
}
.copy-vpa-btn {
    border: none;
    background: none;
    color: var(--accent);
    cursor: pointer;
    padding: 2px;
}
.copy-vpa-btn:hover {
    color: var(--accent-hover);
    transform: scale(1.1);
}

/* Card payment form */
.card-payment-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.form-row {
    display: flex;
    flex-direction: column;
}
.form-row.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group-pay {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.form-group-pay label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.form-group-pay input, .pay-bank-select {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
}
.form-group-pay input:focus, .pay-bank-select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 5px var(--accent-glow);
}
.input-with-icon {
    position: relative;
}
.input-with-icon i {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.input-with-icon input {
    padding-left: 2.2rem;
    width: 100%;
}

/* Netbanking */
.pay-bank-select {
    width: 100%;
    cursor: pointer;
}

/* Pay Secure Button */
.pay-submit-btn {
    margin-top: 1.5rem;
    padding: 0.85rem;
    border: none;
    background: var(--accent);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.pay-submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.payment-error-msg {
    margin-top: 1rem;
    background: rgba(214, 40, 40, 0.1);
    border: 1px solid rgba(214, 40, 40, 0.2);
    color: #d62828;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Processing Overlay */
.payment-processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-processing-overlay.hidden {
    display: none !important;
}
.payment-spinner-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.payment-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: paySpinner 1s linear infinite;
}
@keyframes paySpinner {
    to { transform: rotate(360deg); }
}
.processing-status-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Admin Schedule Tab & Timeline Styles */
.dashboard-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}
.db-tab-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    background: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -0.7rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.db-tab-btn:hover {
    color: var(--accent);
}
.db-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.schedule-date-group {
    margin-bottom: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}
.schedule-date-header {
    background: var(--bg-secondary);
    padding: 0.85rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.schedule-count-badge {
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}
.schedule-slots-container {
    display: flex;
    flex-direction: column;
}
.schedule-slot-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-color);
}
.schedule-slot-card:last-child {
    border-bottom: none;
}
.slot-time {
    padding: 1.25rem;
    background: rgba(var(--glow-color), 0.02);
    border-right: 1px solid var(--border-color);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.slot-details {
    padding: 1.25rem;
}
.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.slot-patient-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
}
.slot-patient-name:hover {
    color: var(--accent);
    text-decoration: underline;
}
.slot-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.slot-info-grid strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .therapy-video-grid {
        grid-template-columns: 1fr 1fr;
    }
    .other-therapies-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .schedule-slot-card {
        grid-template-columns: 1fr;
    }
    .slot-time {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.75rem;
    }
    .slot-info-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}
@media (max-width: 480px) {
    .therapy-video-grid {
        grid-template-columns: 1fr;
    }
    .other-therapies-grid {
        grid-template-columns: 1fr !important;
    }
}
}
