:root {
    --mbc-page-bg: #ffffff;
    --mbc-text: #111827;
    --mbc-text-soft: #6b7280;
    --mbc-border-soft: rgba(15, 23, 42, 0.06);
    --mbc-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.15);
    --mbc-shadow-soft: 0 8px 24px -12px rgba(15, 23, 42, 0.14);
    --mbc-primary-start: #0f4a46;
    --mbc-primary-end: #14b8a6;
    --mbc-secondary-start: #1e3a8a;
    --mbc-secondary-end: #3b82f6;
    --mbc-header-height: 74px;
    --mbc-radius-xl: 32px;
    --mbc-radius-lg: 24px;
    --mbc-radius-md: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.moshar-booking-choice-body {
    min-height: 100vh;
    background: var(--mbc-page-bg);
    color: var(--mbc-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

body.moshar-booking-choice-body :is(.elementor-location-header, .msn-header) {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

.mbc-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 48px;
}

.mbc-shell {
    width: 100%;
    margin: 0 auto;
}

.mbc-shell--mobile {
    max-width: 448px;
    padding-left: 20px;
    padding-right: 20px;
}

.mbc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(243, 244, 246, 0.95);
}

.mbc-header__inner {
    max-width: 448px;
    min-height: var(--mbc-header-height);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mbc-header__menu {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    margin-left: -6px;
    border-radius: 12px;
    color: #4b5563;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mbc-header__menu:hover,
.mbc-header__menu:focus-visible {
    background: rgba(15, 23, 42, 0.04);
    transform: scale(0.98);
}

.mbc-header__menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mbc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-right: auto;
}

.mbc-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #0d9488;
    flex-shrink: 0;
}

.mbc-brand__mark svg {
    width: 34px;
    height: 34px;
}

.mbc-brand__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.mbc-brand__text strong,
.mbc-brand__text span {
    font-size: 13px;
    color: #1f2937;
    white-space: nowrap;
}

.mbc-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid #f3f4f6;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10);
    background: linear-gradient(135deg, #d8f0eb 0%, #9fc8c0 100%);
    flex-shrink: 0;
}

.mbc-avatar__halo {
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16) 0%, transparent 70%);
}

.mbc-avatar svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.mbc-intro {
    width: 100%;
    padding-top: 26px;
    padding-bottom: 10px;
}

.mbc-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.mbc-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-align: center;
    color: #111827;
}

.mbc-subtitle {
    margin: 10px 0 0;
    text-align: center;
    color: var(--mbc-text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.mbc-context-note {
    max-width: 360px;
    margin: 12px auto 0;
    padding: 8px 12px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    background: #f8fafc;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.mbc-context-note strong {
    color: var(--mbc-primary-start);
    font-weight: 800;
}

.mbc-options {
    width: 100%;
}

.mbc-choice {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    border-radius: var(--mbc-radius-xl);
    box-shadow: var(--mbc-shadow);
    color: #ffffff;
}

.mbc-choice + .mbc-choice {
    margin-top: 20px;
}

.mbc-choice--primary {
    background: linear-gradient(145deg, var(--mbc-primary-start) 0%, var(--mbc-primary-end) 100%);
}

.mbc-choice--secondary {
    background: linear-gradient(145deg, var(--mbc-secondary-start) 0%, var(--mbc-secondary-end) 100%);
}

.mbc-choice__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 24px;
}

.mbc-choice__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    pointer-events: none;
}

.mbc-choice__pattern--cells {
    background-image:
        radial-gradient(circle at 72% 26%, rgba(255,255,255,0.7) 0 1px, transparent 1px),
        radial-gradient(circle at 28% 18%, rgba(255,255,255,0.45) 0 1px, transparent 1px),
        radial-gradient(circle at 50% 52%, transparent 0 24px, rgba(255,255,255,0.48) 24px 25px, transparent 25px),
        radial-gradient(circle at 18% 76%, transparent 0 9px, rgba(255,255,255,0.44) 9px 10px, transparent 10px),
        radial-gradient(circle at 82% 68%, transparent 0 17px, rgba(255,255,255,0.34) 17px 18px, transparent 18px);
    background-size: 180px 180px, 160px 160px, 240px 240px, 140px 140px, 220px 220px;
}

