/* 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: #F47F04; }
.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: #F47F04;
  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: #F47F04; }

/* ── 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: #F47F04; }
.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: #F47F04;
  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: #F47F04; }

/* 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: #F47F04; 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: #F47F04; color: #F47F04; }

/* ── 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 #F47F04;
  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: #F47F04; }

/* Plain text book link (normal/dimmed cards) */
.mfy-sub-book {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #F47F04;
  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: #F47F04; }

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

/* ── 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; }
}

/* ══════════════════════════════════════════════



/* ══════════════════════════════════════════════
   TIME PICKER  [mfy_timepicker]
   Matches reference design exactly
══════════════════════════════════════════════ */

/* Wrap: full width, white bg, no max-width cap, subtle border */
.mfy-tp-wrap {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    border: 1px solid #F3F4F6; 
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px 4px 6px -1px #0000001A;
}

/* ─── Date row ─── */
.mfy-tp-date-row {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 16px 20px 0;
  border-bottom: 1.5px solid #efefef;
  padding-bottom: 0;
}
.mfy-tp-date-row::-webkit-scrollbar { display: none; }

.mfy-tp-date-pill {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 6px 14px;
    cursor: pointer;
    user-select: none;
    background: #F5F5F5;
    border-bottom: 3px solid transparent;
    transition: background .15s;
    border-radius: 0;
    border-radius: 8px;
}
.mfy-tp-date-pill:hover:not(.active) { background: #fdf3e7; }
.mfy-tp-date-pill.active {
    background: #FF6B35;
    border-radius: 8px;
}

.mfy-tp-dow {
  font-size: 11px;
  font-weight: 500;
  color: #999;
  line-height: 1.4;
}
.mfy-tp-day {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}
.mfy-tp-mon {
  font-size: 11px;
  font-weight: 500;
  color: #999;
  line-height: 1.4;
}
.mfy-tp-date-pill.active .mfy-tp-dow,
.mfy-tp-date-pill.active .mfy-tp-day,
.mfy-tp-date-pill.active .mfy-tp-mon { color: #fff; }

/* ─── Body area (below date row) ─── */
.mfy-tp-body {
  padding: 16px 20px 0;
}

/* ─── Subheading ─── */
.mfy-tp-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mfy-tp-subhead-label {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.mfy-tp-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #00A63E;
}
.mfy-tp-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #43a047;
  flex-shrink: 0;
}

/* ══════════════════════
   MOBILE — vertical list
══════════════════════ */
.mfy-tp-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.mfy-tp-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1.5px solid #e8e8e8;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color .15s, background .15s;
}
.mfy-tp-slot:hover:not(.taken):not(.active) {
  border-color: #F47F04;
  background: #fffaf4;
}
.mfy-tp-slot.active {
  background: #FF6B35;
  border-color: #FF6B35;
}
.mfy-tp-slot.taken {
  cursor: default;
  opacity: .45;
}

.mfy-tp-slot-time {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.mfy-tp-slot.active .mfy-tp-slot-time { color: #fff; }
.mfy-tp-slot.taken  .mfy-tp-slot-time { font-weight: 400; }

.mfy-tp-popular-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  background: #fff3e0;
  color: #F47F04;
  white-space: nowrap;
}
.mfy-tp-slot.active .mfy-tp-popular-badge {
  background: rgba(255,255,255,.22);
  color: #fff;
}
.mfy-tp-slot.taken .mfy-tp-popular-badge { display: none; }

.mfy-tp-arrow { font-size: 18px; color: #ccc; }
.mfy-tp-check { font-size: 18px; color: #fff; font-weight: 700; }
.mfy-tp-taken-lbl { display: none; } /* hidden — no "Taken" text */

/* ─── Footer ─── */
.mfy-tp-footer {
  border-top: 1.5px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.mfy-tp-selected-label {
  font-size: 13px;
  color: #888;
}
.mfy-tp-selected-label b { color: #111; font-weight: 700; }

.mfy-tp-cta {
  display: inline-block;
  background: #FF6B35;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  transition: background .15s;
}
.mfy-tp-cta:hover { background: #d06500; }

/* ══════════════════════════════════════
   DESKTOP ≥640px — horizontal pills
══════════════════════════════════════ */
@media (min-width: 640px) {

  .mfy-tp-date-row { padding: 0px; }
  .mfy-tp-body { padding: 18px 24px; background: #F9FAFB; }

  /* Slots: horizontal scrollable row */
  .mfy-tp-slots {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 12px; /* room for Popular badge */
    margin-bottom: 0;
    align-items: stretch;
  }
  .mfy-tp-slots::-webkit-scrollbar { display: none; }

  /* Each pill */
  .mfy-tp-slot {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    min-width: 80px;
    text-align: center;
    overflow: visible;
    gap: 0;
  }

  /* Hide mobile icons on desktop */
  .mfy-tp-arrow,
  .mfy-tp-check { display: none; }

  /* No checkmark, no Taken text on desktop */
  .mfy-tp-slot.taken::after { content: none; }
  .mfy-tp-slot.active::after { content: none; }

  /* Popular badge: sits on top edge of pill */
  .mfy-tp-popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B35;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
    line-height: 1.5;
  }
  .mfy-tp-slot.active .mfy-tp-popular-badge {
    background: #FF6B35;
    color: #fff;
  }

  /* Footer full width */
  .mfy-tp-footer {
    flex-wrap: nowrap;
    padding: 18px 24px 24px;
  }
  .mfy-tp-selected-label { white-space: nowrap; font-size: 14px; }
  .mfy-tp-cta { margin-left: auto; }
}

@media (min-width: 640px) {
	.mfy-tp-date-row{
		gap:0;
	}
	.mfy-tp-date-pill.active {
    border-radius: 0px;
}
	.mfy-tp-date-pill {
    border-radius: 0px;
		background:#fff;
}
 .mfy-tp-date-row .mfy-tp-date-pill:first-child {
        border-top-left-radius: 15px;
    }

    .mfy-tp-date-row .mfy-tp-date-pill:last-child {
        border-top-right-radius: 15px;
    }
}
