/**
 * TTBR Nouvelle-Aquitaine Map Styles
 */

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.szm-ttbr-na-simple-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.szm-map-container-ttbr-na-simple {
    width: min(100%, 640px) !important;
    min-height: 760px;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.szm-map-container-ttbr-na-simple.leaflet-container {
    background: transparent !important;
}

.szm-map-container-ttbr-na-simple .leaflet-pane path {
    transition: fill-opacity .18s ease, stroke-width .18s ease, transform .18s ease;
    transform-origin: center;
}

.szm-map-container-ttbr-na-simple .leaflet-control-container,
.szm-map-container-ttbr-na-simple .leaflet-bottom,
.szm-map-container-ttbr-na-simple .leaflet-top {
    display: none;
}

.ttbr-simple-dept-label {
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
    color: rgba(247, 251, 252, 0.9);
    font-size: clamp(11px, 1.35vw, 17px);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: 0 1px 2px rgba(10, 36, 43, 0.28);
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
}

.ttbr-simple-dept-label-marker {
    background: transparent;
    border: 0;
    pointer-events: none;
}

.ttbr-simple-dept-label-badge {
    display: block;
    width: 100%;
    min-width: 0;
    text-align: center;
    color: rgba(247, 251, 252, 0.92);
    font-size: clamp(11px, 1.35vw, 17px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(10, 36, 43, 0.28);
}

.ttbr-simple-dept-label:before {
    display: none;
}

.ttbr-simple-map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: #6b7280;
    font-weight: 600;
    background: transparent;
}

@media (max-width: 768px) {
    .szm-map-container-ttbr-na-simple {
        min-height: 620px;
        border-radius: 0;
    }

    .ttbr-simple-dept-label {
        font-size: clamp(11px, 3.4vw, 16px);
    }

    .ttbr-simple-dept-label-badge {
        font-size: clamp(11px, 3.4vw, 16px);
    }
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-main-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-map-section {
    min-height: 740px;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-map-section #szm-map-container-ttbr-na {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 0 !important;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-sidebar {
    max-height: none;
    min-height: 740px;
    padding: 20px;
}

/* Leaflet path styling for GeoJSON polygons */
.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .leaflet-interactive {
    stroke: #009997;
    stroke-width: 2;
    fill: #009997;
    fill-opacity: 0.45;
    cursor: pointer;
    transition: all 0.2s ease;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .leaflet-interactive:hover {
    stroke: #009997;
    stroke-width: 3;
    fill: #009997;
    fill-opacity: 0.8;
}

.ttbr-dept-label-marker {
    background: transparent;
    border: 0;
    pointer-events: none;
}

.ttbr-dept-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: rgba(16, 78, 86, 0.9);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

/* TTBR modal popup */
.ttbr-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    pointer-events: none;
}

.ttbr-modal.is-open {
    display: block;
}

body.ttbr-modal-open {
    overflow: hidden;
}

.ttbr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(2px);
    pointer-events: auto;
}

.ttbr-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(420px, calc(100vw - 24px));
    margin: 20px auto;
    background: linear-gradient(180deg, #ffffff 0%, #f6fffd 100%);
    border: 2px solid rgba(0, 153, 151, 0.18);
    border-radius: 24px;
    box-shadow: 0 22px 50px rgba(0, 66, 71, 0.22);
    overflow: hidden;
    pointer-events: auto;
}

.ttbr-modal__body {
    position: relative;
    padding: 26px 20px 24px;
    color: #114245;
    text-align: center;
}

.ttbr-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff7ed;
    box-shadow: 0 6px 16px rgba(243, 147, 22, 0.14);
    color: #F39316;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ttbr-modal__close:hover {
    background: #ffedd5;
    box-shadow: 0 8px 18px rgba(243, 147, 22, 0.2);
    transform: translateY(-1px);
}

.ttbr-modal__close:active {
    transform: translateY(0);
}

.ttbr-modal__close:focus-visible {
    outline: 2px solid rgba(243, 147, 22, 0.35);
    outline-offset: 2px;
}

.ttbr-modal__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #009997;
}

.ttbr-modal__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
    color: #114245;
    letter-spacing: -0.03em;
}

.ttbr-modal__subtitle {
    margin: 10px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #009997;
}

