/* =========================================================
   Contact Map
   Google Maps in configured environments.
   Leaflet fallback in training/development environments.
   Original Akcel Contact composition is preserved.
========================================================= */

.google-contact-section {
    position: relative;
    overflow: hidden;
}

.google-contact-section > .container-fluid {
    position: relative;
}

.google-contact-map-shell {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
}

.google-contact-map {
    width: 100%;
    min-height: 650px;
    height: 100%;
}

.google-contact-map--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    background: #f5f5f5;
}

.google-contact-map__message {
    padding: 40px 20px;
    text-align: center;
}

.google-contact-section .contact-info {
    position: relative;
    z-index: 2;
}

.google-contact-map__info-window,
.training-map-popup {
    min-width: 170px;
    direction: ltr;
    text-align: left;
}

.google-contact-map__info-window strong,
.training-map-popup strong {
    display: block;
    margin-bottom: 5px;
}

.public-contact-honeypot-wrap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-public-link {
    overflow-wrap: anywhere;
}


/* =========================================================
   Training Leaflet marker
========================================================= */

.training-map-marker-wrapper {
    background: transparent;
    border: 0;
}

.training-map-marker {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    border: 4px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    background: #c71920;
    box-shadow:
        0 4px 14px
        rgba(0, 0, 0, 0.28);
    transform: rotate(-45deg);
}

.training-map-marker__dot {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
}


/* =========================================================
   Public donation banking
========================================================= */

.public-donation-account {
    padding: 30px;
    border-radius:
        var(--border-radius-base);
    background: #fff;
    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.08);
}

.public-bank-details {
    margin: 0;
}

.public-bank-details > div {
    display: grid;
    grid-template-columns:
        minmax(120px, 0.7fr)
        minmax(0, 1.3fr);
    gap: 15px;
    padding: 10px 0;
    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.08);
}

.public-bank-details > div:last-child {
    border-bottom: 0;
}

.public-bank-details dt,
.public-bank-details dd {
    margin: 0;
}

.bank-value-ltr {
    direction: ltr;
    unicode-bidi: embed;
    overflow-wrap: anywhere;
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"],
html[dir="rtl"] body {
    max-width: 100%;
    overflow-x: clip;
}

html[dir="rtl"] .google-contact-section,
html[dir="rtl"] .google-contact-section .container-fluid,
html[dir="rtl"] .google-contact-map-shell,
html[dir="rtl"] .google-contact-map {
    max-width: 100%;
    overflow-x: clip;
}

html[dir="rtl"] .google-contact-map,
html[dir="rtl"] .leaflet-container {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .leaflet-map-pane,
html[dir="rtl"] .leaflet-tile-pane,
html[dir="rtl"] .leaflet-overlay-pane,
html[dir="rtl"] .leaflet-shadow-pane,
html[dir="rtl"] .leaflet-marker-pane,
html[dir="rtl"] .leaflet-tooltip-pane,
html[dir="rtl"] .leaflet-popup-pane,
html[dir="rtl"] .leaflet-control-container {
    direction: ltr !important;
}

html[dir="rtl"] .google-contact-section .contact-info,
html[dir="rtl"] .google-contact-section form,
html[dir="rtl"] .google-contact-section .row {
    direction: rtl;
}

html[dir="rtl"] .google-contact-section input,
html[dir="rtl"] .google-contact-section textarea {
    text-align: right;
}

html[dir="rtl"] .google-contact-section input[type="email"],
html[dir="rtl"] .google-contact-section input[type="tel"] {
    direction: ltr;
    text-align: left;
}


/* =========================================================
   Responsive
========================================================= */

@media only screen and (max-width: 991px) {
    .google-contact-map-shell,
    .google-contact-map,
    .google-contact-map--empty {
        min-height: 480px;
    }

    .google-contact-section .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 575px) {
    .google-contact-map-shell,
    .google-contact-map,
    .google-contact-map--empty {
        min-height: 420px;
    }

    .public-bank-details > div {
        grid-template-columns:
            1fr;
        gap:
            3px;
    }
}
