/* Full-screen overlay */
.drci-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Visible state */
.drci-overlay.drci-visible {
    display: flex;
}

/* Popup box */
.drci-popup {
    max-width: 420px;
    width: 90%;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.drci-popup h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.drci-popup p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
}

/* Close button */
.drci-popup-close {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background: #23408f;
    color: #ffffff;
}

.drci-popup-close:hover,
.drci-popup-close:focus {
    outline: none;
    background: #1a2f69;
    color: #ffffff;
}

.drci-protect img {
    -webkit-touch-callout: none; /* iOS Safari: disable long-press menu */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}