.ttbr-modal__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px auto 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ecfffb;
    border: 1px solid rgba(0, 153, 151, 0.24);
    color: #0f7d79;
    font-weight: 700;
}

.ttbr-modal__badge.is-closed {
    background: #fff7ed;
    border-color: rgba(243, 147, 22, 0.28);
    color: #b45309;
}

.ttbr-modal__badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00c389;
    box-shadow: 0 0 0 6px rgba(0, 195, 137, 0.12);
}

.ttbr-modal__badge.is-closed .ttbr-modal__badge-dot {
    background: #F39316;
    box-shadow: 0 0 0 6px rgba(243, 147, 22, 0.14);
}

.ttbr-modal__helper {
    margin: 0 0 14px;
    color: #466567;
    font-weight: 600;
}

.ttbr-modal__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ttbr-modal__chip {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 153, 151, 0.2);
    background: #fff;
    color: #0f6663;
    font-weight: 700;
    font-size: 14px;
}

.ttbr-modal__dept-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 14px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0, 153, 151, 0.12) 0%, rgba(0, 153, 151, 0.18) 100%);
    border: 1px solid rgba(0, 153, 151, 0.18);
}

.ttbr-modal__dept-card strong {
    font-size: 28px;
    color: #114245;
}

.ttbr-modal__dept-card span {
    color: #487170;
    font-weight: 600;
}

.ttbr-modal__call {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 12px;
    padding: 18px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #00b39e 0%, #009997 100%);
    border: 2px solid #F39316;
    box-shadow: 0 12px 24px rgba(0, 153, 151, 0.2);
    text-decoration: none;
}

.ttbr-modal__call.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.ttbr-modal__call-label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff9f0;
}

.ttbr-modal__call-number {
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
}

.ttbr-modal__benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 14px;
    color: #466567;
    font-weight: 700;
    font-size: 14px;
}

.ttbr-modal__availability {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 153, 151, 0.18);
    color: #487170;
    font-weight: 700;
}

.ttbr-modal__availability.is-closed {
    border-color: rgba(243, 147, 22, 0.22);
    background: #fff7ed;
    color: #9a3412;
}

.ttbr-modal .ttbr-modal__discover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 16px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #F39316 0%, #e57f05 62%, #d97300 100%) !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.2;
    font-weight: 800 !important;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer !important;
    box-shadow: 0 14px 24px rgba(243, 147, 22, 0.24) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ttbr-modal .ttbr-modal__discover:hover {
    background: linear-gradient(135deg, #F39316 0%, #e57f05 62%, #d97300 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(243, 147, 22, 0.32) !important;
    filter: saturate(1.05);
}

.ttbr-modal .ttbr-modal__discover.is-disabled,
.ttbr-modal .ttbr-modal__discover:disabled {
    background: #d5dcdc !important;
    color: #7d8a8a !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none;
    filter: none;
}

.ttbr-modal__footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 153, 151, 0.16);
}

.ttbr-modal__footer-title {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #009997;
}

.ttbr-modal__footer-text {
    margin-top: 6px;
    color: #487170;
    font-weight: 600;
}

.ttbr-call-notice {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: none;
}

.ttbr-call-notice.is-open {
    display: block;
}

.ttbr-call-notice__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 28, 30, 0.46);
    backdrop-filter: blur(3px);
}

.ttbr-call-notice__dialog {
    position: relative;
    z-index: 1;
    width: min(460px, calc(100vw - 24px));
    margin: 10vh auto 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%);
    border: 2px solid rgba(243, 147, 22, 0.2);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(7, 28, 30, 0.28);
    overflow: hidden;
}

.ttbr-call-notice__body {
    position: relative;
    padding: 28px 22px 24px;
    text-align: center;
    color: #114245;
}

.ttbr-call-notice__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff7ed;
    color: #F39316;
    font-size: 26px;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    box-shadow: 0 6px 16px rgba(243, 147, 22, 0.14);
}

.ttbr-call-notice__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #009997;
}

.ttbr-call-notice__title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.08;
    color: #114245;
}

.ttbr-call-notice__text {
    margin: 0;
    color: #466567;
    font-size: 17px;
    font-weight: 600;
}

