
/* Supplier Plan Enquiry Modal */
#planEnquiryModal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 40, 70, 0.22);
}

#planEnquiryModal .we-quote-right {
    width: 100%;
    padding: 32px;
    background: #ffffff;
}

#planEnquiryModal .we-quote-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

#planEnquiryModal .we-quote-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #1769aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

#planEnquiryModal .we-quote-heading h2 {
    margin: 0 0 8px;
    color: #193957;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

#planEnquiryModal .we-quote-heading p {
    margin: 0;
    color: #71849a;
    font-size: 14px;
    line-height: 1.6;
}

#planEnquiryModal .we-quote-close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dce7f2;
    border-radius: 12px;
    background: #ffffff;
    color: #60758b;
    cursor: pointer;
}

#planEnquiryModal .form-label {
    margin-bottom: 8px;
    color: #29445f;
    font-size: 14px;
    font-weight: 700;
}

#planEnquiryModal .form-label span {
    color: #e14d4d;
}

#planEnquiryModal .form-control {
    min-height: 48px;
    border: 1px solid #d6e2ef;
    border-radius: 10px;
    padding: 12px 14px;
    color: #243b53;
    font-size: 14px;
    box-shadow: none;
}

#planEnquiryModal textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

#planEnquiryModal .form-control:focus {
    border-color: #287db8;
    box-shadow: 0 0 0 3px rgba(40, 125, 184, 0.12);
}

#planEnquiryModal .form-control[readonly] {
    background: #f2f7fc;
    color: #1769aa;
    font-weight: 700;
}

#planEnquiryModal .we-quote-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid #e7edf4;
    padding-top: 22px;
}

#planEnquiryModal .we-quote-form-footer > span {
    color: #7b8da1;
    font-size: 12px;
    line-height: 1.6;
}

#planEnquiryModal .we-quote-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #2988c4, #1769aa);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(23, 105, 170, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#planEnquiryModal .we-quote-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 105, 170, 0.28);
}

@media (max-width: 576px) {
    #planEnquiryModal .we-quote-right {
        padding: 22px 18px;
    }

    #planEnquiryModal .we-quote-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    #planEnquiryModal .we-quote-submit-btn {
        width: 100%;
    }
}


/* Fix supplier enquiry modal size and scrolling */
#planEnquiryModal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 760px;
    margin: 16px auto;
    min-height: 0;
}

#planEnquiryModal .modal-content {
    width: 100%;
    max-height: calc(100dvh - 32px);
    border-radius: 18px;
    overflow: hidden;
}

#planEnquiryModal .we-quote-right {
    box-sizing: border-box;
    width: 100%;
    max-height: calc(100dvh - 32px);
    padding: 28px;
    overflow-y: auto;
}

#planEnquiryModal .we-quote-heading {
    margin-bottom: 22px;
}

#planEnquiryModal .we-quote-heading h2 {
    font-size: 28px;
    line-height: 1.25;
}

#planEnquiryModal .we-quote-heading p {
    font-size: 14px;
}

#planEnquiryModal .form-control {
    min-height: 44px;
}

#planEnquiryModal textarea.form-control {
    min-height: 90px;
}

#planEnquiryModal .we-quote-form-footer {
    padding-top: 18px;
    margin-top: 20px;
    background: #fff;
}

#planEnquiryModal .we-quote-submit-btn {
    min-height: 46px;
    padding: 11px 18px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    #planEnquiryModal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    #planEnquiryModal .modal-content {
        max-height: calc(100dvh - 20px);
    }

    #planEnquiryModal .we-quote-right {
        max-height: calc(100dvh - 20px);
        padding: 20px 16px;
    }

    #planEnquiryModal .we-quote-heading h2 {
        font-size: 23px;
    }

    #planEnquiryModal .we-quote-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    #planEnquiryModal .we-quote-submit-btn {
        width: 100%;
    }
}

