/* ==========================================
   SEARCH TAGLINE STYLING
   ========================================== */

/* ==========================================
   NEW SEARCH HEADER STYLING (H2 Title)
   ========================================== */

/* ==========================================
   MAIN SEARCH CONTAINER
   ========================================== */
.um-exact-filter-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Title Styling */
.um-search-title {
    text-align: center;
    color: #298EA6;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* ==========================================
   ROW 1: 3 DROP-DOWNS
   ========================================== */
.um-exact-main-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.um-exact-main-row .um-exact-dropdown {
    flex: 1; /* Teeno dropdowns ko barabar width deta hai */
}

/* ==========================================
   ROW 2: 4 EQUAL FIELDS (State, Zip, Radius, Gender)
   ========================================== */
.um-fields-four-col {
    display: grid;
    /* Yeh line charon columns ko exact barabar width deti hai */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-end;
}

/* Inputs aur Selects ki width fix karne ke liye */
.um-fields-four-col .um-exact-field select,
.um-fields-four-col .um-exact-field input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 45px; /* Sabka height aik jesa */
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.um-exact-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
    color: #333;
}

/* ==========================================
   ROW 3: CENTERED SEARCH BUTTON
   ========================================== */
.um-exact-submit-container {
    display: flex;
    justify-content: center; /* Button ko center karne ke liye */
    width: 100%;
    margin-bottom: 25px;
}

.um-exact-button {
    background-color: #298EA6;
    color: white;
    padding: 12px 60px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.um-exact-button:hover {
    background-color: #1a5f70;
}

/* ==========================================
   TAGLINE STYLING
   ========================================== */
.um-search-tagline {
    text-align: center;
    background: #298EA6;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}

/* ==========================================
   RESPONSIVE (Mobile & Tablet)
   ========================================== */

/* Tablet view par 2-2 fields dikhengi */
@media (max-width: 992px) {
    .um-fields-four-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .um-exact-main-row {
        flex-wrap: wrap;
    }
    .um-exact-main-row .um-exact-dropdown {
        min-width: 45%;
    }
}

/* Mobile view par sab aik ke niche aik */
@media (max-width: 600px) {
    .um-fields-four-col {
        grid-template-columns: 1fr;
    }
    .um-exact-main-row .um-exact-dropdown {
        min-width: 100%;
    }
    .um-exact-button {
        width: 100%; /* Mobile par full width button */
    }
}