/* ============================================= */
/* MaidForYou Region Browser v1.2.1             */
/* ============================================= */

#mfyrb-root {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ══ DESKTOP LAYOUT ══ */
.mfyrb-wrap {
  display: flex;
  min-height: 320px;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch;
  box-sizing: border-box;
}

/* ── Sidebar (Fixed 350px) ── */
.mfyrb-sidebar {
  width: 350px !important;
  min-width: 350px !important;
  flex-shrink: 0;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

/* ── Tab buttons ── */
.mfyrb-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #878FA0;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1.35;
  box-shadow: none;
}

.mfyrb-tab:hover {
  color: #374151;
  background: transparent;
}

.mfyrb-tab--active {
  color: #0A0A0A;
  font-weight: 500;
  background: transparent;
  box-shadow: 0px 4px 6px -1px #0000001A;
  border-radius: 15px;
  max-width: 315px;
}

/* ── Pin SVG ── */
.mfyrb-pin {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #d1d5db;
  transition: color 0.15s;
}

.mfyrb-tab:hover .mfyrb-pin {
  color: #9ca3af;
}

/* ── Content Area (Takes full remaining space) ── */
.mfyrb-content {
  flex: 1 1 0%;
  min-width: 0;
  padding: 30px 36px 28px;
  background: #FFFFFF80;
  box-shadow: 0px 4px 6px -1px #0000001A;
  border-radius: 15px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── Panels ── */
.mfyrb-panel {
  display: none;
}

.mfyrb-panel--active {
  display: block;
}

/* ── Region title ── */
.mfyrb-region-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
  line-height: 1.2;
}

.mfyrb-region-count {
  font-size: 13px;
  color: #9ca3af;
  margin: 0 0 22px;
  font-weight: 400;
}

button.mfyrb-tab.mfyrb-tab--active svg.mfyrb-pin {
  color: #f47f04;
}

/* ── Suburb pills ── */
.mfyrb-suburbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.mfyrb-suburb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0A0A0A;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  cursor: pointer;
  line-height: 1.3;
}

.mfyrb-suburb-btn:hover {
  border-color: #E87722;
  color: #E87722;
  background: #fff8f2;
}

/* ── Footer note ── */
.mfyrb-footer-note {
  font-size: 12px;
  color: #556172;
  margin: 0;
  line-height: 2em;
  background: #F9FAFB;
  padding: 16px 12px;
  border-radius: 15px;
  	
}

.mfyrb-phone {
  color: #E87722;
  font-weight: 600;
  text-decoration: none;
}

.mfyrb-phone:hover {
  text-decoration: underline;
}

/* ══ MOBILE (≤ 680px) ══ */
@media (max-width: 680px) {
  .mfyrb-wrap {
    flex-direction: column;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: #f9fafb;
  }

  .mfyrb-sidebar {
    width: 100% !important;
    min-width: unset !important;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px 14px 6px;
    gap: 8px;
    background: transparent;
  }

  .mfyrb-tab {
    flex: 0 0 calc(50% - 4px);
    padding: 9px 14px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    gap: 7px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    justify-content: flex-start;
    box-shadow: none !important;
  }

  .mfyrb-tab:last-child:nth-child(odd) {
    flex: 0 0 max-content;
    margin: 0 auto;
  }

  .mfyrb-tab--active {
    background: #fff8f0;
    border-color: #E87722;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: none !important;
  }

  .mfyrb-content {
    width: 100% !important;
    padding: 20px 16px 22px;
    background: #fff;
    border-radius: 0 0 14px 14px;
    margin: 0;
  }

  .mfyrb-suburbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .mfyrb-suburb-btn {
    border-radius: 12px;
    padding: 14px 10px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .mfyrb-footer-note {
    font-size: 12.5px;
    background: none;
    padding: 0;
  }
}

/* Desktop */
.mfyrb-footer-note {
    width: 768px;
}

/* Tablet */
@media (max-width: 1024px) {
    .mfyrb-footer-note {
        min-width: 550px;
        width: auto;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .mfyrb-footer-note {
        width: auto;
        min-width: 0;
    }
}