/* ═══════════════════════════════════════════════════════════════
   TAAFE Specialized Clinics — Main Frontend Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    --primary: #202c5e;
    --primary-light: #2d3f8f;
    --secondary: #22a9e1;
    --secondary-dark: #0891b2;
    --dark: #181f47;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --gold: #f59e0b;
    --success: #16a34a;
    --danger: #dc2626;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
    --shadow: 0 4px 20px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .12);
    --transition: all .25s ease;
    --header-h: 70px;
    --header-h-mobile: 56px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: clip;
    max-width: 100%;
}

[dir="ltr"] body {
    font-family: 'Inter', 'Cairo', sans-serif;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 20px;
    padding-block: 0;
}

.page-main {
    padding-block: 40px 60px;
}

/* ── HEADER / NAVBAR ────────────────────────────────────────── */
.site-header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(24, 31, 71, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
    width: 100%;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .navbar {
    height: 60px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar-logo {
    height: 48px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .navbar-logo {
    height: 36px;
}

.navbar-logo-placeholder {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--secondary), #0891b2);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.navbar-name {
    font-size: 14.5px;
    font-weight: 900;
    color: white;
    line-height: 1.3;
    transition: font-size 0.3s ease;
}

.site-header.is-scrolled .navbar-name {
    font-size: 13px;
}

.site-header.is-scrolled .navbar-name span {
    display: none;
}

.navbar-name span {
    display: block;
    font-size: 10.5px;
    color: rgba(255, 255, 255, .55);
    font-weight: 600;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: auto;
    flex-wrap: nowrap;
}

[dir="ltr"] .navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

.nav-link {
    color: rgba(255, 255, 255, .8);
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, .1);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.btn-lang {
    background: rgba(255, 255, 255, .1);
    color: white;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.btn-lang:hover {
    background: rgba(255, 255, 255, .2);
}

.btn-book-nav {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-radius: var(--radius-sm);
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(34, 169, 225, .35);
    transition: var(--transition);
}

.btn-book-nav:hover {
    color: white;
    opacity: .9;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    background: var(--primary-light);
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav .nav-link {
    display: block;
    padding: 10px 24px;
    border-radius: 0;
    font-size: 14.5px;
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, #0e5f7a 100%);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(34, 169, 225, .2);
    border: 1px solid rgba(34, 169, 225, .4);
    color: var(--secondary);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(26px, 5vw, 48px);
    font-weight: 900;
    color: white;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, .7);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 16px rgba(34, 169, 225, .35);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 169, 225, .4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, .4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    color: white;
    border-color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
}

.btn-whatsapp:hover {
    color: white;
    transform: translateY(-2px);
}

.btn-phone {
    background: #f8fafc;
    color: var(--primary);
    border: 1.5px solid #cbd5e1;
    font-weight: 800;
}

.btn-phone:hover {
    background: #f1f5f9;
    border-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* ── SECTION ─────────────────────────────────────────────────── */
.section {
    padding: 70px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-bg {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: rgba(34, 169, 225, .1);
    color: var(--secondary-dark);
    border: 1px solid rgba(34, 169, 225, .25);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 15px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 600;
}

/* ── SPECIALTY CARDS ─────────────────────────────────────────── */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.specialty-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.specialty-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.specialty-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 12px;
}

.specialty-name {
    font-size: 13.5px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.4;
}

.specialty-count {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 700;
    margin-top: 4px;
}

/* ── DOCTOR CARDS ─────────────────────────────────────────────── */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.doctor-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.doctor-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.doctor-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    flex-shrink: 0;
}

.doctor-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
    border: 3px solid var(--border);
}

.doctor-name {
    font-size: 15px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.3;
}

.doctor-title {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.4;
}

.doctor-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-fee {
    font-size: 13.5px;
    font-weight: 900;
    color: var(--primary);
}

.doctor-fee span {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    display: block;
}

.doctor-schedule-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 20px 14px;
}

.day-pill {
    background: rgba(34, 169, 225, .1);
    color: var(--secondary-dark);
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
}

/* ── TODAY's DOCTORS ──────────────────────────────────────────── */
.today-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 60px 0;
}

.today-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.today-title {
    font-size: 22px;
    font-weight: 900;
    color: white;
}

.today-day-badge {
    background: rgba(245, 158, 11, .15);
    border: 1px solid rgba(245, 158, 11, .4);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
}

.today-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.today-card:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.today-time {
    background: rgba(34, 169, 225, .25);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}

.today-time .hour {
    font-size: 18px;
    font-weight: 900;
    color: white;
    display: block;
}

.today-time .period {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
    font-weight: 700;
}

.today-info {
    flex: 1;
}

.today-doctor-name {
    font-size: 14px;
    font-weight: 900;
    color: white;
}

.today-doctor-title {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
}

.today-specialty {
    font-size: 11px;
    margin-top: 3px;
    font-weight: 700;
}

.today-fee {
    text-align: center;
    flex-shrink: 0;
}

.today-fee .fee-num {
    font-size: 15px;
    font-weight: 900;
    color: var(--gold);
    display: block;
}

.today-fee .fee-label {
    font-size: 10px;
    color: rgba(255, 255, 255, .5);
    font-weight: 700;
}

/* ── SERVICE CARDS ────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.service-item {
    background: white;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.service-name {
    font-size: 13.5px;
    font-weight: 700;
    flex: 1;
}

.service-price {
    font-size: 13px;
    font-weight: 900;
    color: var(--primary);
    white-space: nowrap;
    margin-right: 12px;
}

[dir="ltr"] .service-price {
    margin-right: 0;
    margin-left: 12px;
}

/* ── ARTICLE CARDS ────────────────────────────────────────────── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.article-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg);
}

.article-body {
    padding: 20px;
    flex: 1;
}

.article-category {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.article-title {
    font-size: 15px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-excerpt {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.6;
}

.article-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

/* ── OFFER CARDS ──────────────────────────────────────────────── */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.offer-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.offer-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.offer-body {
    padding: 20px;
}

.offer-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.offer-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 600;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ── WHY US / FEATURES ────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(32, 44, 94, .08), rgba(34, 169, 225, .08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
}

.feature-title {
    font-size: 15px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.6;
}

/* ── CTA SECTION ──────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    padding: 70px 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

.cta-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 32px;
    font-weight: 600;
}

/* ── CONTACT SECTION ──────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(32, 44, 94, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.contact-value a {
    color: var(--text);
}

.contact-value a:hover {
    color: var(--secondary);
}

/* ── FORM STYLES ──────────────────────────────────────────────── */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: white;
    color: var(--text);
    transition: var(--transition);
    direction: rtl;
}

[dir="ltr"] .form-control,
[dir="ltr"] .form-select {
    direction: ltr;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(34, 169, 225, .12);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ── QUICK CALL FLOAT ─────────────────────────────────────────── */
.phone-float {
    position: fixed;
    bottom: 156px;
    left: 24px;
    z-index: 500;
}

[dir="rtl"] .phone-float {
    left: auto;
    right: 24px;
}

.phone-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    animation: phone-wobble 4.5s ease-in-out infinite, pulse-sonar-blue 2.8s infinite;
}

.phone-btn:hover {
    transform: scale(1.12) translateY(-2px);
    color: white;
    box-shadow: 0 8px 28px rgba(2, 132, 199, 0.6);
}

.phone-btn.active {
    background: linear-gradient(135deg, #0369a1, #0c4a6e);
    transform: scale(1.05);
}

/* ── Phone Call Dropdown Card ── */
.phone-call-card {
    position: absolute;
    bottom: 66px;
    left: 0;
    width: 295px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 510;
}

[dir="rtl"] .phone-call-card {
    left: auto;
    right: 0;
}

.phone-call-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.phone-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: linear-gradient(135deg, #181f47, #202c5e);
    color: #ffffff;
}

.phone-card-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(34, 169, 225, 0.22);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.phone-card-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.phone-card-sub {
    margin: 2px 0 0;
    font-size: 10.5px;
    color: #cbd5e1;
}

.phone-card-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.phone-card-close:hover {
    color: #ffffff;
}

.phone-card-list {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
}

.phone-call-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.2s ease;
}

.phone-call-item:hover {
    background: #f0f9ff;
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.14);
}

.phone-call-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.phone-call-item:hover .phone-call-icon {
    background: #0284c7;
    color: #ffffff;
}

.phone-call-info {
    flex: 1;
    min-width: 0;
}

.phone-call-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.phone-call-num {
    display: block;
    font-size: 14.5px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.4px;
}

.phone-call-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 8px;
    flex-shrink: 0;
}

.phone-call-item:hover .phone-call-badge {
    background: #0284c7;
    color: #ffffff;
}

.phone-card-footer {
    padding: 8px 14px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.phone-card-hours {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ── WHATSAPP FLOAT ───────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 500;
}

[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 24px;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    animation: pulse-sonar-green 2.8s infinite, wa-breathe 4.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.12) translateY(-2px);
    color: white;
    box-shadow: 0 8px 28px rgba(37, 211, 102, .6);
}

/* ── CHATBOT FLOAT (Anchored on the LEFT) ──────────────────────── */
.chatbot-float {
    position: fixed;
    bottom: 24px;
    left: 24px !important;
    right: auto !important;
    z-index: 500;
}

[dir="rtl"] .chatbot-float {
    left: 24px !important;
    right: auto !important;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
    color: white;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 26px rgba(37, 99, 235, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.28) inset;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    animation: pulse-sonar-bot 3s infinite, bot-float 4s ease-in-out infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.4) inset;
}

