/* MaidForYou Availability Plugin v1.0.0 */

#mfy-sec1,
#mfy-sec2 {
  font-family: 'Poppins', sans-serif;
}
.mfy-inner {
  width: 100%;
}

/* ── Headings ── */
.mfy-sec-title {
  font-size: clamp(22px, 3.8vw, 38px);
  font-weight: 800;
  text-align: center;
  color: #111;
  margin: 0 0 6px;
  padding: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}
.mfy-ora { color: #E87722; }
.mfy-sec-sub {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin: 0 0 34px;
  padding: 0;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

/* ── Skeleton loader ── */
.mfy-skel {
  background: #e8e8e8;
  border-radius: 14px;
  animation: mfy-sk 1.2s ease-in-out infinite alternate;
}
@keyframes mfy-sk { from{opacity:1} to{opacity:.4} }

/* ── Section 1: Area grid ── */
.mfy-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mfy-area-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 20px 22px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  font-family: 'Poppins', sans-serif;
}
.mfy-area-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
input#mfy-s-input {
    border: none;
}
.mfy-area-name { font-size: 15px; font-weight: 700; color: #111; }
.mfy-area-tag {
    font-size: 10px;
    font-weight: 400;
    color: #556172;
    background: #F9FAFB;
    padding: 5px 14px;
    border-radius: 20px;
}
span.mfy-ac-region {
    float: right !important;
    position: absolute;
    right: 12px;
    color: #908b8b;
}
.mfy-area-mid  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mfy-area-lbl  { font-size: 12px; color: #878FA0; font-weight: 400; }
.mfy-area-date { font-size: 13px; font-weight: 700; color: #111; }
.mfy-prog-track {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: hidden;
}
.mfy-prog-fill { height: 4px; border-radius: 2px; }
.mfy-area-note {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}
.mfy-area-book {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #E87722;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
}
.mfy-area-book:hover { opacity: .8; color: #E87722; }

/* ── Section 2: Search bar ── */
.mfy-search-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto 10px;
}
.mfy-search-pill {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  overflow: visible;
  transition: border-color .2s;
  padding: 4px 4px 4px 16px;
}
.mfy-search-pill:focus-within { border-color: #E87722; }
.mfy-s-pin { font-size: 13px; color: #ccc; flex-shrink: 0; margin-right: 8px; }
.mfy-s-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #333;
  padding: 8px 0;
  background: transparent;
  min-width: 0;
  box-shadow: none;
}
.mfy-s-input::placeholder { color: #878FA0; }
.mfy-s-btn {
  padding: 10px 22px;
  background: #E87722;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
  white-space: nowrap;
}
.mfy-s-btn:hover { background: #d06318; color: #fff; }

/* Autocomplete dropdown */
.mfy-ac-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 9999;
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.mfy-ac-drop.open { display: block; }
.mfy-ac-item {
  padding: 10px 18px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
}
.mfy-ac-item:hover, .mfy-ac-item.hi { background: #fff8f3; color: #E87722; }

/* Status */
.mfy-s-status {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  min-height: 18px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}
.mfy-s-status b    { color: #333; font-weight: 600; }
.mfy-s-status.warn { color: #E87722; font-weight: 500; }

/* Quick tags */
.mfy-qtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.mfy-qtag {
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  padding: 5px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  color: #555;
  background: #fff;
  transition: all .15s;
}
.mfy-qtag:hover { border-color: #E87722; color: #E87722; }

/* ── Suburb grid ── */
.mfy-suburb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mfy-suburb-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px 20px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: opacity .3s;
  font-family: 'Poppins', sans-serif;
}
.mfy-suburb-card.dimmed  { opacity: .8; pointer-events: none; }
.mfy-suburb-card.focused {
  border: 2px solid #E87722;
  background: #fffaf6;
  box-shadow: 0 2px 12px rgba(232,119,34,.12);
}
.mfy-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mfy-sub-name { font-size: 15px; font-weight: 700; color: #111; }

.mfy-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 20px;
}
.mfy-badge-active  { background: #e5f5e8; color: #2d7a38; }
.mfy-badge-popular { background: #fff0e0; color: #d4600a; }
.mfy-suburb-card.dimmed .mfy-badge {
  background: none;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  color: #878FA0;
}

/* Green available tag */
.mfy-avail-now {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #2d7a38;
  background: #e5f5e8;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 11px;
}
.mfy-avail-dot {
  width: 6px;
  height: 6px;
  background: #2d7a38;
  border-radius: 50%;
  flex-shrink: 0;
}

.mfy-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 8px;
}
.mfy-sub-lbl { color: #878FA0; font-weight: 400; }
.mfy-sub-val { font-weight: 600; color: #333; }
.mfy-sub-val.ora { color: #E87722; }

/* Plain text book link (normal/dimmed cards) */
.mfy-sub-book {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #E87722;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  padding: 8px 0 2px;
  background: none;
  border: none;
  cursor: pointer;
}
.mfy-sub-book:hover { opacity: .8; color: #E87722; }

/* Bordered button (focused card only) */
.mfy-sub-book-btn {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #E87722;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
  cursor: pointer;
  transition: all .15s;
}
.mfy-sub-book-btn:hover {color: #E87722; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .mfy-area-grid   { grid-template-columns: 1fr; }
  .mfy-suburb-grid { grid-template-columns: 1fr; }
  .mfy-search-pill { padding: 4px 4px 4px 14px; }
  .mfy-s-btn       { padding: 10px 16px; font-size: 12px; }
}
