
.wp_diyarat_search-container {
background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    flex-wrap: wrap;
}
.wp_diyarat_search-fields {
    display: flex;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
select, .wp_diyarat_location-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 140px;
    font-size: 14px;
    outline: none;
    background: white;
    cursor: pointer;
}
.wp_diyarat_location-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.wp_diyarat_location-input i {
    color: #888;
    font-size: 14px;
}
.wp_diyarat_radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wp_diyarat_radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f6f6f6;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.wp_diyarat_price-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    min-width: 250px;
}
/* noUiSlider styling */
#wp_diyarat_slider {
    width: 100%;
    margin: 10px 0;
}
.noUi-connect {
    background: #006f42;
}
.noUi-handle {
    background: white;
    border: 2px solid #006f42;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    top: -7px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.wp_diyarat_find-btn {
    background: #006f42;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}
button.wp_diyarat_find-btn {
    background: #006f42;
    color: #ffffff;
}
.wp_diyarat_find-btn:hover {
    background: #22a74f;
}
/* Dropdown Styles */
.wp_diyarat_location-wrapper {
    position: relative;
    width: 30%;
}
.wp_diyarat_location-dropdown {
    position: absolute;
    top: 45px;
    left: 0;
    width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: none;
    flex-direction: column;
    z-index: 100;
}
.wp_diyarat_location-search {
    padding: 8px;
    border: none;
    outline: none;
    font-size: 14px;
    width: calc(100% - 16px);
    border-bottom: 1px solid #eee;
}
.wp_diyarat_location-list {
    max-height: 200px;
    overflow-y: auto;
}
.wp_diyarat_location-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}
.wp_diyarat_location-item:hover {
    background: #f5f5f5;
}

.wp_property_apply_form {
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    padding:20px;
    max-width:500px;
    margin:auto;
    font-family:Arial, sans-serif;
}
.wp_property_apply_form h3 {
    font-size:16px;
    margin-bottom:15px;
    color:#444;
}
.wp_property_apply_form input[type="text"],
.wp_property_apply_form input[type="email"] {
    width:100%;
    padding:12px;
    margin-bottom:10px;
    border:1px solid #ddd;
    border-radius:6px;
}
.wp_property_apply_form label.checkbox {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    font-weight: 400;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.wp_property_apply_form button {
    width:100%;
    background:#218838;
    color:#fff;
    border:none;
    border-radius:6px;
    padding:12px;
    font-size:16px;
    cursor:pointer;
}
.wp_property_apply_form button:hover {
    background:#218838;
}
.wp_property_response {
    margin-top:10px;
    font-size:14px;
}
.wp_diyarat_20px {
    padding: 20px;
}

/* 🔹 Responsive Tweaks */

/* Mobile Fix */
@media (max-width: 480px) {
  .wp_diyarat_search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px;
  }

  /* সব select 100% */
  .wp_diyarat_search-fields select,
  .wp_diyarat_search-fields .wp_diyarat_location-wrapper,
  .wp_diyarat_search-fields .wp_diyarat_location-input {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* radio group full width */
  .wp_diyarat_radio-group {
    display: flex;
    flex-direction: column; /* মোবাইলে একটার নিচে একটা */
    width: 100% !important;
    gap: 8px;
  }

  .wp_diyarat_radio-group label {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* price range full width */
  .wp_diyarat_price-range {
    width: 100% !important;
  }

  .wp_diyarat_price-range button {
    width: 100% !important;
  }
}

/* Tablet (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .wp_diyarat_search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .wp_diyarat_search-fields,
  .wp_diyarat_price-range {
    width: 100%;
  }

  .wp_diyarat_radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .wp_diyarat_radio-group label {
    flex: 1 1 45%; /* ট্যাবলেটে ২ কলামে nicely বসবে */
  }
}




.wp_diyarat_slider-container {
    position: relative;
    width: auto;
    overflow: hidden;
}

.wp_diyarat_slider-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.wp_diyarat_slider-card {
    min-width: 100%;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.wp_diyarat_slider-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.wp_diyarat_slider-card p {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: unset;
}

.wp_diyarat_slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.wp_diyarat_slider-nav-left {
    left: -40px;
}

.wp_diyarat_slider-nav-right {
    right: -40px;
}

@media (max-width: 400px) {
    /* .wp_diyarat_slider-container {
        width: 90%;
    } */

    .wp_diyarat_slider-nav-left {
        left: -25px;
    }

    .wp_diyarat_slider-nav-right {
        right: -25px;
    }
}

.wp_diyarat_contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wp_diyarat_contact-btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #28a745;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.wp_diyarat_contact-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.wp_diyarat_contact-btn:hover {
  background-color: #f0f0f0;
}