.chatbot-toggle .ch-icon-close {
    display: none;
    font-size: 22px;
}

.chatbot-toggle .ch-icon-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle.open .ch-icon-open {
    display: none;
}

.chatbot-toggle.open .ch-icon-close {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chatbot Teaser Pill */
.chatbot-teaser-pill {
    position: absolute;
    bottom: 70px;
    left: 0;
    white-space: nowrap;
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.28);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: teaser-bounce 3.5s ease-in-out infinite;
    z-index: 501;
}

[dir="rtl"] .chatbot-teaser-pill {
    left: 0;
    right: auto;
}

.chatbot-teaser-pill::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 22px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #0f172a;
}

[dir="rtl"] .chatbot-teaser-pill::after {
    left: 22px;
    right: auto;
}

.chatbot-toggle.open .chatbot-teaser-pill {
    display: none !important;
}

@keyframes teaser-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ── EYE-CATCHING ANIMATIONS ──────────────────────────────────── */
@keyframes phone-wobble {

    0%,
    72%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(-14deg) scale(1.08);
    }

    78% {
        transform: rotate(14deg) scale(1.08);
    }

    81% {
        transform: rotate(-12deg) scale(1.08);
    }

    84% {
        transform: rotate(12deg) scale(1.08);
    }

    87% {
        transform: rotate(-6deg) scale(1.04);
    }

    90% {
        transform: rotate(6deg) scale(1.02);
    }

    93% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes pulse-sonar-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.65), 0 4px 20px rgba(2, 132, 199, 0.4);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(2, 132, 199, 0), 0 4px 24px rgba(2, 132, 199, 0.45);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), 0 4px 20px rgba(2, 132, 199, 0.4);
    }
}

@keyframes pulse-sonar-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 24px rgba(37, 211, 102, 0.5);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@keyframes pulse-sonar-bot {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.65), 0 6px 26px rgba(37, 99, 235, 0.45);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 99, 235, 0), 0 6px 30px rgba(37, 99, 235, 0.55);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), 0 6px 26px rgba(37, 99, 235, 0.45);
    }
}

@keyframes wa-breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bot-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Green online status ping dot */
.floating-online-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
}

.floating-online-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1.5px solid #10b981;
    animation: ping-ring 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.chatbot-window {
    position: absolute;
    bottom: 74px;
    left: 0 !important;
    right: auto !important;
    width: 385px;
    max-width: calc(100vw - 32px);
    height: 570px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 10010;
}

[dir="rtl"] .chatbot-window {
    left: 0 !important;
    right: auto !important;
}

.chatbot-window.open {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header .ch-icon {
    font-size: 22px;
}

.chatbot-header .ch-name {
    font-size: 13.5px;
    font-weight: 900;
    color: white;
}

.chatbot-header .ch-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
}

.ch-action-btn {
    background: rgba(255, 255, 255, .15);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background .2s;
}

.ch-action-btn:hover {
    background: rgba(255, 255, 255, .3);
}

.chatbot-header .ch-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    scroll-behavior: smooth;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    max-width: 88%;
    line-height: 1.5;
}

.chat-msg.bot {
    background: white;
    border: 1px solid var(--border);
    align-self: flex-start;
    border-radius: 4px var(--radius) var(--radius) var(--radius);
}

[dir="ltr"] .chat-msg.bot {
    border-radius: var(--radius) 4px var(--radius) var(--radius);
}

.chat-msg.user {
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    color: white;
    align-self: flex-end;
    border-radius: var(--radius) var(--radius) 4px var(--radius);
}

[dir="ltr"] .chat-msg.user {
    border-radius: var(--radius) var(--radius) var(--radius) 4px;
}

/* In-Chat Booking Cards */
.chat-booking-card {
    background: #ffffff;
    border: 1.5px solid #10b981;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 6px 0;
    box-shadow: 0 4px 16px rgba(16, 185, 129, .14);
    align-self: stretch;
    animation: cbcFadeIn .25s ease-out;
}

@keyframes cbcFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cbc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.cbc-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.cbc-ref {
    font-weight: 900;
    font-size: 13.5px;
    color: var(--primary);
    direction: ltr;
}

.cbc-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
}

.cbc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cbc-label {
    color: #64748b;
    font-weight: 700;
    font-size: 11.5px;
}

.cbc-wa-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, .25);
    transition: transform .2s, box-shadow .2s;
}

.cbc-wa-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}

/* Chatbot Quick Reply Chips (Pills) */
.chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-self: stretch;
    margin: 4px 0 6px;
    animation: chipsFadeIn .2s ease-out;
}

@keyframes chipsFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    text-align: right;
    line-height: 1.3;
}

[dir="ltr"] .chat-chip-btn {
    text-align: left;
}

.chat-chip-btn:hover {
    background: #f8fafc;
    border-color: var(--secondary);
    color: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
}

.chat-chip-btn.chip-highlight {
    background: linear-gradient(135deg, var(--secondary), #0284c7);
    color: white !important;
    border-color: transparent;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(13, 148, 136, .28);
}

.chat-chip-btn.chip-highlight:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 5px 14px rgba(13, 148, 136, .38);
    opacity: 0.95;
}

.chat-chip-btn.chip-danger {
    background: #fff5f5;
    border-color: #fed7d7;
    color: #e53e3e;
    font-size: 11.5px;
}

.chat-chip-btn.chip-danger:hover {
    background: #fed7d7;
    color: #9b2c2c;
    border-color: #feb2b2;
}

/* Chatbot 3-Dots Animated Typing Indicator */
.chat-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: fit-content;
    align-self: flex-start;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.chat-typing-dots span {
    width: 6.5px;
    height: 6.5px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    animation: chatBounce 1.2s infinite ease-in-out;
}

.chat-typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.chat-typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.chat-typing-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes chatBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.35;
    }

    40% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Chatbot Input Box */
.chatbot-input-area {
    padding: 10px 12px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chatbot-input-area input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
    background: #f8fafc;
}

.chatbot-input-area input:focus {
    border-color: var(--secondary);
    background: #ffffff;
}

.chatbot-input-area button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), #0284c7);
    border: none;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s, background .2s;
    flex-shrink: 0;
}

.chatbot-input-area button:hover {
    transform: scale(1.06);
}

.chatbot-input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ── BREADCRUMBS ──────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    flex-wrap: wrap;
    padding: 16px 0;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: #cbd5e1;
}

.breadcrumb .current {
    color: var(--primary);
}

/* ── PAGE HEADER ──────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 50px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    font-weight: 600;
}

/* ── DOCTOR PROFILE ───────────────────────────────────────────── */
.doctor-profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}

.doctor-profile-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 1;
}

.doctor-profile-photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* ── SCHEDULE TABLE ───────────────────────────────────────────── */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 10px 14px;
    text-align: right;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

[dir="ltr"] .schedule-table th,
[dir="ltr"] .schedule-table td {
    text-align: left;
}

.schedule-table th {
    background: var(--bg);
    font-weight: 800;
    color: var(--primary);
    font-size: 13px;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: #fafbfc;
}

.time-badge {
    display: inline-block;
    background: rgba(32, 44, 94, .08);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
}

/* ── FAQ ACCORDION ────────────────────────────────────────────── */
.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}

.faq-question::after {
    content: '▼';
    font-size: 11px;
    color: var(--secondary);
    transition: transform .25s;
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 20px 16px;
}

.faq-answer p {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.7;
}

/* ── GALLERY ──────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ── SEARCH/FILTER BAR ────────────────────────────────────────── */
.filter-bar {
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid var(--border);
}

.filter-search {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    min-width: 200px;
}

.filter-select {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-family: inherit;
    background: white;
    cursor: pointer;
    min-width: 160px;
}

/* ── MAP EMBED ────────────────────────────────────────────────── */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, .7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.footer-brand-desc {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.footer-heading {
    font-size: 13px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: 17px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .4);
    font-weight: 600;
}

/* ── BADGES & TAGS ────────────────────────────────────────────── */
.tag {
    display: inline-block;
    background: rgba(34, 169, 225, .1);
    color: var(--secondary-dark);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

/* ── ALERTS ───────────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: var(--success);
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: var(--danger);
}

.alert-info {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* ── CARDS (generic) ──────────────────────────────────────────── */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-body {
    padding: 24px;
}

/* ── RESPONSIVE HELPER CLASSES ─────────────────────────────── */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    flex-wrap: wrap;
}

.page-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.service-page-main .page-layout-grid > * {
    min-width: 0;
}

.service-page-main img {
    max-width: 100%;
}

.service-page-main h1,
.service-page-main h2,
.service-page-main h3,
.service-page-main p,
.service-page-main a,
.service-page-main span,
.service-page-main div {
    overflow-wrap: anywhere;
}

.table-responsive,
.table-wrap,
.schedule-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── QUICK FINDER BAR ────────────────────────────────────────── */
.quick-finder-wrap {
    margin-top: -32px;
    position: relative;
    z-index: 25;
    margin-bottom: 45px;
}

.quick-finder-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px 26px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border);
}

.quick-finder-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.quick-finder-field {
    flex: 1;
    min-width: 220px;
}

.quick-finder-field label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.quick-finder-select {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    transition: var(--transition);
}

.quick-finder-select:focus {
    border-color: var(--secondary);
    background: #ffffff;
}