.ttbr-call-notice__text strong {
    display: block;
    margin-top: 10px;
    font-size: 32px;
    line-height: 1.1;
    color: #F39316;
}

.ttbr-call-notice__opening {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 153, 151, 0.16);
    color: #0f6663;
    font-weight: 700;
}

.ttbr-call-notice__hint {
    margin: 14px 0 0;
    color: #5c7374;
    font-weight: 600;
}

.ttbr-call-notice__contact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    width: 100%;
    margin-top: 16px;
    padding: 13px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #F39316 0%, #e57f05 60%, #d97300 100%) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(243, 147, 22, 0.30);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.ttbr-call-notice__contact:hover {
    background: linear-gradient(135deg, #e57f05 0%, #d97300 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(243, 147, 22, 0.40);
    text-decoration: none !important;
}

@media (min-width: 1024px) {
    .ttbr-modal__backdrop {
        display: none;
    }

    body.ttbr-modal-open {
        overflow: auto;
    }

    .ttbr-modal__dialog {
        position: fixed;
        top: 78px;
        right: 16px;
        width: min(360px, calc(100vw - 32px));
        max-height: calc(100vh - 94px);
        margin: 0;
        border-radius: 18px;
        overflow-y: auto;
        pointer-events: auto;
        box-shadow: 0 16px 36px rgba(0, 66, 71, 0.28);
    }

    .ttbr-modal__close {
        z-index: 2;
    }

    .ttbr-modal__body {
        padding: 22px 18px 20px;
    }

    .ttbr-modal__title {
        font-size: 28px;
    }

    .ttbr-modal__subtitle {
        font-size: 16px;
    }

    .ttbr-modal__dept-card strong {
        font-size: 24px;
    }

    .ttbr-modal__call-number {
        font-size: 32px;
    }

    .ttbr-modal__discover {
        font-size: 18px;
        padding: 16px 14px;
    }

    .ttbr-modal__chips {
        gap: 8px;
    }

    .ttbr-modal__chip {
        font-size: 12px;
        padding: 8px 10px;
    }

    .ttbr-modal__footer-title {
        font-size: 28px;
    }

    .ttbr-modal__footer-text,
    .ttbr-modal__benefits,
    .ttbr-modal__availability {
        font-size: 13px;
    }
}

/* Sidebar styling */
.szm-sidebar-contact {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
    color: #114245;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(243, 147, 22, 0.24);
    box-shadow: 0 8px 20px rgba(17, 66, 69, 0.08);
    text-align: center;
}

.szm-sidebar-contact h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1f4b4e;
}

.ttbr-sidebar-contact-info {
    word-break: break-word;
    margin: 0;
}

.ttbr-sidebar-call-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 12px 10px 11px;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff !important;
    background: linear-gradient(135deg, #F39316 0%, #e57f05 62%, #d97300 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 16px rgba(243, 147, 22, 0.24);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ttbr-sidebar-call-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -30%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.ttbr-sidebar-call-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 20px rgba(243, 147, 22, 0.3);
    filter: saturate(1.06);
}

.ttbr-sidebar-call-cta:active {
    transform: translateY(0);
}

.ttbr-sidebar-call-cta:focus-visible {
    outline: 2px solid rgba(243, 147, 22, 0.5);
    outline-offset: 2px;
}

.ttbr-sidebar-call-cta__title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffffff !important;
    opacity: 0.96;
}

.ttbr-sidebar-call-cta__number {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(122, 61, 0, 0.2);
}

