.wpef-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wpef-popup.is-visible {
    display: flex;
}

.wpef-popup-box {
    width: min(430px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.wpef-popup-box h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.wpef-popup-box p {
    margin: 0 0 20px;
}

.wpef-popup-close {
    border: 0;
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    background: #111827;
    color: #fff;
}

.comment-form-wpef-captcha input[type="number"] {
    max-width: 120px;
}


/* Automatic inactive-user logout */
body.wpef-idle-warning-open {
    overflow: hidden;
}

.wpef-idle-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.58);
}

.wpef-idle-dialog {
    width: min(460px, 100%);
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.wpef-idle-dialog h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.4;
}

.wpef-idle-countdown {
    margin: 0 0 22px;
    font-size: 18px;
}

.wpef-idle-countdown-number {
    display: inline-block;
    min-width: 2ch;
    font-size: 32px;
    line-height: 1;
}

.wpef-idle-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