.quick-finder-btn {
    padding: 11px 24px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

/* ── FEATURES GRID ───────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

/* ── MODERN SPECIALTIES GRID ─────────────────────────────────── */
.specialties-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.specialty-chip-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all .25s ease;
    box-shadow: var(--shadow-sm);
}

.specialty-chip-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(34, 169, 225, 0.14);
}

.spec-icon-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
    transition: transform .25s ease;
}

.specialty-chip-card:hover .spec-icon-avatar {
    transform: scale(1.1);
}

.spec-chip-name {
    font-weight: 900;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.35;
}

.spec-chip-docs {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
}

/* ── UNIFIED DOCTORS TABS ────────────────────────────────────── */
.doctor-tabs-nav {
    display: inline-flex;
    background: #e2e8f0;
    padding: 5px;
    border-radius: 30px;
    gap: 6px;
    margin-bottom: 30px;
}

.doc-tab-btn {
    padding: 9px 22px;
    border-radius: 25px;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-tab-btn:hover {
    color: var(--primary);
}

.doc-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.doctor-tab-pane {
    display: none;
}

.doctor-tab-pane.active {
    display: block;
}

/* ── CURATED SERVICES GRID ───────────────────────────────────── */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card-modern {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all .25s ease;
}

.service-card-modern:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* ── LOCATION CTA BANNER ─────────────────────────────────────── */
.location-cta-banner {
    background: linear-gradient(135deg, #181f47 0%, #202c5e 60%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .doctor-profile-grid {
        grid-template-columns: 1fr;
    }

    .doctor-profile-photo,
    .doctor-profile-photo-placeholder {
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: var(--header-h-mobile);
    }

    .navbar {
        height: 56px;
        justify-content: space-between;
    }

    .site-header.is-scrolled .navbar {
        height: 50px;
    }

    .navbar-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-book-nav {
        display: none;
    }

    .navbar-actions {
        margin-inline-start: auto;
    }

    .navbar-name {
        font-size: 13px;
    }

    .navbar-name span {
        font-size: 9.5px;
    }

    .navbar-logo {
        height: 32px;
        max-width: 130px;
    }

    .site-header.is-scrolled .navbar-logo {
        height: 26px;
    }

    .mobile-nav {
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        padding: 14px 0 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .mobile-nav .nav-link {
        padding: 11px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 14px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .page-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .specialties-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 44px 0;
    }

    .hero {
        padding: 28px 0 36px;
    }

    /* Homepage components responsive */
    .quick-finder-wrap {
        margin-top: 20px;
        margin-bottom: 32px;
    }

    .quick-finder-box {
        padding: 18px 16px;
    }

    .quick-finder-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .quick-finder-field {
        min-width: 100%;
    }

    .quick-finder-btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .specialties-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .doctor-tabs-nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .doc-tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .location-cta-banner {
        padding: 28px 20px;
        text-align: center;
    }

    /* Mobile Chatbot - App Bottom Sheet Experience */
    .chatbot-window {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 86vh;
        max-height: 86vh;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -12px 45px rgba(15, 23, 42, 0.35);
        z-index: 10010;
    }

    .chatbot-float,
    [dir="rtl"] .chatbot-float {
        bottom: 84px !important;
        left: 14px !important;
        right: auto !important;
    }

    .whatsapp-float {
        bottom: 16px;
        right: auto;
        left: 16px;
    }

    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 16px;
    }

    .phone-float {
        bottom: 74px;
        right: auto;
        left: 16px;
    }

    [dir="rtl"] .phone-float {
        right: auto;
        left: 16px;
    }

    .phone-call-card {
        bottom: 56px;
        left: 0;
        right: auto;
        width: 285px;
        max-width: calc(100vw - 32px);
    }

    [dir="rtl"] .phone-call-card {
        left: 0;
        right: auto;
    }

    .chatbot-toggle,
    .whatsapp-btn,
    .phone-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 16px;
        padding-block: 0;
    }

    .hero h1 {
        font-size: 26px !important;
    }

    .hero p {
        font-size: 14.5px !important;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        gap: 12px;
        justify-content: space-around;
    }

    .btn {
        padding: 11px 18px;
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Formatted Article Body Typography ── */
.article-body {
    font-size: 16.5px;
    line-height: 2.1;
    color: #334155;
}

.article-body h2,
.article-body h3,
.article-heading {
    color: #202c5e;
    font-weight: 800;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.45;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.article-body h3,
h3.article-heading {
    font-size: 20px;
}

.article-body h2,
h2.article-heading {
    font-size: 23px;
}

.article-body p,
.article-p {
    margin-bottom: 18px;
    color: #475569;
}

.article-body ul,
.article-body ol,
.article-list {
    margin: 16px 0 24px;
    padding-right: 28px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.9;
    color: #334155;
}

.article-body strong {
    color: #0f172a;
    font-weight: 800;
}

.article-body blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    background: #f8fafc;
    border-right: 4px solid var(--primary);
    border-radius: 6px;
    font-style: italic;
    color: #1e293b;
}

/* ═══════════════════════════════════════════════════════════════
   MODERN INTERACTIVE BOOKING WIZARD (UX / UI)
   ═══════════════════════════════════════════════════════════════ */
.booking-wizard-wrapper {
    padding: 35px 0 70px;
}

/* Trust Bar */
.wizard-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.trust-badge-item span.icon {
    font-size: 15px;
}

/* ── Booking Mode Switcher (Doctor vs Service vs Offer) ── */
.booking-mode-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.mode-tab-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: right;
    font-family: inherit;
}

[dir="ltr"] .mode-tab-btn {
    text-align: left;
}

.mode-tab-btn:hover {
    background: rgba(255, 255, 255, 0.7);
}

.mode-tab-btn.active {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.mode-tab-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
}

.mode-tab-btn.active .mode-tab-icon {
    background: rgba(34, 169, 225, 0.15);
    border-color: rgba(34, 169, 225, 0.35);
    color: var(--secondary-dark);
    transform: scale(1.06);
}

.mode-tab-text {
    display: flex;
    flex-direction: column;
}

.mode-tab-title {
    font-size: 15px;
    font-weight: 900;
    color: #334155;
    line-height: 1.3;
}

.mode-tab-btn.active .mode-tab-title {
    color: var(--primary);
}

.mode-tab-desc {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
}

/* Stepper Header */
.wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    position: relative;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.25s ease;
    user-select: none;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.step-info {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.step-title {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

.step-divider {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 16px;
    position: relative;
    transition: background 0.3s ease;
}

/* Stepper States */
.step-item.active .step-num {
    background: var(--primary);
    color: #ffffff;
    border-color: rgba(34, 169, 225, 0.5);
    box-shadow: 0 4px 14px rgba(32, 44, 94, 0.25);
    transform: scale(1.05);
}

.step-item.active .step-title {
    color: var(--primary);
    font-weight: 900;
}

.step-item.active .step-label {
    color: var(--secondary-dark);
}

.step-item.completed .step-num {
    background: #10b981;
    color: #ffffff;
}

.step-item.completed .step-title {
    color: #10b981;
}

.step-divider.filled {
    background: #10b981;
}

/* Wizard Grid Layout */
.wizard-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* Wizard Cards & Panels */
.wizard-panel-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.05);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.wizard-step-pane {
    display: none;
    animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-step-pane.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-pane-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.step-pane-header h2 {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-pane-header p {
    font-size: 13.5px;
    color: #64748b;
}

/* Step 1: Specialty Grid & Search */
.wizard-search-box {
    position: relative;
    margin-bottom: 20px;
}

.wizard-search-box input {
    width: 100%;
    padding: 13px 44px 13px 18px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14.5px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

[dir="ltr"] .wizard-search-box input {
    padding: 13px 18px 13px 44px;
}

.wizard-search-box input:focus {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(34, 169, 225, 0.15);
}

.wizard-search-box .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

[dir="ltr"] .wizard-search-box .search-icon {
    right: auto;
    left: 16px;
}

.specialties-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    max-height: 480px;
    overflow-y: auto;
    padding: 4px;
}

.specialty-select-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.specialty-select-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 169, 225, 0.12);
}

.specialty-select-card.selected {
    border-color: var(--secondary);
    background: #f0f9ff;
    box-shadow: 0 8px 24px rgba(34, 169, 225, 0.18);
}

.specialty-select-card .spec-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.specialty-select-card:hover .spec-icon-box {
    transform: scale(1.1);
}

.specialty-select-card .spec-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 6px;
}

.specialty-select-card .spec-docs-count {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.spec-check-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

[dir="ltr"] .spec-check-indicator {
    left: auto;
    right: 10px;
}

.specialty-select-card.selected .spec-check-indicator {
    display: flex;
}

/* Step 2: Doctor Cards */
.doctors-select-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 520px;
    overflow-y: auto;
    padding: 4px;
}

.doctor-select-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.doctor-select-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
}

.doctor-select-card.selected {
    border-color: var(--secondary);
    background: #f0f9ff;
    box-shadow: 0 8px 24px rgba(34, 169, 225, 0.16);
}

.doctor-avatar-circle {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.doctor-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card-info {
    flex: 1;
}

.doctor-card-name {
    font-size: 15.5px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
}

.doctor-card-title {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 6px;
}

.doctor-card-schedules {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sched-day-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.doctor-select-card.selected .sched-day-badge {
    background: rgba(34, 169, 225, 0.15);
    color: #0284c7;
}

.doctor-card-pricing {
    text-align: left;
    flex-shrink: 0;
}

[dir="ltr"] .doctor-card-pricing {
    text-align: right;
}

.fee-badge-highlight {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.fee-badge-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* Fast Booking / Any Doctor Card */
.any-doctor-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 2px dashed #cbd5e1;
}

.any-doctor-card.selected {
    border: 2px solid var(--secondary);
    background: #f0f9ff;
}

/* ── Service Selection Cards in Step 2 ── */
.services-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    max-height: 520px;
    overflow-y: auto;
    padding: 4px;
    margin-bottom: 20px;
}

.service-select-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-select-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 169, 225, 0.12);
}

