﻿body {
    margin: 0;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fb;
    color: #1b1f3b;
}

.customModal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: visibility 0s linear 0.25s, opacity 0.25s, transform 0.25s;
    z-index: 9999;
}

.customModal.showCustomModalBody {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s linear 0s, opacity 0.25s, transform 0.25s;
}

.customModalBody {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 90vw);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px;
    padding: 1.5rem;
}

.rent-embed-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.rent-embed-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rent-embed-logo {
    width: 72px;
    height: auto;
}

.rent-embed-header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.rent-embed-header p {
    margin: 4px 0 0 0;
    color: #4b4f63;
}

.rent-embed-map {
    width: 100%;
    min-height: 70vh;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(27, 31, 59, 0.15);
    overflow: hidden;
}

.rent-embed-empty {
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(27, 31, 59, 0.1);
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .rent-embed-wrapper {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .rent-embed-header {
        flex-direction: column;
        text-align: center;
    }

    .rent-embed-logo {
        width: 56px;
    }

    .rent-embed-map {
        min-height: 60vh;
    }

    .rent-embed-overlay {
        align-items: flex-start;
        padding-top: 24px;
    }

    .rent-embed-overlay-card {
        padding: 24px 16px;
        width: min(420px, 94vw);
    }

    .rent-popup-details li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .rent-embed-wrapper {
        padding: 12px;
    }

    .rent-embed-header h1 {
        font-size: 1.2rem;
    }

    .rent-embed-map {
        min-height: 55vh;
    }

    .rent-embed-overlay-card {
        padding: 20px 14px;
    }

    .rent-popup-badges {
        flex-direction: column;
    }
}

.rent-embed-infowindow {
    min-width: 260px;
    max-width: 320px;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rent-embed-infowindow h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #1b1f3b;
}

.rent-embed-infowindow-description {
    margin: 0 0 8px;
    color: #4b4f63;
    font-size: 0.9rem;
}

.rent-embed-infowindow-prices {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.rent-embed-infowindow-prices li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #dce0ef;
    padding: 4px 0;
}

.rent-embed-infowindow-prices span {
    color: #4b4f63;
}

.rent-embed-infowindow-availability {
    margin: 10px 0;
    font-weight: 600;
    color: #005dac;
}

.rent-product-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #005dac;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
}

.rent-popup-body {
    padding: 0 1rem 1rem;
}

.rent-popup-header {
    padding-right: 1.5rem;
}

.rent-popup-close {
    font-weight: 600;
}

.rent-embed-popup-content h3 {
    margin-top: 0;
}

#rentProductPopupContent {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rent-popup-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rent-popup-details li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #dce0ef;
    padding: 4px 0;
    font-size: 0.95rem;
}

.rent-popup-instructions {
    text-align: center;
}

#rentProductPopupQr {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.rent-popup-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.rent-popup-badges img {
    max-width: 150px;
}

.rent-popup-close-button {
    margin-top: 16px;
    background: #005dac;
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.rent-embed-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.rent-embed-overlay.rent-embed-overlay--visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.rent-embed-overlay-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    width: min(520px, 92vw);
    max-height: 90vh;
    max-height: calc(90dvh);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.35);
}

.rent-embed-overlay-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.rent-embed-modal-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.rent-popup-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rent-popup-details li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #dce0ef;
}

.rent-popup-details li span {
    color: #4b4f63;
}

.rent-popup-details li strong {
    color: #005dac;
}

.rent-popup-instructions {
    margin-top: 20px;
    text-align: center;
}

#rentProductPopupQr {
    margin: 12px auto;
    width: 180px;
    height: 180px;
}

.rent-area-header {
    margin-bottom: 12px;
    color: #4b4f63;
}

.rent-area-address {
    margin: 0;
    font-weight: 600;
}

.rent-product-card-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rent-product-card {
    background: #f8f9ff;
    border: 1px solid #e3e7f5;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(16, 28, 77, 0.08);
}

.rent-product-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.rent-product-card__pill {
    background: #eef2ff;
    color: #1b1f3b;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rent-product-card__pill strong {
    color: #005dac;
}

.rent-product-card__pricing {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rent-product-card__pricing li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #dce0ef;
    padding: 4px 0;
}

.rent-product-card__empty {
    margin: 0;
    color: #4b4f63;
}

.rent-product-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rent-product-availability--loading .rent-spinner {
    display: inline-block;
}

.rent-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #005dac;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rent-spin 0.8s linear infinite;
}

@keyframes rent-spin {
    to {
        transform: rotate(360deg);
    }
}

.rent-embed-parking-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rent-embed-parking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    background: #005dac;
    box-shadow: 0 8px 18px rgba(0, 93, 172, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.rent-embed-parking-link--manual {
    background: #00BC7C;
    box-shadow: 0 8px 18px rgba(0, 188, 124, 0.2);
}

.rent-embed-parking-link--camera {
    background: #0885FE;
    box-shadow: 0 8px 18px rgba(8, 133, 254, 0.2);
}

.rent-embed-parking-link:hover,
.rent-embed-parking-link:focus-visible {
    transform: translateY(-1px);
}

.rent-embed-parking-link--manual:hover,
.rent-embed-parking-link--manual:focus-visible {
    background: #00b377;
    box-shadow: 0 10px 22px rgba(0, 188, 124, 0.25);
}

.rent-embed-parking-link--camera:hover,
.rent-embed-parking-link--camera:focus-visible {
    background: #0678e4;
    box-shadow: 0 10px 22px rgba(8, 133, 254, 0.25);
}

.rent-embed-parking-link:active {
    transform: translateY(0);
}

.rent-embed-parking-link--manual:active {
    box-shadow: 0 6px 14px rgba(0, 188, 124, 0.2);
}

.rent-embed-parking-link--camera:active {
    box-shadow: 0 6px 14px rgba(8, 133, 254, 0.2);
}