.mbc-choice__pattern--dna {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 50 C20 20 40 80 60 50 C80 20 100 80 120 50' stroke='white' stroke-opacity='0.7' fill='none' stroke-width='0.8'/%3E%3Cpath d='M0 62 C20 32 40 92 60 62 C80 32 100 92 120 62' stroke='white' stroke-opacity='0.55' fill='none' stroke-width='0.8'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.mbc-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.mbc-pill--glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mbc-choice__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mbc-choice__hero--secondary {
    align-items: center;
    margin-bottom: 22px;
}

.mbc-choice__iconwrap {
    flex-shrink: 0;
}

.mbc-choice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mbc-choice__icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.mbc-choice__portrait {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.mbc-choice__portrait svg {
    width: 100%;
    height: 100%;
}

.mbc-choice__portrait img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mbc-doctolib-wordmark {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    line-height: 1;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    user-select: none;
}

.mbc-choice__title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.mbc-choice__title span {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 4px;
}

.mbc-choice__copy {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.mbc-feature-grid {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.mbc-feature-grid li,
.mbc-dotlist li {
    position: relative;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.mbc-feature-grid li {
    padding-left: 22px;
}

.mbc-feature-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.95;
}

.mbc-dotlist {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.mbc-dotlist li {
    padding-left: 12px;
}

.mbc-dotlist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.mbc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.mbc-cta:hover,
.mbc-cta:focus-visible {
    transform: translateY(-1px);
}

.mbc-cta:focus-visible,
.mbc-header__menu:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.32);
    outline-offset: 2px;
}

.mbc-btn--primary {
    background: rgba(20, 184, 166, 0.30);
}

.mbc-btn--primary:hover,
.mbc-btn--primary:focus-visible {
    background: rgba(20, 184, 166, 0.42);
}

.mbc-btn--doctolib {
    background: rgba(37, 99, 235, 0.28);
}

.mbc-btn--doctolib:hover,
.mbc-btn--doctolib:focus-visible {
    background: rgba(37, 99, 235, 0.40);
}

.mbc-footer-note {
    margin: 32px auto 0;
    padding: 0 8px;
    max-width: 320px;
    text-align: center;
    font-size: 11px;
    line-height: 1.6;
    color: #9ca3af;
    font-weight: 500;
}

.mbc-footer-note span {
    color: #6b7280;
    font-style: italic;
}

@media (min-width: 768px) {
    .mbc-shell--mobile,
    .mbc-header__inner {
        max-width: 960px;
    }

    .mbc-title,
    .mbc-subtitle,
    .mbc-context-note {
        text-align: left;
    }

    .mbc-title {
        font-size: 44px;
    }

    .mbc-subtitle {
        font-size: 16px;
    }

    .mbc-context-note {
        margin-left: 0;
        margin-right: 0;
    }

    .mbc-options .mbc-shell--mobile {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: stretch;
    }

    .mbc-choice + .mbc-choice {
        margin-top: 0;
    }

    .mbc-footer-note {
        grid-column: 1 / -1;
        margin-top: 10px;
        max-width: none;
    }
}

@media (max-width: 390px) {
    .mbc-shell--mobile,
    .mbc-header__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mbc-header__inner {
        min-height: 68px;
    }

    .mbc-title {
        font-size: 28px;
    }

    .mbc-choice__content {
        padding: 20px;
    }

    .mbc-choice__title {
        font-size: 20px;
    }

    .mbc-feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }

    .mbc-feature-grid li,
    .mbc-dotlist li,
    .mbc-choice__copy {
        font-size: 12px;
    }

    .mbc-cta {
        min-height: 52px;
        border-radius: 16px;
        font-size: 14px;
    }
}
