.elementor-1820 .elementor-element.elementor-element-5715738{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-49cfc08 *//* ==========================================================================
   MDA LOGISTICS - DISPATCH SERVICE INQUIRY FORM STYLES
   ========================================================================== */

.mda-dispatch-wrapper {
    background-color: #f8fafc;
    padding: 30px 20px;
    border-radius: 12px;
    max-width: 850px; /* Synchronized directly with the track shipment form sizing */
    margin: 0 auto !important;
    box-sizing: border-box;
}

.mda-dispatch-form {
    width: 100%;
    box-sizing: border-box;
}

.mda-dispatch-form .mda-form-step-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

/* Header Banner Styling */
.mda-dispatch-form .mda-section-title {
    background-color: #0066cc !important; /* Signature Corporate Logistics Blue */
    color: #ffffff !important;
    padding: 10px 20px !important;
    
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    border-radius: 6px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
}

/* Horizontal Align Engine */
.mda-dispatch-form .mda-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    align-items: flex-start !important;
}

.mda-dispatch-form .mda-row p { display: contents !important; }
.mda-dispatch-form .mda-row br { display: none !important; }

/* Structural Grid Split Columns Parameters */
.mda-dispatch-form .mda-col-12 { flex: 0 0 100% !important; max-width: 100% !important; display: flex; flex-direction: column; }
.mda-dispatch-form .mda-col-6  { flex: 0 0 calc(50% - 10px) !important; max-width: 50% !important; display: flex; flex-direction: column; }

/* Labels Customization */
.mda-dispatch-form label,
.mda-dispatch-form .mda-checkbox-heading {
    display: block !important;
    margin-bottom: 8px !important;
    color: #1e3a8a !important; /* Dark Blue Contrast Color */
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: left !important;
}

/* Inputs fields control properties */
.mda-dispatch-form input[type="text"],
.mda-dispatch-form input[type="tel"],
.mda-dispatch-form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    height: 48px !important;
    transition: all 0.2s ease-in-out;
}

.mda-dispatch-form textarea {
    height: 110px !important;
    resize: vertical;
}

.mda-dispatch-form input:focus,
.mda-dispatch-form textarea:focus {
    border-color: #0066cc !important;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12) !important;
    outline: none !important;
}

/* Checkbox alignment structures mapping */
.mda-dispatch-form .mda-checkbox {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mda-dispatch-form .mda-checkbox span.wpcf7-list-item {
    margin: 0 !important;
    display: block !important;
}
.mda-dispatch-form .mda-checkbox input[type="checkbox"] {
    margin-right: 10px !important;
    transform: scale(1.15);
    vertical-align: middle;
}
.mda-dispatch-form .mda-checkbox span.wpcf7-list-item-label {
    color: #475569 !important;
    font-weight: 500;
    font-size: 15px;
    vertical-align: middle;
}

/* Submitting button properties */
.mda-dispatch-form .mda-submit-btn {
    background-color: #0066cc !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    width: auto;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 102, 204, 0.2);
}

.mda-dispatch-form .mda-submit-btn:hover {
    background-color: #004da3 !important;
}
.mda-dispatch-form .mda-submit-btn:active {
    transform: scale(0.98);
}

/* Mobile responsive collapsing structures mapping */
@media (max-width: 767px) {
    .mda-dispatch-form .mda-row {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .mda-dispatch-form .mda-col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .mda-dispatch-form .mda-submit-btn {
        width: 100% !important;
        text-align: center;
    }
}
/* Force absolute vertical and horizontal centering inside the blue banner box */
.mda-dispatch-form .mda-section-title,
.mda-shipment-form .mda-section-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;       /* Aligns text perfectly straight down the vertical center axis */
    justify-content: center !important;   /* Centers text along the horizontal row axis */
    text-align: center !important;
    
    /* Clean up line heights and paddings to prevent inner text displacement */
    line-height: 1.5 !important;          
    padding-top: 18px !important;         /* Balanced upper buffer spacing */
    padding-bottom: 1px !important;      /* Balanced lower buffer spacing */
    min-height: 54px !important;          /* Establishes a uniform container profile block */
    box-sizing: border-box !important;
}
/* Align submit buttons to the far right on both forms */
.mda-shipment-form .mda-submit-wrap,
.mda-dispatch-form .mda-submit-wrap {
    display: flex !important;
    justify-content: flex-end !important; /* Pulls the button element to the far right margin */
    width: 100% !important;
    margin-top: 25px !important;
    box-sizing: border-box !important;
}

/* Ensure individual buttons maintain natural auto widths instead of stretching */
.mda-shipment-form .mda-submit-btn,
.mda-dispatch-form .mda-submit-btn {
    width: auto !important;
}

/* Tablet & Mobile responsive fallback: Keep full-width on mobile for easy thumb clicking */
@media screen and (max-width: 767px) {
    .mda-shipment-form .mda-submit-wrap,
    .mda-dispatch-form .mda-submit-wrap {
        justify-content: center !important; /* Centers button perfectly on phones */
    }
    .mda-shipment-form .mda-submit-btn,
    .mda-dispatch-form .mda-submit-btn {
        width: 100% !important; /* Stretches safely on mobile to prevent text truncation */
    }
}/* End custom CSS */