/* rt-modals.css — Guest pop-up modal */

.rt-site-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100060;
    background: rgba(26, 8, 16, 0.55);
}

.rt-site-modal {
    position: fixed;
    z-index: 100070;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100vw - 32px));
    max-height: min(90vh, 640px);
    overflow: auto;
    background: #fff;
    color: #2c2c2c;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(58, 16, 32, 0.35);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.rt-site-modal__inner {
    padding: 22px 22px 18px;
}

.rt-site-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none !important;
    border-radius: 50%;
    background: transparent !important;
    color: #666 !important;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
}

.rt-site-modal__close:hover {
    background: rgba(0, 0, 0, 0.06) !important;
}

.rt-site-modal__image {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

.rt-site-modal__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: #3A1020;
    padding-right: 28px;
}

.rt-site-modal__body {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}

.rt-site-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px !important;
    border: none !important;
    border-radius: 8px;
    background: #E8731C !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.rt-site-modal__cta:hover {
    background: #d06516 !important;
    color: #fff !important;
}

.rt-site-modal__dismiss {
    display: block;
    margin-top: 12px;
    border: none !important;
    background: transparent !important;
    color: #888 !important;
    font-size: 13px !important;
    padding: 0 !important;
    cursor: pointer;
    text-decoration: underline;
    box-shadow: none !important;
}

@media (max-width: 640px) {
    .rt-site-modal {
        top: auto;
        bottom: 16px;
        transform: translateX(-50%);
        max-height: calc(100vh - 32px);
    }
}
