/* ======================
   MODAL BACKGROUND
====================== */
.customModal {
    display: none;     /* ✔ ONLY THIS */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}


/* ======================
   MODAL BOX
====================== */
.modalBox {
    background: #fff;
    width: 900px;
    max-width: 95%;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* ======================
   LEFT SECTION
====================== */
.leftSection {
    width: 45%;
    height: 100%;
    background: white;
    padding: 20px;
    border-right: 2px solid #e0e0e0;
}

.productTitle {
    background: #444;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 15px;
}

.imgWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgWrapper img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 6px;
}

.leftSection .moq {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

/* ======================
   RIGHT SECTION
====================== */
.rightSection {
    width: 55%;
    padding: 25px;
}

.quoteTitle {
    background: #063b67;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 18px;
}

/* ======================
   FORM STYLES
====================== */
.formGroup {
    margin-bottom: 15px;
}

.formGroup label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.formGroup input,
.formGroup textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 14px;
}

.formGroup textarea {
    min-height: 90px;
    resize: none;
}

/* ======================
   MOBILE INPUT
====================== */
.mobileBox {
    display: flex;
    gap: 10px;
}

.mobileBox .flag {
    background: #eee;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* ======================
   SUBMIT BUTTON
====================== */
.submitBtn {
    width: 100%;
    padding: 12px;
    background: #063b67;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.submitBtn:hover {
    background: #0c4e8f;
}

/* ======================
   CLOSE BUTTON
====================== */
.closeBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
}

/* ======================
   ANIMATION
====================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======================
   RESPONSIVE
====================== */

/* Tablet */
@media (max-width: 1024px) {
    .modalBox {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .customModal {
        align-items: flex-start;
        padding: 20px 10px;
    }

    .modalBox {
        flex-direction: column;
        width: 100%;
        max-height: 95vh;
    }

    .leftSection,
    .rightSection {
        width: 100%;
    }

    .leftSection {
        border-right: none;
        border-bottom: 1px solid #ddd;
        text-align: center;
    }

    .imgWrapper img {
        max-height: 260px;
    }

    .mobileBox {
        flex-direction: column;
    }

    .closeBtn {
        top: 6px;
        right: 10px;
        font-size: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .productTitle {
        font-size: 16px;
    }

    .quoteTitle {
        font-size: 16px;
    }

    .submitBtn {
        font-size: 15px;
    }
}
