/**
 * Web Protection Plugin - Stylesheet
 * Supports Light & Dark Vuexy Theme Aesthetics
 */

/* Invisible Bot Trap */
.wp-hp-trap {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Front-end Form Security Verification Box */
.wp-protection-wrapper {
    position: relative;
}

.wp-math-captcha-box {
    background: rgba(var(--bs-primary-rgb), 0.04) !important;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.15) !important;
    border-radius: 0.5rem;
    transition: all 0.25s ease-in-out;
}

.wp-math-captcha-box:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.08);
}

.wp-math-captcha-box #wpMathQuestion {
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wp-math-captcha-box #wpMathAnswer {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.wp-math-captcha-box #btnRefreshCaptcha {
    transition: transform 0.3s ease;
}

.wp-math-captcha-box #btnRefreshCaptcha:hover i {
    transform: rotate(180deg);
}

/* Admin Dashboard Elements */
.wp-stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.wp-pill-switch {
    min-height: 24px;
}

.wp-badge-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.wp-log-table td {
    vertical-align: middle;
}

.wp-badge-pulse {
    position: relative;
}

.wp-badge-pulse::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--bs-success);
    top: 6px;
    right: 6px;
    box-shadow: 0 0 0 2px rgba(var(--bs-success-rgb), 0.4);
    animation: wpPulse 2s infinite;
}

@keyframes wpPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--bs-success-rgb), 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(var(--bs-success-rgb), 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--bs-success-rgb), 0);
    }
}
