/* =========================================================
   SWAREX INSTANT QUOTATION FORM
   ========================================================= */

.swarex-quote-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 42px 48px 45px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.swarex-quote-header {
    text-align: center;
    margin-bottom: 36px;
}

.swarex-quote-header h2 {
    margin: 0 0 10px;
    font-family: inherit;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #101f4a;
}

.swarex-quote-header h2 span {
    color: #07833f;
}

.swarex-quote-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555f70;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.swarex-quote-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}


/* =========================================================
   FIELD
   ========================================================= */

.swarex-field {
    min-width: 0;
}

.swarex-field label,
.swarex-dynamic-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 25px;
    margin: 0 0 10px;
    color: #111d45;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.swarex-field label small {
    font-size: 13px;
    font-weight: 500;
    color: #596273;
}


/* =========================================================
   ICON
   ========================================================= */

.swarex-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: #087c3d;
    font-size: 19px;
    flex-shrink: 0;
}


/* =========================================================
   SELECTS
   ========================================================= */

.swarex-field select,
.swarex-dynamic-field select,
.swarex-dynamic-field input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #d9dee7;
    border-radius: 9px;
    background-color: #ffffff;
    color: #202638;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.swarex-field select:hover,
.swarex-dynamic-field select:hover {
    border-color: #aeb8c7;
}

.swarex-field select:focus,
.swarex-dynamic-field select:focus,
.swarex-dynamic-field input:focus {
    border-color: #087c3d;
    box-shadow: 0 0 0 3px rgba(8, 124, 61, 0.08);
}


/* =========================================================
   HELP TEXT
   ========================================================= */

.swarex-field-help {
    margin: 8px 0 0;
    color: #697384;
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   SHIPMENT DETAILS
   ========================================================= */

.swarex-shipment-details {
    margin-top: 28px;
    padding: 24px 26px;
    background: #f7fbf8;
    border: 1px solid #dcebe1;
    border-radius: 13px;
    box-sizing: border-box;
}

.swarex-dynamic-field {
    max-width: 430px;
}


/* =========================================================
   INPUT + UNIT
   ========================================================= */

.swarex-input-with-unit {
    display: flex;
    width: 100%;
}

.swarex-input-with-unit input {
    flex: 1;
    border-radius: 9px 0 0 9px;
}

.swarex-input-with-unit span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    padding: 0 14px;
    background: #eef3ef;
    border: 1px solid #d9dee7;
    border-left: 0;
    border-radius: 0 9px 9px 0;
    color: #087c3d;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.swarex-quote-submit {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.swarex-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 285px;
    min-height: 56px;
    padding: 0 30px;
    border: 0;
    border-radius: 8px;
    background: #ffc400;
    color: #101010;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 196, 0, 0.25);
    transition: all 0.2s ease;
}

.swarex-quote-button:hover {
    background: #f5b900;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 196, 0, 0.30);
}


/* =========================================================
   MESSAGE
   ========================================================= */

.swarex-quote-message {
    margin-top: 15px;
    text-align: center;
    color: #555;
    font-size: 14px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .swarex-quote-wrapper {
        padding: 38px 30px 40px;
    }

    .swarex-quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .swarex-quote-wrapper {
        padding: 30px 20px 35px;
        border-radius: 18px;
    }

    .swarex-quote-header {
        margin-bottom: 28px;
    }

    .swarex-quote-header h2 {
        font-size: 28px;
    }

    .swarex-quote-header p {
        font-size: 14px;
    }

    .swarex-quote-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .swarex-field select,
    .swarex-dynamic-field select,
    .swarex-dynamic-field input {
        height: 52px;
    }

    .swarex-quote-button {
        width: 100%;
        min-width: 0;
    }

}