/* Fraud Warning Modal - Supraco Lines */

/* Overlay */
.spl-fraud-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spl-fraud-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Container */
.spl-fraud-modal-container {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.spl-fraud-modal-overlay.is-active .spl-fraud-modal-container {
    transform: scale(1);
}

/* Close Button */
.spl-fraud-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 2px solid #333;
    background: #ffffff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.spl-fraud-modal-close:hover {
    background: #333333;
    color: #ffffff;
}

/* Body */
.spl-fraud-modal-body {
    padding: 0;
}

/* Content */
.spl-fraud-modal-content {
    padding: 28px 32px 20px;
}

/* Title - high specificity to win over global */
#spl-fraud-modal .spl-fraud-modal-title {
    font-size: 26px !important;
    font-weight: 700;
    color: #000000 !important;
    margin: 0 0 14px !important;
    line-height: 1.3 !important;
}

/* Text wrapper */
.spl-fraud-modal-text {
    font-size: 15px;
    color: #444444;
    line-height: 1.7;
    margin: 0;
}

/* wyseditor p inside modal - high specificity to override .editorwysiwyg p */
#spl-fraud-modal .spl-fraud-modal-text.wyseditor p {
    font-size: 15px !important;
    color: #444444 !important;
    line-height: 1.7 !important;
    margin: 0 0 10px !important;
}

#spl-fraud-modal .spl-fraud-modal-text.wyseditor p:last-child {
    margin-bottom: 0 !important;
}

/* Image */
.spl-fraud-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 12px 12px;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 767px) {
    .spl-fraud-modal-overlay {
        padding: 10px;
    }

    .spl-fraud-modal-container {
        max-width: 100%;
        max-height: 85vh;
    }

    .spl-fraud-modal-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }

    .spl-fraud-modal-content {
        padding: 16px 16px 14px;
    }

    #spl-fraud-modal .spl-fraud-modal-title {
        font-size: 21px !important;
        margin-bottom: 10px !important;
    }

    .spl-fraud-modal-text {
        font-size: 13px;
        line-height: 1.7;
    }

    #spl-fraud-modal .spl-fraud-modal-text.wyseditor p {
        font-size: 13px !important;
        line-height: 1.7 !important;
        margin: 0 0 8px !important;
    }
}
