#rvb-overlay {
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

#rvb-modal {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 6px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#rvb-modal p {
    margin: 0 0 16px;
    white-space: pre-wrap;
}

#rvb-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#rvb-buttons button {
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#rvb-buttons button:first-child {
    background: #0073aa;
    color: #ffffff;
}

#rvb-buttons button:last-child {
    background: #e5e5e5;
}

/* Loading state for the Register button */
input[type="submit"][name="rtcl-register"].rvb-loading {
    opacity: 0.8;
    cursor: wait;
}