.ttbr-sidebar-call-cta__hint {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff !important;
    opacity: 0.92;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

/* List item styling */
.szm-ttbr-department-link {
    padding: 10px 12px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.szm-ttbr-department-link:hover {
    background: #fff6eb;
    border-left-color: #F39316;
    font-weight: 500;
}

.szm-ttbr-department-link:focus,
.szm-ttbr-department-link:focus-visible {
    outline: none;
    background: #fff6eb;
    border-left-color: #F39316;
    box-shadow: 0 0 0 2px rgba(243, 147, 22, 0.35);
}

.szm-ttbr-department-link.is-active {
    background: #fff6eb;
    border-left-color: #F39316;
}

/* Leaflet popup content wrapper */
.leaflet-popup-content-wrapper {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-tip {
    background: white;
    border: 1px solid #e5e7eb;
}

/* Map container */
#szm-map-container-ttbr-na {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Leaflet controls */
.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .leaflet-control-zoom {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .leaflet-control-zoom a {
    font-weight: 600;
    color: #1f2937;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-map-description {
        font-size: 12px;
        line-height: 1.45;
    }

    .ttbr-dept-label-badge {
        font-size: 14px;
    }

    .szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-map-section {
        max-height: none;
    }

    .szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-map-container-ttbr-na {
        height: 430px !important;
        min-height: 430px !important;
    }

    .ttbr-modal__availability,
    .ttbr-modal__footer {
        display: none;
    }

    .ttbr-modal__body {
        padding-bottom: 18px;
    }

    .ttbr-modal__benefits {
        margin-bottom: 0;
    }

    .ttbr-call-notice__dialog {
        width: min(100vw - 20px, 420px);
        margin-top: 16px;
    }

    .ttbr-call-notice__title {
        font-size: 26px;
    }

    .ttbr-call-notice__text strong {
        font-size: 28px;
    }

    .ttbr-call-notice__contact {
        font-size: 14px;
        padding: 11px 14px;
    }

    .szm-sidebar-contact {
        margin-top: 12px;
    }

    .ttbr-sidebar-call-cta__number {
        font-size: 28px;
    }

    .ttbr-sidebar-call-cta__hint {
        font-size: 10px;
    }

    .ttbr-modal__dialog {
        width: min(100vw - 20px, 420px);
        margin: 10px auto;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }

    .szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .leaflet-interactive {
        stroke-width: 1.5;
    }

    .szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .leaflet-interactive:hover {
        stroke-width: 2;
    }

    .ttbr-modal__title {
        font-size: 28px;
    }

    .ttbr-modal__subtitle {
        font-size: 18px;
    }

    .ttbr-modal__dept-card strong {
        font-size: 18px;
    }

    .ttbr-modal__dept-card {
        gap: 4px;
        margin: 0 0 10px;
        padding: 14px 12px;
        border-radius: 16px;
    }

    .ttbr-modal__dept-card span {
        font-size: 13px;
    }

    .ttbr-modal__call {
        gap: 6px;
        margin: 0 0 8px;
        padding: 14px 12px;
        border-radius: 16px;
    }

    .ttbr-modal__call-label {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .ttbr-modal__call-number {
        font-size: 24px;
    }

    .ttbr-modal__chips {
        flex-wrap: nowrap;
        gap: 6px;
        margin-bottom: 10px;
    }

    .ttbr-modal__chip {
        font-size: 11px;
        padding: 7px 9px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .ttbr-modal__discover {
        width: 100%;
        margin-top: 6px;
        padding: 14px 12px;
        font-size: 16px;
        border-radius: 14px;
    }
}

/* Title styling */
.szm-map-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    padding: 0;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map .szm-map-description {
    margin: -4px 0 16px 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Search box */
.szm-search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.szm-search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Department list container */
#szm-ttbr-departments-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
}

#szm-ttbr-departments-list .szm-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-ttbr-departments-list .szm-list-item::before {
    background: linear-gradient(180deg, #F39316 0%, #e57f05 100%) !important;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-ttbr-departments-list .szm-list-item::after {
    color: #F39316 !important;
}

.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-ttbr-departments-list .szm-list-item:hover,
.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-ttbr-departments-list .szm-list-item:focus,
.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-ttbr-departments-list .szm-list-item:focus-visible,
.szm-map-wrapper.szm-ttbr-nouvelle-aquitaine-map #szm-ttbr-departments-list .szm-list-item:active {
    background: #fff6eb !important;
    border-color: #F39316 !important;
    box-shadow: 0 8px 20px rgba(243, 147, 22, 0.2) !important;
    outline: none !important;
}

#szm-ttbr-departments-list .szm-item-name {
    font-weight: 500;
}

#szm-ttbr-departments-list small {
    font-size: 12px;
    opacity: 0.7;
}

/* Scrollbar styling */
#szm-ttbr-departments-list::-webkit-scrollbar {
    width: 6px;
}

#szm-ttbr-departments-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#szm-ttbr-departments-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#szm-ttbr-departments-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
