/* RAC Guest Email Capture Popup */

.ds-rac-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ds-rac-overlay.ds-rac-visible {
    opacity: 1;
}

.ds-rac-popup {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 32px 28px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.ds-rac-overlay.ds-rac-visible .ds-rac-popup {
    transform: translateY(0);
}

.ds-rac-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.ds-rac-popup__close:hover {
    color: #333;
}

.ds-rac-popup__icon {
    margin-bottom: 12px;
}

.ds-rac-popup__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.ds-rac-popup__desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.5;
}

.ds-rac-popup__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-rac-popup__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ds-rac-popup__input:focus {
    border-color: #4f46e5;
}

.ds-rac-popup__gdpr {
    text-align: left;
    font-size: 12px;
    color: #666;
}

.ds-rac-popup__gdpr label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.ds-rac-popup__gdpr input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.ds-rac-popup__btn {
    width: 100%;
    padding: 12px 24px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ds-rac-popup__btn:hover {
    background: #4338ca;
}

.ds-rac-popup__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ds-rac-popup__footer {
    font-size: 11px;
    color: #999;
    margin: 12px 0 0;
}

.ds-rac-popup__success {
    padding: 16px 0;
}

.ds-rac-popup__success p {
    font-size: 15px;
    color: #00b894;
    font-weight: 600;
    margin: 8px 0 0;
}
