
/* =========================================================
   COMMON ENQUIRY POPUP
========================================================= */
.popup-enq-btn{
    background: #006fa6;
    padding: 15px 20px;
    color: #fff;
    border: 1px solid #004262;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
}

.popEnq-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;

    transition: opacity .25s ease;
}

.popEnq-modal.is-open {
    display: flex;
    opacity: 1;
}


/* =========================================================
   OVERLAY
========================================================= */

.popEnq-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, .72);

    backdrop-filter: blur(5px);
}


/* =========================================================
   BODY LOCK
========================================================= */

body.popEnq-modal-open {
    overflow: hidden;
}


/* =========================================================
   DIALOG
========================================================= */

.popEnq-modal-dialog {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 760px;

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #fff;

    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, .30);

    transform: translateY(20px) scale(.98);

    transition:
        transform .25s ease;
}

.popEnq-modal.is-open .popEnq-modal-dialog {
    transform: translateY(0) scale(1);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.popEnq-modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 5;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    color: #fff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   HEADER
========================================================= */

.popEnq-modal-header {
    padding: 30px 35px;

    background:
        linear-gradient(
            135deg,
            #0f4f76,
            #0f766e
        );

    color: #fff;
}

.popEnq-modal-eyebrow {
    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    color: #ccfbf1;
}

.popEnq-modal-header h2 {
    margin: 0;

    font-size: 28px;
    line-height: 1.25;
}

.popEnq-modal-header p {
    margin: 8px 0 0;

    font-size: 14px;
    line-height: 1.6;

    color: #e0f2fe;
}


/* =========================================================
   FORM
========================================================= */

.popEnq-form {
    padding: 30px 35px;
}

.popEnq-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.popEnq-field {
    min-width: 0;
}

.popEnq-field-full {
    margin-top: 18px;
}

.popEnq-honeypot {
    display: none;
    visibility: none;
}

/* =========================================================
   LABELS
========================================================= */

.popEnq-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 700;

    color: #334155;
}

.popEnq-field label span {
    color: #dc2626;
}


/* =========================================================
   INPUTS
========================================================= */

.popEnq-field input,
.popEnq-field select,
.popEnq-field textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    background: #fff;

    color: #0f172a;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* INPUT + SELECT */

.popEnq-field input,
.popEnq-field select {
    height: 48px;

    padding: 0 13px;
}


/* TEXTAREA */

.popEnq-field textarea {
    min-height: 105px;

    padding: 13px;

    resize: vertical;
}


/* INPUT FOCUS */

.popEnq-field input:focus,
.popEnq-field select:focus,
.popEnq-field textarea:focus {
    border-color: #0f766e;

    box-shadow:
        0 0 0 3px rgba(15, 118, 110, .10);
}


/* =========================================================
   ERROR
========================================================= */

.popEnq-field input.popEnq-input-error,
.popEnq-field select.popEnq-input-error,
.popEnq-field textarea.popEnq-input-error {
    border-color: #dc2626;
}

.popEnq-error {
    min-height: 18px;

    padding-top: 5px;

    font-size: 12px;

    color: #dc2626;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.popEnq-btn {
    width: 100%;

    min-height: 52px;

    margin-top: 18px;

    border: 0;

    border-radius: 8px;

    font-family: inherit;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.popEnq-btn-primary {
    background: #0f766e;

    color: #fff;
}

.popEnq-btn-primary:hover {
    background: #0d665f;

    transform: translateY(-1px);
}

.popEnq-btn:disabled {
    cursor: not-allowed;

    opacity: .7;

    transform: none;
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.popEnq-form-message {
    margin-top: 12px;

    font-size: 14px;

    line-height: 1.5;

    text-align: center;
}

.popEnq-form-message-error {
    color: #dc2626;
}

.popEnq-form-message-success {
    color: #15803d;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .popEnq-modal {
        padding: 10px;
    }

    .popEnq-modal-dialog {
        max-height: calc(100vh - 20px);

        border-radius: 14px;
    }

    .popEnq-modal-header {
        padding: 25px 20px;
    }

    .popEnq-modal-header h2 {
        font-size: 23px;
    }

    .popEnq-form {
        padding: 22px 20px;
    }

    .popEnq-form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .popEnq-field {
        margin-bottom: 4px;
    }

    .popEnq-field-full {
        margin-top: 4px;
    }

    .popEnq-modal-close {
        top: 10px;
        right: 10px;
    }
}

