/* Popup Modal Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex !important;
    visibility: visible !important;
}

.popup-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-header {
    background: linear-gradient(135deg, #e01b23 0%, #c0181e 100%);
    padding: 20px;
    text-align: center;
    position: relative;
}

.popup-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.popup-content {
    padding: 30px;
}

.popup-alert-box {
    background-color: #FFF9E6;
    border-left: 4px solid #d91b22;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.popup-alert-box p {
    margin: 10px 0;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 1px;
    font-size: 14px;
}

.popup-alert-box .alert-icon {
    color: #FF7238;
    font-size: 18px;
    margin-right: 10px;
    font-weight: bold;
}

.popup-alert-box .warning-icon {
    color: #FF7238;
    font-size: 18px;
    margin-right: 10px;
}

.popup-checkboxes {
    margin: 25px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 12px;
    accent-color: #FF7238;
}

.checkbox-item label {
    color: #444;
    font-size: 15px;
    cursor: pointer;
    margin: 0;
    letter-spacing: 1px;
}

.popup-disclaimer {
    text-align: center;
    margin: 20px 0;
    color: #666;
    letter-spacing: 1px;
    font-size: 14px;
}

.popup-disclaimer a {
    color: #da1a22;
    text-decoration: none;
    font-weight: 600;
}

.popup-disclaimer a:hover {
    text-decoration: underline;
}

.popup-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.popup-accept-btn {
    background: linear-gradient(135deg, #db1a22 0%, #c7191f 100%);
    color: white;
    padding: 14px 50px;
    border: none;
    border-radius: 8px;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 114, 56, 0.3);
}

.popup-accept-btn:hover {
    background: linear-gradient(135deg, #da1a22 0%, #c8191f 100%);
    box-shadow: 0 6px 16px rgba(255, 114, 56, 0.4);
    transform: translateY(-2px);
}

.popup-accept-btn:active {
    transform: translateY(0);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.popup-close:hover {
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-modal {
        width: 95%;
        margin: 20px;
    }

    .popup-header {
        padding: 25px 20px;
    }

    .popup-title {
        font-size: 24px;
    }

    .popup-content {
        padding: 15px;
    }

    .popup-alert-box {
        padding: 15px;
    }

    .popup-alert-box p {
        font-size: 14px;
    }

    .popup-footer {
        padding: 0 20px 20px;
    }

    .popup-accept-btn {
        width: 100%;
        padding: 10px 10px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .popup-title {
        font-size: 18px;
        line-height: 25px;
    }

    .popup-alert-box p {
        font-size: 11px;
    }

    .checkbox-item label {
        font-size: 11px;
        line-height: 25px;
    }

    .popup-disclaimer {
        font-size: 11px;
        margin: 10px 0;
        line-height: 25px;
    }
}
