/**
 * Module Disable Reason Popover Styles
 */

.wpsb-disable-popover {
    position: absolute;
    z-index: 999999;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
}

.wpsb-disable-popover-content {
    padding: 16px;
}

.wpsb-disable-popover h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

.wpsb-disable-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.wpsb-reason-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.wpsb-reason-option:hover {
    border-color: #2271b1;
    background: #f6f7f7;
}

.wpsb-reason-option input[type="radio"] {
    margin: 0 10px 0 0;
    cursor: pointer;
}

.wpsb-reason-option span {
    font-size: 13px;
    color: #2c3338;
    cursor: pointer;
}

.wpsb-disable-popover-footer {
    border-top: 1px solid #dcdcde;
    padding-top: 12px;
    text-align: center;
}

.wpsb-skip-reason {
    font-size: 13px;
    color: #646970;
}

.wpsb-skip-reason:hover {
    color: #1d2327;
}

/* Overlay when popover is active */
body.wpsb-popover-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 999998;
}

/* Animation */
.wpsb-disable-popover {
    animation: wpsb-popover-slide-in 0.2s ease;
}

@keyframes wpsb-popover-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 782px) {
    .wpsb-disable-popover {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        min-width: 280px;
    }
}
