#acp-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: linear-gradient(135deg, #0073aa, #005d87);
    color: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    display: none;
    max-width: 80%;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#acp-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#acp-popup.acp-warning {
    background: linear-gradient(135deg, #ff3333, #cc0000);
    font-size: 18px;
    padding: 30px 50px;
    max-width: 90%;
}

.acp-warning-icon {
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

#acp-protection-banner {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.acp-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.acp-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.acp-content-lock {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.acp-content-lock p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.acp-content-lock form {
    display: inline-block;
}

.acp-content-lock input[type="password"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.acp-content-lock button {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background 0.3s ease;
}

.acp-content-lock button:hover {
    background: #005d87;
}

#acp-timer-countdown {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
}



/* Built-in Math CAPTCHA (premium look, no keys) */
.acp-lock-error {
    margin: 12px auto 0;
    max-width: 520px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(220, 53, 69, 0.25);
    background: rgba(220, 53, 69, 0.08);
    color: #b02a37;
    font-size: 13px;
}

.acp-math-captcha-form {
    margin-top: 14px;
}

.acp-math-captcha-box {
    display: inline-block;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.acp-math-captcha-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #2c3338;
    opacity: 0.85;
    margin-bottom: 8px;
}

.acp-math-captcha-question {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d2327;
}

.acp-math-captcha-input {
    width: 140px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    font-size: 14px;
    outline: none;
}

.acp-math-captcha-input:focus {
    border-color: rgba(0, 115, 170, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.acp-math-captcha-submit {
    margin-left: 10px;
    padding: 10px 18px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    #acp-popup.acp-warning {
        font-size: 16px;
        padding: 20px 30px;
    }

    #acp-protection-banner {
        padding: 10px;
    }
}