/* IP Modal Popup Styles */
.ip-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.ip-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ip-modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.4s ease-out;
    transform: translateY(0);
}

.ip-modal-close {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ip-modal-close:hover,
.ip-modal-close:focus {
    color: #333;
    text-decoration: none;
}

.ip-modal-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding-right: 40px;
}

.ip-modal-message {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.ip-modal-message p {
    margin-bottom: 15px;
}

.ip-modal-message p:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ip-modal-content {
        width: 95%;
        margin: 20px;
        padding: 20px;
    }
    
    .ip-modal-title {
        font-size: 20px;
    }
    
    .ip-modal-message {
        font-size: 14px;
    }
}