@media (max-width: 480px) {
  .wp_diyarat_contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.d-flex {
    display: flex;
}
.justify-content-between {
    justify-content: space-between;
}
.align-items-center {
    align-items: center;
}

span.handover-label strong {
    color: #726d68;
}
.property-handover span {
    color: #272727;
    font-weight: 700;
}


.wp_diyarat_search_openBtn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px; /* pill shape */
    background-color: #f7f7f7; /* light gray background */
    color: #333; /* text color */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* subtle shadow */
    user-select: none;
    transition: background 0.2s, box-shadow 0.2s;
} 
.wp_diyarat_search_openBtn:hover {
    background-color: #eee;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
} 
.wp_diyarat_search_openBtn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #666;
}

/* Overlay */
.wp_diyarat_search_overlay {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
/* Popup */
.wp_diyarat_search_popup {
    background: #fff;
    width: 100%;
    max-width: 420px;
    height: 90vh;
    max-height: 600px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/* Header */
.wp_diyarat_search_header {
    display: flex; justify-content: space-between; 
    align-items: center; padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    font-size: 16px;
}
.wp_diyarat_search_close {
    cursor: pointer; font-size: 20px; font-weight: bold;
}
/* Content */
.wp_diyarat_search_content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}
.wp_diyarat_search_section { margin-bottom: 20px; }
.wp_diyarat_search_section h4 { margin: 0 0 10px; font-size: 14px; }

.wp_diyarat_search_input_range {
    display: flex; gap: 8px;
}
.wp_diyarat_search_input_range input {
    width: 100%;
    padding: 6px; border: 1px solid #ccc; border-radius: 6px;
}
/* Buttons for Bedroom/Bathroom */
.wp_diyarat_search_buttons {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.wp_diyarat_search_buttons div {
    border: 1px solid #999;
    padding: 5px 12px; border-radius: 4px;
    cursor: pointer; font-size: 13px;
    transition: 0.2s;
}
.wp_diyarat_search_buttons div:hover,
.wp_diyarat_search_buttons .active {
    background: #006f42; color: #fff; border-color: #006f42;
}

.wp_diyarat_search_section { 
    margin-bottom: 1rem;
}
.wp_diyarat_search_section h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #000;
}
.wp_diyarat_search_checkbox label {
    display: flex; 
    font-size: 14px;
    color: #000;
    margin-bottom: 6px;
    cursor: pointer;
}
.wp_diyarat_search_checkbox input[type="checkbox"] {
    margin-right: 6px;
    width: 14px;
    height: 14px;
    cursor: pointer;
}
/* Checked state with green tick */
.wp_diyarat_search_checkbox input[type="checkbox"]:checked {
    border-color: #006f42;
    background-color: #fff;
}
.wp_diyarat_search_checkbox input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: #006f42;
    left: 2px;
    top: -1px;
}


/* Footer */
.wp_diyarat_search_footer {
    padding: 12px 16px;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #ddd;
    background: #f8f8f8;
}
.wp_diyarat_search_clear { cursor: pointer; font-size: 13px; color: #444; }
.wp_diyarat_search_apply {
    background: green; color: #fff;
    padding: 8px 18px; border: none; border-radius: 6px;
    cursor: pointer; font-weight: bold;
    transition: 0.2s;
}
.wp_diyarat_search_apply:hover {
    background: #005c1a;
}
button.wp_diyarat_search_apply {
    background: #006f42;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}
/* Responsive tweaks */
@media (max-width: 480px) {
.wp_diyarat_search_popup {
    max-width: 95%;
    height: 95vh;
    max-height: none;
}
.wp_diyarat_search_header {
    font-size: 14px;
}
.wp_diyarat_search_section h4 {
    font-size: 13px;
}
}
.wp_diyarat_search_show {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* space between items */
}

.wp_diyarat_search_item {
  flex: 1 1 100%;      /* default: full width on small screens */
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .wp_diyarat_search_item {
    flex: 1 1 48%;     /* half width on medium+ screens */
  }
}

.wp_diyarat_search_show {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}