/**
 * Modal Stilleri
 * Gizlilik Politikası modalı için özel stiller
 */

/* Modal Overlay */
.pix-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Modal Container */
.jc-bs3-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.jconfirm-box-container {
    max-width: 800px;
    width: 100%;
    background: transparent;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.36, 0.55, 0.19, 1), 
                opacity 0.4s cubic-bezier(0.36, 0.55, 0.19, 1);
    position: relative;
    z-index: 2;
}

.pix-modal-overlay.active .jconfirm-box-container {
    transform: scale(1);
    opacity: 1;
}

/* Modal Box */
.jconfirm-box {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

/* Close Icon */
.jconfirm-closeIcon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    z-index: 100;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.jconfirm-closeIcon:hover {
    background-color: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

/* Content Pane */
.jconfirm-content-pane {
    overflow-y: auto;
    max-height: calc(90vh - 80px);
    padding: 40px 30px;
    transition: max-height 0.4s cubic-bezier(0.36, 0.55, 0.19, 1);
}

/* Scrollbar Styling */
.jconfirm-content-pane::-webkit-scrollbar {
    width: 8px;
}

.jconfirm-content-pane::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.jconfirm-content-pane::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.jconfirm-content-pane::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Content */
.jconfirm-content {
    line-height: 1.6;
}

.pix-popup-content-div {
    padding: 0;
}

/* Badge */
.pix-badge-element {
    text-align: center;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.bg-primary-light {
    background-color: #e3f2fd;
}

.text-primary {
    color: #2196F3;
}

/* Heading */
.pix-heading-el h4 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Text Content */
.pix-el-text p {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

/* Main Content Text */
.elementor-widget-text-editor p {
    margin-bottom: 15px;
    color: #444;
    font-size: 14px;
    line-height: 1.8;
}

.elementor-widget-text-editor p:first-child {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jconfirm-box-container {
        max-width: 95%;
        margin: 10px;
    }
    
    .jconfirm-content-pane {
        padding: 30px 20px;
        max-height: calc(90vh - 60px);
    }
    
    .pix-heading-el h4 {
        font-size: 20px;
    }
    
    .elementor-widget-text-editor p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .jconfirm-content-pane {
        padding: 20px 15px;
    }
    
    .pix-heading-el h4 {
        font-size: 18px;
    }
    
    .jconfirm-closeIcon {
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pix-popup-animate {
    animation: fadeIn 0.4s cubic-bezier(0.36, 0.55, 0.19, 1);
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

.jconfirm-box p,
.jconfirm-box h4{
    font-family: Montserrat, sans-serif !important;
}