.checkin-text,
.review-text,
.slider-content {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(243, 246, 249, 0.9), rgba(255, 255, 255, 0.95));
    border-radius: 0.75rem;
    /* border-left: 4px solid #3b82f6; */
    line-height: 1.6;
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    color: #1f2937;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    word-break: break-word;
}

.checkin-text-inner {
    display: block;
    margin: 0;
}

@media (max-width: 600px) {
    .checkin-text,
    .review-text,
    .slider-content {
        margin: 1.25rem 0;
        padding: 1rem 1.25rem;
        border-radius: 0.65rem;
    }
}

/* Video Modal and Spinner Styles */
.checkin-video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

/* .checkin-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: none;
} */

.checkin-video-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.play-button svg {
    width: 30px;
    height: 30px;
}

.br-video-modal {
    display: none;
    position: fixed !important;
    z-index: 10000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.br-video-modal-content {
    position: relative;
    background-color: #000;
    margin: 5% auto;
    padding: 10px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    transition: none;
    z-index: 10001 !important;
}

.br-video-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002 !important;
}

.br-video-close:hover,
.br-video-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.video-placeholder-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    z-index: 10003 !important;
}

.video-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10004 !important;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10005 !important;
    background: rgba(0, 0, 0, 0.5);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 600px) {
    .br-video-modal-content {
        margin: 10% auto;
        padding: 5px;
        width: 95%;
    }
    .loading-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}

.gm-style-iw,
.gm-style-iw-d {
    max-height: none !important;
    overflow: visible !important;
}

.slideshow-container { 
    max-width: 100%; 
    width: 200px; 
    position: relative; 
    margin-left: 10px;
}
.mySlides { 
    display: none; 
}
.mySlides img { 
    width: 100%; 
    height: auto; 
    max-height: 150px; 
    object-fit: cover; 
    border-radius: 4px;
}
.prev, .next { 
    cursor: pointer; 
    position: absolute; 
    bottom: 5px; 
    width: 25px; 
    height: 25px; 
    color: white; 
    font-size: 16px; 
    background-color: rgba(0,0,0,0.6); 
    border-radius: 50%; 
    text-align: center; 
    line-height: 25px; 
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.prev { 
    left: 5px; 
}
.next { 
    right: 5px; 
}
.prev:hover, .next:hover { 
    background-color: rgba(0,0,0,0.8); 
    opacity: 1;
}
.text-container { 
    flex: 2; 
    padding-right: 10px; 
}
.popup-container { 
    display: flex; 
    max-width: 500px; 
    align-items: center;
}
.map-toggle-container { 
    text-align: center; 
    margin: 10px 0; 
}
/* In custom.css, replace .map-toggle-container and #map-toggle-btn styles with: */
.map-toggle-container { 
    text-align: center; 
    margin: 10px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


@media (max-width: 600px) {
    .popup-container {
        flex-direction: column;
        max-width: 100%;
        padding: 10px;
    }
    .text-container {
        padding-right: 0;
        padding-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    .slideshow-container {
        margin-left: 0;
        width: 100%;
        max-width: 300px;
    }
    .mySlides img {
        max-height: 200px;
    }
}

@media (max-width: 600px) {
    /* Let Google position the info window. DO NOT set transform/zoom here. */
    .gm-style-iw,
    .gm-style-iw-c {
        max-width: min(200vw, 320px) !important;
        margin: 0 !important;
        padding: 6px !important;
        zoom: .6;
        /* no transform, no zoom */
    }

    .gm-style-iw-d {
        overflow: auto !important;
        max-height: 70vh !important;
    }

    /* Shrink only the inner content so the anchor stays put */
    .popup-container {
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 4px;
        font-size: 0.92em; /* smaller text = smaller bubble without moving anchor */
    }
    .text-container {
        padding-right: 0;
        padding-bottom: 6px;
        width: 100%;
        text-align: center;
        font-size: 0.95em;
    }
    .slideshow-container {
        margin-left: 0;
        width: 100%;
        max-width: 140px;
        box-sizing: border-box;
    }
    .mySlides img {
        max-height: 90px;
        width: 100%;
    }
    
    /* Increase slideshow navigation button size for mobile */
    .slideshow-container .prev,
    .slideshow-container .next {
        width: 44px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-size: 22px !important;
        z-index: 20 !important;
    }
    /* bigger hit area without changing the look */
    .slideshow-container .prev::before,
    .slideshow-container .next::before {
        content: "";
        position: absolute;
        inset: -8px;
    }
}

.datapins-floating-widget {
    position: fixed;
    z-index: 9999;
    left: 20px;
    bottom: var(--datapins-widget-bottom-offset, 20px);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    width: auto;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
    color: #1f2933;
    font-family: inherit;
    line-height: 1.45;
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    visibility: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background-clip: padding-box;
}

.datapins-floating-widget--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    visibility: visible;
}

.datapins-floating-widget--clickable {
    cursor: pointer;
}

.datapins-floating-widget--clickable .datapins-floating-widget__message {
    text-decoration: underline;
}

.datapins-floating-widget--dismissed {
    display: none !important;
}

.datapins-floating-widget--bottom-right {
    left: auto;
    right: 20px;
}

.datapins-floating-widget--top-left {
    bottom: auto;
    top: 20px;
}

.datapins-floating-widget--top-right {
    bottom: auto;
    top: 20px;
    left: auto;
    right: 20px;
}

.datapins-floating-widget__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.datapins-floating-widget__close:hover,
.datapins-floating-widget__close:focus {
    color: #111827;
    outline: none;
}

.datapins-floating-widget__media {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.datapins-floating-widget__media.is-hidden {
    display: none;
}

.datapins-floating-widget__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.datapins-floating-widget__badge {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(35%, 35%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.datapins-floating-widget__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 18px;
}

.datapins-floating-widget__label {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.datapins-floating-widget__message {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.datapins-floating-widget__rating {
    font-size: 14px;
    color: #f59e0b;
    letter-spacing: 2px;
}

.datapins-floating-widget__rating.is-hidden {
    display: none;
}

.datapins-floating-widget__time {
    font-size: 12px;
    color: #64748b;
}

.datapins-floating-widget__time.is-hidden {
    display: none;
}

@media (max-width: 680px) {
    .datapins-floating-widget {
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
        gap: 10px;
    }

    .datapins-floating-widget--bottom-right,
    .datapins-floating-widget--top-right {
        right: 20px;
    }

    .datapins-floating-widget__media {
        width: 48px;
        height: 48px;
    }

    .datapins-floating-widget__body {
        padding-right: 0;
        width: 100%;
    }

    .datapins-floating-widget__label {
        font-size: 11px;
    }

    .datapins-floating-widget__message {
        font-size: 14px;
        line-height: 1.45;
    }

    .datapins-floating-widget__time {
        font-size: 11px;
    }
}

@media (max-width: 680px) {
    body.datapins--mobile-chatbot-prevent-auto-open [class*="chatbot"][class*="open"],
    body.datapins--mobile-chatbot-prevent-auto-open [id*="chatbot"][class*="open"],
    body.datapins--mobile-chatbot-prevent-auto-open [class*="chatbot"][data-state="open"],
    body.datapins--mobile-chatbot-prevent-auto-open [class*="chatbot"][aria-hidden="false"] {
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 480px) {
    .datapins-floating-widget {
        flex-direction: row;
        padding: 12px 14px;
        gap: 10px;
    }

    .datapins-floating-widget__media {
        width: 48px;
        height: 48px;
    }

    .datapins-floating-widget__message {
        font-size: 14px;
    }
}





