/* Overlay for dimming background when modal is open */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 9998;
    /* Behind the modal */
    display: none;
    /* Initially hidden */
}

/* Modal Styling */
.check-condition-offer-container {
    position: fixed;
    /* Keeps the modal centered on the screen */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    /* Initially small */
    width: 80%;
    /* Increased width */
    max-width: 900px;
    /* Max width for large screens */
    max-height: 90vh;
    /* Restrict max height to 80% of the viewport */
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    /* Above everything */
    display: none;
    /* Initially hidden */
    opacity: 0;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    /* Enable scrolling inside the modal */
}


/* Responsive for small screens */
@media (max-width: 768px) {
    .check-condition-offer-container {
        width: 95%;
        /* Adjust width for smaller screens */
        max-height: 90vh;
        /* Allow more height on mobile */
        padding: 15px;
    }
}

/* Show animation */
.check-condition-offer-container.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


.check-condition-highlight {
    color: #BACC5E;
    font-weight: 600;
    font-size: 36px;
}

.check-condition-divider {
    border-top: 1px solid #BACC5E;
    margin: 20px 0;
}

.check-condition-discount-box {
    height: 200px;
    background-color: #BACC5E;
    padding: 20px;
    border-radius: 10px;
    color: white;
}

.check-condition-discount-box .check-condition-code {
    background: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    color: #BACC5E;
    font-weight: bold;
}

.check-condition-gift-box {
    height: 200px;
    background-color: #F4F4F4;
    padding: 20px;
    border-radius: 10px;
    color: black;
    border: 1px solid #ddd;
}

.check-condition-bottom-section {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
}

.check-condition-bottom-section p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.check-condition-bottom-banner {
    background-color: #EAEAEA;
    padding: 15px;
    font-weight: bold;
}

/* last  */
.check_condition-step .row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    /* Ensures the text and image align properly */
}

.check_condition-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    /* Ensures image scaling without distortion */
    display: block;
    margin: auto;
}

.text-check-left {
    text-align: left;
}

.check_condition-step h3 {
    margin-bottom: 10px;
    text-align: left;
    color:#BACC5E;
    font-size: 25px;
    font-weight: 500;
}

.check-close-btn {
    color: red;
    border: none;
    border-radius: 5px;
    font-size: 40px;
    cursor: pointer;
    display: flex;
    justify-content: end;
}