/* Shared Layout Styles */
html {
    background-color: #111827; /* Matches top ribbon and footer for seamless overscroll */
}

body {
    background-color: white; /* Ensure content area remains clean */
}

.booking-portal-bg {
    background-color: #fafafa !important; /* Specific override for the booking portal journey */
}

.hero-clinic-image {
    background-image: url("../images/smartmove-physio-clinic-amayannoor.jpg");
}

.noise {
    background-image: url("data:image/svg+xml;base64,PCEtLSBzdmc6IGZpcnN0IGxheWVyIC0tPgo8c3ZnIHZpZXdCb3g9JzAgMCAyNTAgMjUwJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogIDxmaWx0ZXIgaWQ9J25vaXNlRmlsdGVyJz4KICAgIDxmZVR1cmJ1bGVuY2UgCiAgICAgIHR5cGU9J2ZyYWN0YWxOb2lzZScgCiAgICAgIGJhc2VGcmVxdWVuY3k9JzAuODUnIAogICAgICBudW1PY3RhdmVzPScxJyAKICAgICAgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPgogIDwvZmlsdGVyPgogIAogIDxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNub2lzZUZpbHRlciknLz4KPC9zdmc+");
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: inherit; /* Allow classes like text-sm to work */
}

.material-symbols-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.legal-page-title {
    border-bottom-color: #eeeeee;
}

.map-embed {
    border: 0;
}

.ribbon-icon {
    font-size: 14px !important;
    line-height: inherit;
}

.footer-contact-label {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.footer-contact-label-icon {
    flex: 0 0 1rem;
    text-align: center;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-vector {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    width: 34px;
    height: 28px;
}

.mobile-menu-vector span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background-color: #475569;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.12);
    transform-origin: center;
    transition: width 0.2s ease, transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-menu-vector span:nth-child(1) {
    width: 20px;
    transform: translateX(0);
}

.mobile-menu-vector span:nth-child(2) {
    width: 27px;
    transform: translateX(0);
}

.mobile-menu-vector span:nth-child(3) {
    width: 34px;
    transform: translateX(0);
}

.mobile-menu-toggle:hover .mobile-menu-vector span,
.mobile-menu-toggle:focus-visible .mobile-menu-vector span {
    background-color: var(--color-primary);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-vector span:nth-child(1) {
    width: 30px;
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-vector span:nth-child(2) {
    opacity: 0;
    transform: translateX(8px);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-vector span:nth-child(3) {
    width: 30px;
    transform: translateY(-9px) rotate(-45deg);
}

[x-cloak] {
    display: none !important;
}

.main-content-area {
    margin-bottom: 200px;
}
.top-ribbon {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: 30px !important;
}

.clinic-closure-alert {
    align-items: center;
    background-color: #C82222;
    color: #fff;
    display: block;
    font-family: var(--font-headline), ui-sans-serif, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 800;
    height: 30px;
    letter-spacing: 0.12em;
    line-height: 30px;
    overflow: hidden;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

.clinic-closure-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: block;
    font: inherit;
    height: 100%;
    letter-spacing: inherit;
    line-height: inherit;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
    text-transform: inherit;
    width: 100%;
}

.clinic-closure-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.clinic-closure-message {
    animation: clinic-closure-scroll-ltr 18s linear infinite;
    display: inline-block;
    min-width: max-content;
    padding: 0 1rem;
    will-change: transform;
}

.clinic-closure-alert:hover .clinic-closure-message,
.clinic-closure-alert:focus-within .clinic-closure-message,
.clinic-closure-alert.is-paused .clinic-closure-message {
    animation-play-state: paused;
}

@keyframes clinic-closure-scroll-ltr {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100vw);
    }
}

.footer-separator {
    height: 50px;
    background-color: #EFF6FE;
}

.site-footer {
    position: relative;
    --footer-corner-w: 90px;
    --footer-corner-h: 105px;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;
    width: var(--footer-corner-w);
    height: var(--footer-corner-h);
    background-image: url("../images/white-rounded-corner-bl.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: left bottom;
    pointer-events: none;
}

.section-divider-top-left {
    background-image: url("../images/white-rounded-corner-tl.svg");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 90px 82px; /* Balanced mobile size */
}

.footer-divider-top-left {
    background-image: url("../images/grey-rounded-corner-tl.svg");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 90px 105px; /* Proportional to 181/212 */
}

.section-divider-bottom-right {
    background-image: url("../images/grey-rounded-corner-br.svg");
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 90px 105px; /* Balanced mobile size */
}

.section-divider-bottom-left {
    background-image: url("../images/white-rounded-corner-bl.svg");
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 90px 105px; /* Proportional to 181/212 */
}

@media (min-width: 768px) {
    .section-divider-top-left {
        background-size: 130px 118px;
    }

    .section-divider-bottom-right {
        background-size: 130px 152px;
    }

    .section-divider-bottom-left {
        background-size: 130px 152px;
    }

    .footer-divider-top-left {
        background-size: 130px 152px;
    }

    .site-footer {
        --footer-corner-w: 130px;
        --footer-corner-h: 152px;
    }
}

@media (min-width: 1024px) {
    .section-divider-top-left {
        background-size: 180px 164px;
    }

    .section-divider-bottom-right {
        background-size: 181px 212px;
    }

    .section-divider-bottom-left {
        background-size: 181px 212px;
    }

    .footer-divider-top-left {
        background-size: 181px 212px;
    }

    .site-footer {
        --footer-corner-w: 181px;
        --footer-corner-h: 212px;
    }
}
/* Booking Hub Form Styles */
#booking-hub-form input[type="text"],
#booking-hub-form input[type="date"],
#booking-hub-form input[type="email"],
#booking-hub-form select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

#booking-hub-form input:focus {
    background: #fff;
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

/* Success Icon Fix */
.success-icon-container {
    width: 6rem !important;
    height: 6rem !important;
}

.success-icon-container span {
    font-size: 3rem !important;
}
