/**
 * Wellers Hire - General Contact Form Styles
 * Filename: general-enquiry-form.css
 * Version: 1.0.6
 * Description: Added double-range responsive media queries to fix the 
 * cramped side-by-side desktop field bug between 782px and 1200px.
 */

/* 1. THE MAIN CONTAINER & INTRO */
.weller-enquiry-container {
    max-width: 650px;
    margin: 20px auto;
    padding: 10px;
    font-family: inherit;
}

/* Added: Styles the friendly message you just added to the HTML */
.weller-form-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
}

/* 2. LAYOUT STRUCTURE (Rows & Columns) */
.weller-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.weller-column {
    flex: 1;
}

.weller-full {
    margin-bottom: 20px;
}

/* 3. FIELD TITLES (LABELS) */
.weller-enquiry-container label {
    display: block !important;
    font-weight: 700;
    margin-bottom: 4px !important; 
    color: #1C62AA;
    font-size: 14px;
}

/* 4. INPUT BOXES & TEXTAREA */
.weller-enquiry-container input[type="text"],
.weller-enquiry-container input[type="email"],
.weller-enquiry-container input[type="tel"],
.weller-enquiry-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    font-size: 15px;
    margin: 0 !important;
}

/* 5. NOTICE BOX & REQUIRED LEGEND */
.weller-notice-box {
    background-color: #f0f7ff;
    border-left: 4px solid #1C62AA;
    padding: 20px;
    margin-bottom: 25px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #333;
    border-radius: 0 4px 4px 0;
}

.weller-notice-box a {
    color: #1C62AA;
    text-decoration: underline;
    font-weight: 700;
}

.weller-required-legend {
    font-size: 13px;
    color: #777; 
    margin-bottom: 15px;
    font-style: italic;
    font-weight: 600;
    display: block;
}

.weller-req {
    color: #d93025; 
    font-weight: bold;
}

/* 6. SUBMIT BUTTON */
.weller-submit-wrap {
    margin-top: 10px;
}

.weller-enquiry-container input[type="submit"] {
    background-color: #1C62AA;
    color: #F9DE2B;
    border: 2px solid #1C62AA;
    padding: 12px 35px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weller-enquiry-container input[type="submit"]:hover {
    background-color: #F9DE2B;
    color: #1C62AA;
}

/* ==========================================================================
   7. RESPONSIVENESS & STACKING TRIGGERS
   ========================================================================== */

/* Forces fields to stack vertically into 1 column under two specific scenarios:
   Scenario 1: On small mobile viewports (600px and down)
   Scenario 2: On mid-sized screens (782px to 1200px) where the 2-column page layout 
               is active, squeezing the form space next to the map card sidebar.
*/
@media (max-width: 600px), (min-width: 782px) and (max-width: 1200px) {
    .weller-row {
        flex-direction: column;
        gap: 20px;
    }
}