/* =========================================================
   SWIFTDOCKS RFQ SECTION
   Styles existing left HTML + Fluent Forms on right
========================================================= */

/* ---------- PAGE / SECTION ---------- */

.sd-rfq-section {
    width: 100%;
    padding: 80px 4%;
    background: #f4f6f8;
    font-family: Arial, Helvetica, sans-serif;
    color: #17233b;
}

.sd-rfq-section *,
.sd-rfq-section *::before,
.sd-rfq-section *::after {
    box-sizing: border-box;
}


/* ---------- TWO COLUMN LAYOUT ---------- */

.sd-rfq-container {
    width: 92%;
    max-width: 1380px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 55px;

    align-items: start;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.sd-rfq-info {
    padding-top: 10px;
}

.sd-section-label {
    margin: 0 0 13px;

    color: #e5232d;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.sd-rfq-info h2 {
    margin: 0 0 23px;

    color: #17233b;

    font-size: clamp(38px, 4vw, 55px);
    line-height: 0.98;

    font-weight: 900;
    letter-spacing: -1px;

    text-transform: uppercase;
}

.sd-rfq-info h2 .sd-red,
.sd-red {
    color: #e5232d;
}

.sd-rfq-info > p {
    max-width: 520px;

    margin: 0 0 35px;

    color: #697381;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   HELPFUL SHIPMENT BOX
========================================================= */

.sd-send-box {
    width: 100%;

    padding: 31px 30px;

    background: #173c69;
    color: #ffffff;

    box-shadow: 0 12px 28px rgba(23, 60, 105, 0.12);
}

.sd-send-box h3 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;

    text-transform: uppercase;
}

.sd-send-item {
    padding: 11px 0;

    display: flex;
    align-items: flex-start;
    gap: 11px;

    border-bottom: 1px solid rgba(255,255,255,.10);

    color: rgba(255,255,255,.86);

    font-size: 13px;
    line-height: 1.5;
}

.sd-send-item:last-child {
    border-bottom: 0;
}

.sd-send-check {
    flex: 0 0 auto;

    color: #ef2632;

    font-size: 15px;
    font-weight: 900;
}


/* =========================================================
   URGENT BOX
========================================================= */

.sd-urgent-box {
    width: 100%;

    margin-top: 20px;
    padding: 28px 30px;

    background: #e5232d;
    color: #ffffff;
}

.sd-urgent-box small {
    display: block;

    margin: 0 0 8px;

    color: rgba(255,255,255,.78);

    font-size: 10px;
    line-height: 1.2;

    font-weight: 900;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.sd-urgent-box h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 22px;
    line-height: 1.05;

    font-weight: 900;

    text-transform: uppercase;
}

.sd-urgent-box p {
    margin: 0 0 19px;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.6;
}

.sd-call-button {
    display: inline-block;

    padding: 13px 18px;

    background: #ffffff;

    color: #e5232d !important;

    border-radius: 3px;

    font-size: 11px;
    line-height: 1;

    font-weight: 900;

    text-decoration: none !important;
    text-transform: uppercase;

    transition: all .2s ease;
}

.sd-call-button:hover {
    background: #17233b;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   RIGHT SIDE / RFQ CARD
========================================================= */

.sd-rfq-card {
    width: 100%;

    padding: 44px 45px;

    background: #ffffff;

    border: 1px solid #e0e5ea;

    box-shadow: 0 15px 40px rgba(15,48,85,.09);
}

.sd-rfq-card > h2 {
    margin: 0 0 8px;

    color: #17233b;

    font-size: 30px;
    line-height: 1.1;

    font-weight: 900;

    text-transform: uppercase;
}

.sd-form-intro {
    margin: 0 0 30px;

    color: #707985;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   FLUENT FORM
========================================================= */

.sd-rfq-card .fluentform {
    width: 100%;
}

.sd-rfq-card .fluentform .ff-el-group {
    margin-bottom: 20px !important;
}


/* ---------- LABELS ---------- */

.sd-rfq-card .fluentform .ff-el-input--label {
    margin-bottom: 7px !important;
}

.sd-rfq-card .fluentform .ff-el-input--label label {
    color: #3b4656 !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 11px !important;
    line-height: 1.3 !important;

    font-weight: 800 !important;

    letter-spacing: .25px;

    text-transform: uppercase;
}


/* Required star */

.sd-rfq-card .fluentform .ff-el-input--label.ff-el-is-required label:after {
    color: #e5232d !important;
}


/* =========================================================
   INPUTS
========================================================= */

.sd-rfq-card .fluentform input[type="text"],
.sd-rfq-card .fluentform input[type="email"],
.sd-rfq-card .fluentform input[type="tel"],
.sd-rfq-card .fluentform input[type="number"],
.sd-rfq-card .fluentform input[type="date"],
.sd-rfq-card .fluentform input[type="url"],
.sd-rfq-card .fluentform select,
.sd-rfq-card .fluentform textarea {

    width: 100% !important;

    min-height: 50px;

    padding: 14px 15px !important;

    background: #ffffff !important;

    border: 1px solid #d9dee4 !important;
    border-radius: 2px !important;

    color: #17233b !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 14px !important;
    line-height: 1.4 !important;

    box-shadow: none !important;

    outline: none !important;

    transition: all .2s ease !important;
}


/* Placeholder */

.sd-rfq-card .fluentform input::placeholder,
.sd-rfq-card .fluentform textarea::placeholder {
    color: #9aa2ad !important;
    opacity: 1 !important;
}


/* Focus */

.sd-rfq-card .fluentform input:focus,
.sd-rfq-card .fluentform select:focus,
.sd-rfq-card .fluentform textarea:focus {

    border-color: #173c69 !important;

    box-shadow:
        0 0 0 3px rgba(23,60,105,.08) !important;
}


/* Text area */

.sd-rfq-card .fluentform textarea {
    min-height: 150px !important;

    resize: vertical;
}


/* =========================================================
   NAME FIELDS / MULTI COLUMN
========================================================= */

.sd-rfq-card .fluentform .ff-t-cell {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.sd-rfq-card .fluentform .ff-t-container {
    margin-left: -8px !important;
    margin-right: -8px !important;
}


/* =========================================================
   CHECKBOXES — SERVICES
========================================================= */

.sd-rfq-card .fluentform .ff-el-form-check {
    margin: 0 0 8px !important;
}

.sd-rfq-card .fluentform .ff-el-form-check-label {
    display: flex !important;

    align-items: center;

    gap: 8px;

    color: #53606e !important;

    font-size: 13px !important;
    line-height: 1.4 !important;

    cursor: pointer;
}

.sd-rfq-card .fluentform input[type="checkbox"] {

    width: 17px !important;
    height: 17px !important;

    min-height: 0 !important;

    margin: 0 !important;

    accent-color: #173c69;

    cursor: pointer;
}


/* =========================================================
   URGENCY RADIO BUTTONS
========================================================= */

.sd-rfq-card .fluentform input[type="radio"] {

    width: 17px !important;
    height: 17px !important;

    min-height: 0 !important;

    margin: 0 7px 0 0 !important;

    accent-color: #e5232d;

    cursor: pointer;
}

.sd-rfq-card .fluentform input[type="radio"] + span,
.sd-rfq-card .fluentform .ff-el-form-check-label {

    color: #53606e;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   FORM SECTION SEPARATION
========================================================= */

.sd-rfq-card .fluentform .ff-el-group {
    position: relative;
}


/* Give major question groups breathing room */

.sd-rfq-card .fluentform .ff-el-group:nth-of-type(4),
.sd-rfq-card .fluentform .ff-el-group:nth-of-type(5),
.sd-rfq-card .fluentform .ff-el-group:nth-of-type(6) {
    margin-top: 25px !important;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.sd-rfq-card .fluentform .ff-btn-submit,
.sd-rfq-card .fluentform button[type="submit"] {

    width: 100% !important;

    min-height: 56px;

    margin-top: 10px !important;

    padding: 17px 24px !important;

    border: 0 !important;
    border-radius: 3px !important;

    background: #e5232d !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 13px !important;
    line-height: 1 !important;

    font-weight: 900 !important;

    letter-spacing: .4px;

    text-transform: uppercase !important;

    cursor: pointer !important;

    box-shadow: none !important;

    transition: all .2s ease !important;
}

.sd-rfq-card .fluentform .ff-btn-submit:hover,
.sd-rfq-card .fluentform button[type="submit"]:hover {

    background: #c91c26 !important;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(229,35,45,.18) !important;
}


/* =========================================================
   ERRORS
========================================================= */

.sd-rfq-card .fluentform .error {
    color: #e5232d !important;
}

.sd-rfq-card .fluentform .ff-el-is-error input,
.sd-rfq-card .fluentform .ff-el-is-error select,
.sd-rfq-card .fluentform .ff-el-is-error textarea {

    border-color: #e5232d !important;
}

.sd-rfq-card .fluentform .text-danger {

    margin-top: 5px;

    color: #e5232d !important;

    font-size: 11px !important;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.sd-rfq-card .fluentform .ff-message-success {

    padding: 22px !important;

    background: #f3f8f5 !important;

    border: 1px solid #d4e7db !important;
    border-left: 4px solid #173c69 !important;

    color: #17233b !important;

    font-size: 14px !important;
    line-height: 1.6 !important;
}


/* =========================================================
   REMOVE UNWANTED FORM BACKGROUNDS
========================================================= */

.sd-rfq-card .fluentform,
.sd-rfq-card .fluentform form,
.sd-rfq-card .fluentform .ff-el-group,
.sd-rfq-card .fluentform .ff-el-input--content {

    background: transparent !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .sd-rfq-section {
        padding: 65px 4%;
    }

    .sd-rfq-container {

        width: 94%;

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .sd-rfq-info {
        max-width: 750px;
    }

    .sd-rfq-card {
        padding: 40px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .sd-rfq-section {
        padding: 50px 18px;
    }

    .sd-rfq-container {
        width: 100%;

        gap: 30px;
    }

    .sd-rfq-info h2 {

        font-size: 39px;

        line-height: 1;
    }

    .sd-send-box {
        padding: 25px 22px;
    }

    .sd-urgent-box {
        padding: 25px 22px;
    }

    .sd-rfq-card {

        padding: 30px 21px;

        box-shadow:
            0 10px 25px rgba(15,48,85,.07);
    }

    .sd-rfq-card > h2 {
        font-size: 27px;
    }

    .sd-rfq-card .fluentform .ff-t-container {

        display: block !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .sd-rfq-card .fluentform .ff-t-cell {

        width: 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sd-rfq-card .fluentform input,
    .sd-rfq-card .fluentform select,
    .sd-rfq-card .fluentform textarea {

        font-size: 16px !important;
    }
}