/**
 * Right Click Ban - Custom Modal Styles (Free Version)
 * Default Theme Only
 */

/* Modal Overlay/Backdrop */
.rcb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(100, 100, 120, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rcb-modal-overlay.rcb-modal-active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.rcb-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 1000000;
    max-width: 420px;
    width: 90%;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rcb-modal-overlay.rcb-modal-active .rcb-modal {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Modal Header */
.rcb-modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

.rcb-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(238, 90, 90, 0.4);
}

.rcb-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Modal Body */
.rcb-modal-body {
    padding: 16px 24px 24px;
    text-align: center;
}

.rcb-modal-message {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Modal Footer */
.rcb-modal-footer {
    padding: 0 24px 24px;
    text-align: center;
}

.rcb-modal-btn {
    display: inline-block;
    padding: 14px 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.rcb-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.rcb-modal-btn:active {
    transform: translateY(0);
}

/* Close Button */
.rcb-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #999;
    transition: all 0.2s ease;
}

.rcb-modal-close:hover {
    background: #eee;
    color: #333;
}

/* Responsive */
@media (max-width: 480px) {
    .rcb-modal {
        max-width: 95%;
    }

    .rcb-modal-header {
        padding: 20px 20px 0;
    }

    .rcb-modal-body {
        padding: 12px 20px 20px;
    }

    .rcb-modal-footer {
        padding: 0 20px 20px;
    }

    .rcb-modal-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .rcb-modal-title {
        font-size: 20px;
    }

    .rcb-modal-btn {
        padding: 12px 36px;
        font-size: 14px;
    }
}