.service-select-card.selected {
    border-color: var(--secondary);
    background: #f0f9ff;
    box-shadow: 0 8px 24px rgba(34, 169, 225, 0.18);
}

.service-select-img {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.service-select-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-select-info {
    flex: 1;
    min-width: 0;
}

.service-select-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 3px;
}

.service-select-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 5px;
}

.service-select-fee {
    font-size: 14px;
    font-weight: 900;
    color: var(--primary);
}

.service-select-card.selected .service-select-fee {
    color: var(--secondary-dark);
}

.service-select-check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
}

[dir="ltr"] .service-select-check {
    left: auto;
    right: 10px;
}

.service-select-card.selected .service-select-check {
    display: flex;
}

/* Optional Doctor for Service Box */
.service-optional-doc-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 16px;
    margin-top: 18px;
}

.service-optional-doc-box.active {
    background: #ffffff;
    border-style: solid;
    border-color: var(--secondary);
}

/* ── Special Offers Selection Grid in Wizard ── */
.offers-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    max-height: 520px;
    overflow-y: auto;
    padding: 4px;
    margin-bottom: 20px;
}

.offer-select-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-select-card:hover {
    border-color: #f43f5e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.12);
}

.offer-select-card.selected {
    border-color: #e11d48;
    background: #fff1f2;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.16);
}

.offer-card-thumb {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.offer-card-thumb-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f43f5e, #be123c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    color: #ffffff;
}

.offer-card-content {
    flex: 1;
    min-width: 0;
}

.offer-card-badge {
    display: inline-block;
    background: #ffe4e6;
    color: #e11d48;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.offer-card-title {
    font-size: 14.5px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
}

.offer-card-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 6px;
}

.offer-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.offer-price-current {
    font-size: 16px;
    font-weight: 900;
    color: #be123c;
}

.offer-price-old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.offer-discount-tag {
    font-size: 10.5px;
    font-weight: 800;
    background: #fee2e2;
    color: #dc2626;
    padding: 1px 6px;
    border-radius: 6px;
    border: 1px solid #fca5a5;
}

.offer-card-timer {
    font-size: 11px;
    color: #dc2626;
    font-weight: 800;
    margin-top: 4px;
}

.offer-select-check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e11d48;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

[dir="ltr"] .offer-select-check {
    left: auto;
    right: 10px;
}

.offer-select-card.selected .offer-select-check {
    display: flex;
}

/* Step 3: Smart Date & Time Slots */
.date-selection-box {
    margin-bottom: 24px;
}

.smart-date-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

.smart-date-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(34, 169, 225, 0.15);
}

.doctor-schedule-hint {
    margin-top: 10px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    font-size: 13px;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.time-slot-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.time-slot-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.time-slot-card.selected {
    border-color: var(--secondary);
    background: #f0f9ff;
    box-shadow: 0 4px 14px rgba(34, 169, 225, 0.16);
}

.time-slot-icon {
    font-size: 24px;
    margin-bottom: 6px;
    display: block;
}

.time-slot-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    display: block;
}

.time-slot-hours {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    display: block;
}

/* Step 4: Patient Info Form */
.form-input-modern {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14.5px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.form-input-modern:focus {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(34, 169, 225, 0.15);
}

.booking-patient-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.booking-recap-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.recap-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13.5px;
}

.recap-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recap-label {
    color: #64748b;
    font-weight: 600;
}

.recap-val {
    color: #0f172a;
    font-weight: 800;
}

/* Wizard Navigation Controls */
.wizard-footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    gap: 14px;
}

.btn-wizard-next {
    background: linear-gradient(135deg, var(--secondary), #0284c7);
    color: #ffffff;
    border: none;
    padding: 13px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(34, 169, 225, 0.3);
}

.btn-wizard-next:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 169, 225, 0.4);
    color: #ffffff;
}

.btn-wizard-prev {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-wizard-prev:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Sidebar Live Summary */
.wizard-sticky-sidebar {
    position: sticky;
    top: 90px;
}

.summary-ticket-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

.summary-ticket-head {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 18px 20px;
}

.summary-ticket-head h3 {
    font-size: 15.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.summary-ticket-head p {
    font-size: 12px;
    color: #94a3b8;
}

.summary-ticket-body {
    padding: 20px;
}

.ticket-row {
    margin-bottom: 14px;
}

.ticket-row:last-child {
    margin-bottom: 0;
}

.ticket-row-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ticket-row-val {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

.ticket-row-val.empty {
    color: #cbd5e1;
    font-weight: 600;
    font-style: italic;
}

.ticket-dashed-sep {
    border-top: 1.5px dashed #e2e8f0;
    margin: 16px 0;
}

/* Success / Confirmation Ticket */
.booking-success-wrapper {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.success-ticket-box {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
}

.success-ticket-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    padding: 36px 20px 30px;
}

.success-ticket-header .check-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.success-ticket-header h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 6px;
}

.success-ref-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    margin-top: 6px;
}

.success-ticket-details {
    padding: 28px 30px;
    text-align: right;
}

[dir="ltr"] .success-ticket-details {
    text-align: left;
}

/* Responsive Booking Wizard Mobile UX */
@media (max-width: 900px) {
    .booking-hero-banner {
        padding: 14px 0 10px !important;
    }

    .booking-hero-banner h1 {
        font-size: clamp(17px, 4.5vw, 20px) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }

    .booking-hero-banner p {
        display: none !important;
    }

    .booking-hero-banner .hero-badge {
        display: none !important;
    }

    .booking-wizard-wrapper {
        padding: 10px 0 135px !important;
        /* Generous clearance so sticky bar never overlaps content */
    }

    /* Hide floating chatbot, whatsapp, and phone on mobile ONLY when booking wizard is present */
    .booking-wizard-wrapper~.chatbot-float,
    .booking-wizard-wrapper~.whatsapp-float,
    .booking-wizard-wrapper~.phone-float,
    body:has(.booking-wizard-wrapper) .chatbot-float,
    body:has(.booking-wizard-wrapper) .whatsapp-float,
    body:has(.booking-wizard-wrapper) .phone-float {
        display: none !important;
    }

    .wizard-main-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* Hide duplicate sidebar stacked on mobile */
    .wizard-sticky-sidebar {
        display: none !important;
    }

    .wizard-panel-card {
        padding: 14px 12px 28px !important;
        margin-bottom: 25px !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
    }

    .wizard-step-pane {
        padding-bottom: 35px !important;
    }

    /* Desktop Stepper hidden on mobile; replaced by slim mobile-stepper-ribbon */
    .wizard-stepper {
        display: none !important;
    }

    /* Segmented Tab Mode Switcher on Mobile (Ultra Compact 40px) */
    .booking-mode-switcher {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
        padding: 4px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        background: #f1f5f9 !important;
    }

    .mode-tab-btn {
        flex-direction: row !important;
        text-align: center !important;
        padding: 6px 2px !important;
        gap: 4px !important;
        border-radius: 8px !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 40px !important;
    }

    [dir="ltr"] .mode-tab-btn {
        text-align: center !important;
    }

    .mode-tab-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
        margin: 0 !important;
        border-radius: 5px !important;
        flex-shrink: 0 !important;
    }

    .mode-tab-title {
        font-size: 11.5px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .mode-tab-desc {
        display: none !important;
    }

    /* Step Panes Header */
    .step-pane-header {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }

    .step-pane-header h2 {
        font-size: 15.5px !important;
        margin-bottom: 2px !important;
        line-height: 1.3 !important;
    }

    .step-pane-header p {
        font-size: 11.5px !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
    }

    /* Step 1: Specialties Grid - Compact Chips (No Nested Scroll Trap!) */
    .specialties-select-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding: 0 !important;
    }

    .specialty-select-card {
        display: flex !important;
        align-items: center !important;
        text-align: right !important;
        gap: 8px !important;
        padding: 10px 8px !important;
        border-radius: 12px !important;
        min-height: 52px !important;
    }

    [dir="ltr"] .specialty-select-card {
        text-align: left !important;
    }

    .specialty-select-card .spec-icon-box {
        width: 34px !important;
        height: 34px !important;
        font-size: 17px !important;
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .specialty-select-card .spec-name {
        font-size: 12.5px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        flex: 1 !important;
    }

    .specialty-select-card .spec-docs-count {
        display: none !important;
    }

    .specialty-select-card .spec-check-indicator {
        top: 6px !important;
        left: 6px !important;
        right: auto !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }

    [dir="ltr"] .specialty-select-card .spec-check-indicator {
        right: 6px !important;
        left: auto !important;
    }

    /* Offers Grid on Mobile */
    .offers-select-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .offer-select-card {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    /* Doctor Select Cards on Mobile */
    .doctor-select-card {
        padding: 10px !important;
        border-radius: 12px !important;
        gap: 10px !important;
        margin-bottom: 8px !important;
        align-items: center !important;
    }

    .doctor-avatar-circle {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    .doctor-card-name {
        font-size: 13.5px !important;
        font-weight: 900 !important;
    }

    .doctor-card-title {
        font-size: 11px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .doctor-card-schedules {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-top: 3px !important;
    }

    .sched-day-badge {
        font-size: 10.5px !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }

    .doctor-card-pricing .fee-badge-highlight {
        font-size: 13.5px !important;
    }

    .doctor-card-pricing .fee-badge-sub {
        font-size: 10px !important;
    }

    /* Services Grid on Mobile */
    .services-select-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .service-select-card {
        padding: 10px !important;
        border-radius: 12px !important;
        gap: 10px !important;
    }

    .service-select-img {
        width: 44px !important;
        height: 44px !important;
        border-radius: 8px !important;
    }

    .service-select-name {
        font-size: 13px !important;
    }

    .service-select-fee {
        font-size: 12.5px !important;
    }

    /* Step 3: Swipeable Date Strip on Mobile */
    .avail-dates-label {
        font-size: 13px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        margin-bottom: 8px !important;
    }

    .custom-date-toggle-btn {
        font-size: 11.5px !important;
        padding: 3px 8px !important;
    }

    .avail-dates-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
        padding: 2px 2px 6px !important;
    }

    .avail-dates-grid::-webkit-scrollbar {
        display: none !important;
    }

    .avail-date-card {
        flex: 0 0 100px !important;
        min-width: 100px !important;
        padding: 8px 4px 10px !important;
        border-radius: 12px !important;
        text-align: center !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .avail-date-card .date-badge-soon {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        padding: 2px 5px !important;
        margin-bottom: 4px !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
        line-height: 1.2 !important;
    }

    .avail-date-card .date-badge-today {
        background: #0284c7 !important;
        color: #ffffff !important;
    }

    .avail-date-card .avail-date-day {
        font-size: 12.5px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .avail-date-card .avail-date-num {
        font-size: 13.5px !important;
        font-weight: 900 !important;
        margin-bottom: 3px !important;
    }

    .avail-date-card .avail-date-time {
        font-size: 11px !important;
    }

    .time-slot-btn {
        padding: 9px 6px !important;
        font-size: 12.5px !important;
        border-radius: 10px !important;
    }

    .coordination-notice-box {
        padding: 10px 12px !important;
        border-radius: 10px !important;
        gap: 10px !important;
        margin-top: 8px !important;
    }

    .coordination-notice-box>div:first-child {
        width: 32px !important;
        height: 32px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
    }

    .coordination-notice-box>div:last-child>div:first-child {
        font-size: 12.5px !important;
    }

    .coordination-notice-box>div:last-child>div:last-child {
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    /* Step 4: Patient Info Form Grid */
    .booking-patient-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .booking-recap-box {
        padding: 12px !important;
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }

    .recap-item {
        font-size: 12.5px !important;
        padding: 4px 0 !important;
    }

    .form-input-modern,
    .smart-date-input {
        font-size: 16px !important;
        /* Prevents auto-zoom on iOS Safari */
        min-height: 46px !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
    }

    /* Wizard Navigation Buttons: Compact inside panel */
    .wizard-footer-nav {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin-top: 20px !important;
        margin-bottom: 25px !important;
        padding-top: 14px !important;
    }

    .btn-wizard-next,
    .btn-wizard-prev,
    .wizard-footer-nav button {
        width: auto !important;
        flex: 1 !important;
        min-height: 44px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        justify-content: center !important;
        border-radius: 10px !important;
        padding: 8px 14px !important;
    }

    .btn-wizard-prev {
        flex: 0 0 90px !important;
        background: transparent !important;
        border: 1.5px solid #cbd5e1 !important;
        color: #475569 !important;
        font-size: 13px !important;
    }
}

/* ── Mobile Slim Stepper Ribbon ── */
.mobile-stepper-ribbon {
    display: none;
}

@media (max-width: 900px) {
    .mobile-stepper-ribbon {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 10px 14px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    }

    .mobile-stepper-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .mobile-stepper-badge {
        font-size: 11px;
        font-weight: 800;
        color: var(--secondary-dark);
        background: rgba(34, 169, 225, 0.12);
        padding: 2px 8px;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .mobile-stepper-title {
        font-size: 13px;
        font-weight: 900;
        color: #1e293b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        text-align: left;
    }

    [dir="ltr"] .mobile-stepper-title {
        text-align: right;
    }

    .mobile-progress-track {
        height: 4px;
        background: #e2e8f0;
        border-radius: 99px;
        overflow: hidden;
    }

    .mobile-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--secondary), var(--primary));
        border-radius: 99px;
        transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* ── Mobile Sticky Bottom Action Bar ── */
.booking-sticky-action-bar {
    display: none;
}

@media (max-width: 900px) {
    .booking-sticky-action-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border-top: 1.5px solid #e2e8f0 !important;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
        padding: 10px 14px max(10px, env(safe-area-inset-bottom)) !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .sticky-bar-back-btn {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #f8fafc !important;
        color: #334155 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .sticky-bar-back-btn:active {
        transform: scale(0.95) !important;
    }

    .sticky-bar-info {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .sticky-bar-title {
        font-size: 13.5px !important;
        font-weight: 900 !important;
        color: #0f172a !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.3 !important;
    }

    .sticky-bar-sub {
        font-size: 11.5px !important;
        color: var(--secondary-dark) !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .sticky-bar-btn {
        flex-shrink: 0 !important;
        min-height: 44px !important;
        padding: 8px 18px !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
        color: #ffffff !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 4px 14px rgba(34, 169, 225, 0.3) !important;
        transition: all 0.2s ease !important;
        font-family: inherit !important;
    }

    .sticky-bar-btn:active {
        transform: scale(0.97) !important;
    }

    .sticky-bar-btn.submit-mode {
        background: linear-gradient(135deg, #059669, #10b981) !important;
        box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    }
}

/* ── Dynamic Schedule & Date Slot Cards ── */
.dynamic-schedule-container {
    margin-bottom: 24px;
}

.avail-dates-label {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.avail-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.avail-date-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.avail-date-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 169, 225, 0.12);
}

.avail-date-card.selected {
    border-color: var(--secondary);
    background: #f0f9ff;
    box-shadow: 0 6px 20px rgba(34, 169, 225, 0.2);
}

@media (min-width: 901px) {
    .avail-date-card .date-badge-soon {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #10b981;
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 20px;
    }

    [dir="ltr"] .avail-date-card .date-badge-soon {
        left: auto;
        right: 8px;
    }
}

.avail-date-card .date-badge-today {
    background: #0284c7;
    animation: livePulseToday 2s infinite;
}

@keyframes livePulseToday {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.82;
    }

    100% {
        opacity: 1;
    }
}

.avail-date-card.is-today-card {
    border-color: #7dd3fc;
    background: #f0f9ff;
}

.avail-date-day {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 4px;
}

.avail-date-num {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.avail-date-time {
    display: inline-block;
    background: #eff6ff;
    color: #0284c7;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 8px;
}

.avail-date-card.selected .avail-date-time {
    background: var(--secondary);
    color: #ffffff;
}

.custom-date-toggle-btn {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.custom-date-toggle-btn:hover {
    color: var(--primary);
}

.schedule-warning-alert {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #92400e;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   MODERN DOCTORS DIRECTORY STYLES (doctors.php)
   ══════════════════════════════════════════════════════════════════ */
.doctors-hero-header {
    background: linear-gradient(135deg, #181f47 0%, #202c5e 60%, #0c4a6e 100%);
    padding: 55px 0 45px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.doctors-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 169, 225, 0.16);
    border: 1px solid rgba(34, 169, 225, 0.35);
    color: #38bdf8;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.doctors-hero-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.doctors-hero-subtitle {
    font-size: 15.5px;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* Hero Stats Bar */
.doctors-stats-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
}

.doctor-stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    transition: transform 0.25s ease, background 0.25s ease;
}

[dir="ltr"] .doctor-stat-item {
    text-align: left;
}

.doctor-stat-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.doctor-stat-icon {
    font-size: 24px;
}

.doctor-stat-num {
    font-size: 18px;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1.2;
}

.doctor-stat-text {
    font-size: 11.5px;
    color: #e2e8f0;
    font-weight: 700;
}

@media (max-width: 768px) {
    .doctors-stats-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
        padding: 0 4px;
    }

    .doctor-stat-item {
        padding: 10px 4px;
        flex-direction: column;
        justify-content: center;
        text-align: center !important;
        gap: 3px;
        border-radius: 12px;
    }

    .doctor-stat-icon {
        font-size: 20px;
    }

    .doctor-stat-num {
        font-size: 15px;
    }

    .doctor-stat-text {
        font-size: 10px;
        line-height: 1.2;
    }
}

/* Filter Section Container */
.doctors-filter-wrapper {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    padding: 22px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    margin-bottom: 28px;
}

/* Search Row & Quick Toggles */
.doctors-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.doc-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.doc-search-box input {
    width: 100%;
    padding: 13px 44px 13px 18px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    font-size: 14.5px;
    font-family: inherit;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

[dir="ltr"] .doc-search-box input {
    padding: 13px 18px 13px 44px;
}

.doc-search-box input:focus {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(34, 169, 225, 0.15);
}

.doc-search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    font-size: 17px;
    color: #94a3b8;
    pointer-events: none;
}

[dir="ltr"] .doc-search-icon {
    right: auto;
    left: 16px;
}

.doc-clear-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    display: none;
}

[dir="ltr"] .doc-clear-btn {
    left: auto;
    right: 14px;
}

.doc-clear-btn:hover {
    color: #ef4444;
}

/* Quick "Today Only" Toggle Button */
.btn-today-toggle {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    color: #166534;
    padding: 11px 18px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-today-toggle:hover,
.btn-today-toggle.active {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.btn-today-toggle .pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulseGreen 1.8s infinite;
}

.btn-today-toggle.active .pulse-indicator {
    background: #ffffff;
    animation: none;
}

@keyframes livePulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Specialty Filter Chips Bar */
.specialty-chips-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-top: 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    -webkit-overflow-scrolling: touch;
}

.specialty-chips-wrapper::-webkit-scrollbar {
    height: 4px;
}

.specialty-chips-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.specialty-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.specialty-chip-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: #f0f9ff;
    transform: translateY(-1px);
}

.specialty-chip-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(32, 44, 94, 0.2);
}

.specialty-chip-btn .chip-count {
    background: rgba(0, 0, 0, 0.07);
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.specialty-chip-btn.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Results Status Bar */
.doctors-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.doctors-counter-label {
    font-size: 14.5px;
    font-weight: 800;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctors-counter-label span.num-badge {
    background: #eff6ff;
    color: #0284c7;
    font-size: 12.5px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
}

.doctors-reset-filter-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-decoration: underline;
    display: none;
}

/* Specialty Section Grouping */
.specialty-block-section {
    margin-bottom: 48px;
    transition: all 0.3s ease;
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.specialty-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
}

.specialty-block-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.specialty-block-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1.5px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.specialty-block-heading {
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    line-height: 1.3;
    color: #0f172a;
}

.specialty-block-sub {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 700;
    margin-top: 2px;
}

.specialty-block-line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
}

.doctors-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

.doctor-card-modern {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.doctor-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(32, 44, 94, 0.12);
    border-color: #38bdf8;
}

@media (max-width: 600px) {
    .doctors-modern-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .doctor-card-modern {
        padding: 15px;
        border-radius: 16px;
    }

    .doc-card-head {
        gap: 12px;
        margin-bottom: 12px;
    }

    .doc-avatar-container,
    .doc-photo-img,
    .doc-avatar-placeholder {
        width: 58px;
        height: 58px;
    }

    .doc-card-name {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .doc-card-title {
        font-size: 12.5px;
    }

    .doc-pricing-strip {
        padding: 8px 12px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .doc-pricing-value {
        font-size: 15px;
    }

    .doc-schedule-card-box {
        padding: 10px 12px;
        margin-bottom: 12px;
        border-style: solid;
        border-color: #e2e8f0;
    }

    .doc-card-foot {
        padding-top: 10px;
        gap: 8px;
    }

    .btn-doc-book-direct {
        font-size: 13px;
        padding: 9px 12px;
    }

    .btn-doc-profile-link {
        font-size: 12.5px;
        padding: 9px 12px;
    }
}

/* Card Header: Avatar & Clean Typography */
.doc-card-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.doc-avatar-container {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.doc-photo-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.doc-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f0f9ff;
    border: 2px solid #bae6fd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 169, 225, 0.08);
}

.doc-avatar-placeholder svg {
    width: 48px;
    height: 48px;
}

.doc-info-block {
    flex: 1;
    min-width: 0;
}

.doc-card-name {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.doc-card-name:hover {
    color: var(--secondary);
}

.doc-card-title {
    font-size: 13.5px;
    color: #475569;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* Prominent Dual Pricing Strip (الكشف + الاستشارة) */
.doc-pricing-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 16px;
}

.doc-pricing-col {
    text-align: center;
    flex: 1;
}

.doc-pricing-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 3px;
    display: block;
}

.doc-pricing-value {
    font-size: 18px;
    font-weight: 900;
    color: #0284c7;
    display: block;
    line-height: 1.2;
}

.doc-pricing-value.followup-val {
    color: #059669;
}

.doc-pricing-sep {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
    margin: 0 8px;
}

/* Attendance & Schedule Box (مواعيد الحضور بالعيادة) */
.doc-schedule-card-box {
    margin-bottom: 18px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 13px 15px;
}

.doc-schedule-card-box .schedule-box-head {
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

/* Today Live Highlight */
.doc-live-today-pill {
    background: #ecfdf5;
    border: 1.5px solid #86efac;
    color: #15803d;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Days List */
.doc-schedule-days-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.doc-schedule-chip {
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.doc-schedule-chip.today-highlight {
    background: #eff6ff;
    border: 1.5px solid #93c5fd;
    color: #0284c7;
    font-weight: 900;
}

/* Card Bottom Footer: Full width action buttons */
.doc-card-foot {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-doc-book-direct {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary), #0284c7);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(34, 169, 225, 0.3);
    transition: all 0.22s ease;
}

.btn-doc-book-direct:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 169, 225, 0.4);
    color: #ffffff;
}

.btn-doc-profile-link {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-doc-profile-link:hover {
    background: #f1f5f9;
    color: var(--primary);
    border-color: #cbd5e1;
}

/* Empty State */
.doctors-empty-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px dashed #cbd5e1;
}

.doctors-empty-icon {
    font-size: 52px;
    margin-bottom: 14px;
}

.doctors-empty-title {
    font-size: 18px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 8px;
}

.doctors-empty-text {
    font-size: 14px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 20px;
}

.btn-empty-reset {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-empty-reset:hover {
    background: var(--secondary);
}

/* ══════════════════════════════════════════════════════════════════
   MODERN SERVICE CARDS DESIGN (services.php)
   ══════════════════════════════════════════════════════════════════ */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 22px;
}

.service-card-modern {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e8eef5;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px -8px rgba(32, 44, 94, 0.13), 0 0 0 1px rgba(34, 169, 225, 0.35);
    border-color: #38bdf8;
}

/* Edge-to-Edge Card Header Image */
.service-card-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
    display: block;
    border-radius: 19px 19px 0 0;
    text-decoration: none;
}

.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-modern:hover .service-card-img-wrap img {
    transform: scale(1.08);
}

.service-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.48) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-card-modern:hover .service-card-img-overlay {
    opacity: 0.75;
}

/* Frosted Glass Specialty Badge on Image */
.service-card-spec-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

[dir="ltr"] .service-card-spec-badge {
    right: auto;
    left: 12px;
}

.service-card-spec-badge .spec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

/* Floating Price Tag on Image */
.service-card-price-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    font-size: 13px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.22s ease;
}

[dir="ltr"] .service-card-price-tag {
    left: auto;
    right: 12px;
}

.service-card-modern:hover .service-card-price-tag {
    transform: scale(1.04);
}

/* Dedicated Price Strip inside Card Body */
.service-price-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.service-price-lbl {
    font-size: 12.5px;
    font-weight: 800;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-price-val {
    font-size: 16px;
    font-weight: 900;
    color: #15803d;
}

/* Card Body Content */
.service-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 14px;
}

.service-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 6px;
    min-height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-card-modern:hover .service-card-title a {
    color: #0284c7;
}

.service-card-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-desc.is-placeholder {
    color: #94a3b8;
    font-weight: 600;
}

/* Action Buttons */
.service-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-service-book {
    flex: 1;
    height: 42px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.24);
    transition: all 0.22s ease;
}

.btn-service-book:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.36);
    color: #ffffff;
}

.btn-service-book .btn-arrow {
    font-size: 14px;
    transition: transform 0.22s ease;
    display: inline-block;
}

.btn-service-book:hover .btn-arrow {
    transform: translateX(-4px);
}

[dir="ltr"] .btn-service-book:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-service-details {
    height: 42px;
    padding: 0 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 12.5px;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-service-details:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

@media (max-width: 640px) {
    .booking-mode-switcher {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mode-tab-btn {
        padding: 12px 14px;
        gap: 10px;
    }

    .mode-tab-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .mode-tab-title {
        font-size: 14px;
    }

    .services-select-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════
   MODERN COMPACT HOMEPAGE (CLEAN LUXURY MEDICAL UI - NO EMOJIS)
   ══════════════════════════════════════════════════════════════════ */
.hero-modern {
    background: linear-gradient(135deg, #101633 0%, #1a234f 45%, #0d132a 100%);
    padding: 55px 0 50px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 169, 225, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-modern .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 169, 225, 0.12);
    border: 1px solid rgba(34, 169, 225, 0.3);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-badge-pill i {
    font-size: 14px;
    color: #38bdf8;
}

.hero-title-modern {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-title-modern .text-highlight {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-modern {
    font-size: 15.5px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-actions-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(34, 169, 225, 0.15);
    border: 1px solid rgba(34, 169, 225, 0.25);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.hero-trust-num {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.hero-trust-label {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 700;
}

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(10, 15, 35, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #0f172a;
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.4s ease;
}

.hero-image-card:hover img {
    transform: scale(1.02);
}

.hero-floating-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-floating-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-floating-badge-title {
    font-size: 13.5px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.hero-floating-badge-sub {
    font-size: 11.5px;
    color: #38bdf8;
    font-weight: 700;
}

/* Floating Booking Bar */
.floating-booking-wrap {
    position: relative;
    margin-top: -30px;
    z-index: 30;
    margin-bottom: 45px;
}

.floating-booking-pill {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border: 1.5px solid #e2e8f0;
}

.floating-booking-form {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.floating-input-group {
    flex: 1;
    min-width: 230px;
    position: relative;
}

.floating-input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    color: #0284c7;
    font-size: 17px;
    pointer-events: none;
}

[dir="ltr"] .floating-input-icon {
    right: auto;
    left: 14px;
}

.floating-select {
    width: 100%;
    padding: 12px 42px 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

[dir="ltr"] .floating-select {
    padding: 12px 14px 12px 42px;
}

.floating-select:focus {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.floating-btn-submit {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Specialty Modern Strip */
.spec-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.spec-strip-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.spec-strip-card:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
}

.spec-strip-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-strip-icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.spec-strip-name {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
}

.spec-strip-count {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Today's Schedule Clean Cards */
.today-clean-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.today-clean-card:hover {
    border-color: #0284c7;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}

.today-time-badge {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    font-weight: 900;
    min-width: 72px;
    flex-shrink: 0;
}

.today-time-badge .time-val {
    font-size: 15px;
    line-height: 1.2;
    display: block;
}

.today-time-badge .time-period {
    font-size: 11.5px;
    font-weight: 700;
}

.today-doc-info {
    flex: 1;
    min-width: 0;
}

.today-doc-name {
    font-size: 15.5px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.today-doc-spec {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.today-doc-btn {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

/* Curated Offers Compact Cards */
.offer-clean-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.offer-clean-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.offer-clean-media {
    position: relative;
    height: 155px;
    overflow: hidden;
    background: #f8fafc;
}

.offer-clean-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-clean-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.offer-clean-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.offer-clean-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.offer-clean-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0 14px;
}

.offer-price-current {
    font-size: 20px;
    font-weight: 900;
    color: #0284c7;
}

.offer-price-old {
    font-size: 13.5px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

/* Prime Location & Contact Strip */
.location-clean-box {
    background: linear-gradient(135deg, #182046 0%, #1e285a 100%);
    border-radius: 20px;
    padding: 32px 36px;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.location-clean-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.location-clean-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.location-clean-title {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.location-clean-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.location-clean-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   HERO ACTIONS & TRUST STRIP COMPONENT STYLES
   ══════════════════════════════════════════════════════════════════ */
.hero-btn-book {
    border-radius: 12px;
    font-weight: 800;
    padding: 13px 26px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.hero-sub-actions {
    display: flex;
    gap: 10px;
}

.hero-btn-wa {
    border-radius: 12px;
    font-weight: 800;
    padding: 13px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.hero-btn-tel {
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    border-radius: 12px;
    padding: 13px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.hero-trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}

/* ══════════════════════════════════════════════════════════════════
   1. MULTI-MODE BOOKING HUB TABS & PANELS
   ══════════════════════════════════════════════════════════════════ */
.booking-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 12px;
}

.booking-mode-pill {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.booking-mode-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.booking-mode-pill.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.booking-mode-pill i {
    font-size: 15px;
}

.booking-panel {
    display: none;
    animation: fadeInMode 0.25s ease forwards;
}

.booking-panel.active {
    display: block;
}

@keyframes fadeInMode {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════════════════════════════
   2. CINEMATIC SPECIALTY SHOWCASE (HORIZONTAL SCROLL)
   ══════════════════════════════════════════════════════════════════ */
.cinematic-specs-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.cinematic-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.cinematic-track::-webkit-scrollbar {
    display: none;
}

.cinematic-card {
    flex: 0 0 320px;
    height: 300px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(2, 132, 199, 0.25);
}

.cinematic-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.cinematic-card:hover .cinematic-card-bg {
    transform: scale(1.08);
}

.cinematic-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.15) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.cinematic-card:hover .cinematic-card-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(2, 132, 199, 0.65) 60%, rgba(15, 23, 42, 0.2) 100%);
}

.cinematic-card-content {
    position: relative;
    z-index: 3;
}

.cinematic-title {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 6px;
}

.cinematic-info {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cinematic-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 800;
    transition: gap 0.2s ease;
}

.cinematic-card:hover .cinematic-btn-explore {
    color: #ffffff;
    gap: 10px;
}

/* ══════════════════════════════════════════════════════════════════
   3. UNIFIED SECTION HEADERS & ACTION STRIPS
   ══════════════════════════════════════════════════════════════════ */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-sub-badge {
    font-size: 13px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-main-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

.section-header-actions {
    display: flex;
    gap: 8px;
}

.today-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 800;
}

.spec-footer-strip {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.spec-footer-strip-text {
    font-size: 13.5px;
    font-weight: 800;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-footer-strip-text i {
    color: var(--secondary);
    font-size: 16px;
}

.spec-footer-strip-btn {
    border-radius: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ══════════════════════════════════════════════════════════════════
   4. EXECUTIVE 2x2 BALANCED DOCTOR CARDS (NON-TRADITIONAL DESIGN)
   ══════════════════════════════════════════════════════════════════ */
.exec-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

/* ── Unified Modern Spotlight Doctor Cards ── */
.spotlight-doc-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.spotlight-doc-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
    transform: translateY(-3px);
}

.spotlight-card-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.spotlight-avatar-wrap {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    position: relative;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.spotlight-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

.spotlight-doc-card:hover .spotlight-avatar-img {
    transform: scale(1.06);
}

.spotlight-live-dot {
    position: absolute;
    bottom: 4px;
    inset-inline-end: 4px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.spotlight-meta {
    flex: 1;
    min-width: 0;
}

.spotlight-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.spotlight-spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.spotlight-today-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 2.5px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.spotlight-name {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 3px;
    display: block;
    text-decoration: none;
    transition: color 0.2s ease;
}

.spotlight-doc-card:hover .spotlight-name {
    color: #0284c7;
}

.spotlight-title {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    gap: 10px;
}

.spotlight-fee-box {
    display: flex;
    flex-direction: column;
}

.spotlight-fee-lbl {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}

.spotlight-fee-num {
    font-size: 17px;
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
}

.spotlight-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-spotlight-profile {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-spotlight-profile:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-spotlight-book {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(34, 169, 225, 0.3);
    text-decoration: none;
}

.btn-spotlight-book:hover {
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(34, 169, 225, 0.45);
    transform: translateY(-1.5px);
}

/* ── Doctor Card Live Badge in doctors.php ── */
.doc-head-today-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 6px;
}

.chip-today-dot {
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    display: inline-block;
    margin-inline-end: 4px;
}

.spotlight-browse-bar {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.spotlight-browse-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spotlight-browse-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.spotlight-browse-title {
    font-weight: 800;
    font-size: 14px;
    color: #0f172a;
}

.spotlight-browse-sub {
    font-size: 12px;
    color: #64748b;
}

.spotlight-browse-btn {
    border-radius: 10px;
    font-weight: 800;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   5. CURATED OFFERS GRID
   ══════════════════════════════════════════════════════════════════ */
.offers-clean-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ══════════════════════════════════════════════════════════════════
   6. RESPONSIVE OPTIMIZATIONS (TABLETS & PHONES)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-modern .hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-image-card {
        max-width: 460px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .exec-doc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .offers-clean-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .location-clean-box {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 24px 0 28px;
        text-align: center;
    }
}

@media (max-width: 600px) {

    /* 1. Hero Section */
    .hero-modern {
        padding: 20px 0 24px;
        text-align: center;
    }

    .hero-badge-pill {
        font-size: 11.5px;
        padding: 5px 12px;
        margin: 0 auto 12px;
        line-height: 1.4;
    }

    .hero-title-modern {
        font-size: 22.5px;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .hero-desc-modern {
        font-size: 13.5px;
        line-height: 1.65;
        margin: 0 auto 18px;
        color: #cbd5e1;
    }

    .hero-actions-modern {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero-btn-book {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }

    .hero-sub-actions {
        display: flex;
        width: 100%;
        gap: 8px;
    }

    .hero-btn-wa,
    .hero-btn-tel {
        flex: 1;
        justify-content: center;
        padding: 10px 10px;
        font-size: 13px;
    }

    .hero-trust-strip {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding-top: 14px;
        margin-top: 6px;
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-trust-divider {
        display: none;
    }

    .hero-trust-item {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .hero-trust-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border-radius: 8px;
        margin: 0 auto;
    }

    .hero-trust-num {
        font-size: 14.5px;
    }

    .hero-trust-label {
        font-size: 10px;
        line-height: 1.2;
    }

    .hero-floating-badge {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        border-radius: 10px;
        gap: 8px;
    }

    .hero-floating-badge-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 7px;
    }

    .hero-floating-badge-title {
        font-size: 11.5px;
    }

    .hero-floating-badge-sub {
        font-size: 9.5px;
    }

    /* 2. Floating Booking Hub */
    .floating-booking-wrap {
        margin-top: 14px;
        margin-bottom: 28px;
    }

    .floating-booking-pill {
        padding: 14px 14px 18px;
        border-radius: 16px;
    }

    .booking-mode-tabs {
        gap: 6px;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .booking-mode-pill {
        padding: 8px 4px;
        font-size: 11.5px;
        border-radius: 10px;
        gap: 4px;
    }

    .booking-mode-pill i {
        font-size: 12.5px;
    }

    .floating-booking-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .floating-input-group {
        min-width: 100%;
    }

    .floating-select {
        font-size: 16px !important;
        /* Prevents iOS Safari auto-zoom */
        padding: 11px 38px 11px 12px;
        border-radius: 10px;
    }

    [dir="ltr"] .floating-select {
        padding: 11px 12px 11px 38px;
    }

    .floating-btn-submit {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    /* 3. Section Common Headers */
    .section-header-row {
        margin-bottom: 14px;
    }

    .section-main-title {
        font-size: 19px;
    }

    .today-live-pill {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* 4. Cinematic Specialties Showcase */
    .cinematic-specs-wrapper {
        margin-bottom: 18px;
    }

    .cinematic-track {
        gap: 14px;
        padding: 4px 2px 14px;
        -webkit-overflow-scrolling: touch;
    }

    .cinematic-card {
        flex: 0 0 74vw;
        max-width: 270px;
        height: 230px;
        border-radius: 16px;
        padding: 16px;
    }

    .cinematic-title {
        font-size: 16.5px;
        margin-bottom: 4px;
    }

    .cinematic-info {
        font-size: 11.5px;
        margin-bottom: 10px;
    }

    .cinematic-btn-explore {
        font-size: 12px;
    }

    .spec-footer-strip {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .spec-footer-strip-text {
        justify-content: center;
        font-size: 12.5px;
    }

    .spec-footer-strip-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 13px;
    }

    /* 5. Executive Doctor Cards (Compact, Horizontal & Sleek on Mobile) */
    .exec-doc-card {
        padding: 15px 16px;
        border-radius: 18px;
    }

    .exec-card-topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
    }

    .exec-spec-badge {
        font-size: 11px;
        padding: 3px 8px;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.35;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .exec-live-badge,
    .exec-upcoming-badge {
        font-size: 10.5px;
        padding: 3px 8px;
        flex-shrink: 0;
    }

    /* 5. Spotlight Doctor Cards Mobile Optimization */
    .spotlight-doc-card {
        padding: 16px;
    }

    .spotlight-card-top {
        gap: 12px;
    }

    .spotlight-avatar-wrap {
        width: 68px;
        height: 68px;
        border-radius: 14px;
    }

    .spotlight-name {
        font-size: 16px;
    }

    .spotlight-title {
        font-size: 12px;
    }

    .btn-spotlight-profile {
        padding: 7px 11px;
        font-size: 12px;
    }

    .btn-spotlight-book {
        padding: 7px 14px;
        font-size: 12.5px;
    }

    .spotlight-browse-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
        padding: 15px;
        border-radius: 14px;
    }

    .spotlight-browse-info {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .spotlight-browse-title {
        font-size: 13.5px;
    }

    .spotlight-browse-sub {
        font-size: 11.5px;
    }

    .spotlight-browse-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 13px;
    }

    /* 6. Curated Offers & Location Box */
    .offers-clean-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .offer-clean-media {
        height: 160px;
    }

    .offer-clean-title {
        font-size: 15px;
    }

    .location-clean-box {
        padding: 20px 16px;
        border-radius: 16px;
        text-align: center;
    }

    .location-clean-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .location-clean-tag {
        justify-content: center;
    }

    .location-clean-title {
        font-size: 19px;
    }

    .location-clean-desc {
        font-size: 12.5px;
    }

    .location-clean-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .location-clean-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13.5px;
    }
}

/* ── Mobile Bottom Sticky Action Bar & Mobile CTA ── */
.mobile-sticky-action-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 68px !important;
    }

    .mobile-sticky-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.12);
        z-index: 999;
        border-top: 1px solid #e2e8f0;
        align-items: center;
        justify-content: space-around;
        padding: 6px 10px;
        gap: 8px;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    }

    .m-action-btn {
        flex: 1;
        height: 44px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 800;
        font-family: inherit;
        text-decoration: none !important;
        transition: all 0.2s ease;
        outline: none;
    }

    .m-action-call {
        background: #f0fdf4;
        color: #15803d !important;
        border: 1.5px solid #bbf7d0;
        cursor: pointer;
    }

    .m-action-call:active {
        background: #dcfce7;
    }

    .m-action-wa {
        background: #25d366;
        color: #ffffff !important;
        border: none;
    }

    .m-action-wa:active {
        background: #1eb956;
    }

    .m-action-book {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: #ffffff !important;
        border: none;
        box-shadow: 0 3px 10px rgba(34, 169, 225, 0.35);
    }

    .m-action-book:active {
        opacity: 0.9;
    }

    .phone-float {
        display: none !important;
    }

    .whatsapp-float {
        display: none !important;
    }

    .chatbot-float,
    [dir="rtl"] .chatbot-float {
        bottom: 84px !important;
        left: 14px !important;
        right: auto !important;
    }

    .chatbot-toggle {
        width: 48px !important;
        height: 48px !important;
    }

    .chatbot-teaser-pill {
        display: none !important;
    }

    /* Mobile Chatbot - App Bottom Sheet Experience */
    .chatbot-window {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 86vh !important;
        max-height: 86vh !important;
        border-radius: 22px 22px 0 0 !important;
        box-shadow: 0 -12px 45px rgba(15, 23, 42, 0.35) !important;
        z-index: 10010 !important;
    }

    .chatbot-input-area {
        padding-bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
    }

    /* Hide sticky action bar smoothly when chatbot is open */
    body.chatbot-is-open .mobile-sticky-action-bar {
        transform: translateY(115%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.chatbot-is-open .chatbot-float {
        z-index: 10005 !important;
    }
}

/* ── Mobile Call Sheet Drawer (اختيار رقم الاتصال) ───────────────── */
.mobile-call-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-call-sheet-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.mobile-call-sheet {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
}

.mobile-call-sheet-backdrop.show .mobile-call-sheet {
    transform: translateY(0);
}

.m-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, #181f47 0%, #202c5e 100%);
    color: #ffffff;
    position: relative;
}

.m-sheet-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
}

.m-sheet-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.m-sheet-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(34, 169, 225, 0.25);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.m-sheet-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.m-sheet-sub {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: #cbd5e1;
}

.m-sheet-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.m-sheet-close:active {
    background: rgba(255, 255, 255, 0.3);
}

.m-sheet-list {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
}

.m-sheet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none !important;
    color: #0f172a;
    transition: all 0.2s ease;
}

.m-sheet-item:active {
    background: #f0f9ff;
    border-color: #0284c7;
    transform: scale(0.98);
}

.m-sheet-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.m-sheet-item-icon-mob {
    background: #dcfce7;
    color: #16a34a;
}

.m-sheet-item-info {
    flex: 1;
    min-width: 0;
}

.m-sheet-item-label {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
}

.m-sheet-item-num {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.m-sheet-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #0284c7;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.m-sheet-footer {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.m-sheet-hours {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.m-sheet-cancel {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}

.m-sheet-cancel:active {
    background: #e2e8f0;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE ENHANCEMENTS & SAFE PADDING (v2.4)
   ══════════════════════════════════════════════════════════════ */

/* Display Helpers */
.d-mobile-none {
    display: initial !important;
}

.d-mobile-block {
    display: none !important;
}

.d-desktop-none {
    display: none !important;
}

.d-desktop-block {
    display: block !important;
}

@media (max-width: 768px) {
    .d-mobile-none {
        display: none !important;
    }

    .d-mobile-block {
        display: block !important;
    }

    .d-desktop-none {
        display: block !important;
    }

    .d-desktop-block {
        display: none !important;
    }

    /* Service Cards Mobile Streamlining */
    .service-card-img-wrap {
        height: 155px !important;
    }

    .service-card-body {
        padding: 14px 16px !important;
    }

    .service-card-title {
        font-size: 15.5px !important;
        margin-bottom: 6px !important;
    }

    .service-card-desc {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-card-actions {
        gap: 6px !important;
    }

    .btn-service-book {
        height: 38px !important;
        font-size: 12.5px !important;
        border-radius: 10px !important;
    }

    .btn-service-details {
        height: 38px !important;
        font-size: 12px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
    }

    /* Doctor Profile Mobile Title Block */
    .doc-mobile-title-block {
        margin-top: 14px;
        margin-bottom: 12px;
        text-align: center;
    }

    .doc-mobile-name {
        font-size: 21px;
        font-weight: 900;
        color: var(--primary);
        margin: 0 0 4px;
        line-height: 1.3;
    }

    .doc-mobile-title {
        font-size: 13px;
        color: #64748b;
        font-weight: 700;
        margin: 0;
    }

    /* Single Service Page Mobile Quick Booking Card */
    .service-mobile-booking-card {
        background: #ffffff;
        border: 1.5px solid #bae6fd;
        border-radius: var(--radius-lg);
        padding: 16px 18px;
        margin-bottom: 22px;
        box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08);
    }

    .service-mobile-price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #e2e8f0;
        gap: 12px;
    }

    .service-mobile-price-lbl {
        font-size: 13px;
        font-weight: 700;
        color: #64748b;
    }

    .service-mobile-price-val {
        font-size: 22px;
        font-weight: 900;
        color: var(--primary);
        min-width: 0;
        text-align: end;
    }

    .btn-service-mobile-book {
        width: 100%;
        height: 44px;
        border-radius: 10px;
        font-weight: 800;
        font-size: 14.5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 3px 12px rgba(2, 132, 199, 0.28);
    }

    /* Single Service Page Compact Doctors List on Mobile */
    .service-doctors-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .service-doc-compact-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: right !important;
        gap: 12px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
    }

    [dir="ltr"] .service-doc-compact-card {
        text-align: left !important;
    }

    .service-doc-compact-avatar {
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }

    .service-doc-compact-info {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .service-doc-compact-name {
        font-weight: 800 !important;
        font-size: 14.5px !important;
        color: #1e293b !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .service-doc-compact-title {
        font-size: 11.5px !important;
        color: #64748b !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .service-doc-compact-btn {
        flex-shrink: 0 !important;
        font-size: 11.5px !important;
        padding: 6px 12px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
}