.kf-wk {
  --teal: #01726f;
  --teal-deep: #024c4a;
  --coral: #ff6b6b;
  --muted: #6a7a79;
  --line: #eef3f2;
  --cream: #fdf8ef;

  font-family: "Montserrat", sans-serif;
  max-width: 1100px;
  margin: 0 auto;
}

.kf-wk * {
  box-sizing: border-box;
}

.kf-wk-hero {
  text-align: center;
  padding: 44px 24px;
  border-radius: 20px;
  margin-bottom: 28px;
  color: #fff;
  background: linear-gradient(135deg, #3cd3c4, #01726f);
}

.kf-wk-hero h1 {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 800;
}

.kf-wk-week {
  margin: 0;
  font-size: 15px;
  opacity: 0.95;
}

.kf-wk-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.kf-wk-rules,
.kf-wk-cal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(1, 114, 111, 0.1);
}

.kf-wk-rules {
  padding: 24px;
}

.kf-wk-rules h3 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
}

.kf-wk-rule {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #445;
  line-height: 1.55;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.kf-wk-rule:last-child {
  border-bottom: none;
}

.kf-wk-rule strong {
  color: var(--teal-deep);
}

.kf-wk-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 3px;
  flex: 0 0 auto;
}

.kf-wk-dot.t {
  background: #3cd3c4;
}

.kf-wk-dot.y {
  background: #fcc12b;
}

.kf-wk-dot.g {
  background: #ade5a3;
}

.kf-wk-cal {
  padding: 24px;
}

.kf-wk-grid-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.kf-wk-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 8px 8px;
}

.kf-wk-table th {
  padding: 8px 4px 12px;
  font-size: 12px;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--line);
  vertical-align: bottom;
  text-align: center;
}

.kf-wk-th-time,
.kf-wk-time {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  text-align: right;
  white-space: nowrap;
}

.kf-wk-time {
  padding-right: 10px;
  font-size: 12px;
  color: var(--muted);
  vertical-align: middle;
}

.kf-wk-dow {
  display: block;
  font-weight: 800;
  font-size: 13px;
}

.kf-wk-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
}

.kf-wk-hrs {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.kf-wk-slot {
  height: 38px;
  min-height: 38px;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid var(--line);
  cursor: default;
  overflow: hidden;
}

.kf-wk-slot.open {
  background: var(--teal);
  cursor: pointer;
}

.kf-wk-slot.open:hover {
  background: var(--teal-deep);
  box-shadow: 0 4px 12px rgba(1, 114, 111, 0.22);
}

.kf-wk-slot.sel {
  background: var(--coral) !important;
  outline: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(224, 32, 69, 0.25);
}

.kf-wk-slot.full {
  background: #e02045;
  cursor: not-allowed;
}

.kf-wk-slot.closed {
  background: #eef1f0;
}

.kf-wk-slot.private {
  background: repeating-linear-gradient(
    45deg,
    #dbe4e3 0,
    #dbe4e3 6px,
    #b8c9c7 6px,
    #b8c9c7 12px
  );
}

.kf-wk-slot-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.kf-wk-slot.closed .kf-wk-slot-text,
.kf-wk-slot.private .kf-wk-slot-text {
  display: none;
}

.kf-wk-summary {
  margin-top: 18px;
}

.kf-wk-srow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.kf-wk-cell {
  background: var(--cream);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 72px;
}

.kf-wk-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 800;
}

.kf-wk-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--teal-deep);
  margin-top: 5px;
}

.kf-wk-attendees {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.kf-wk-attendees label {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-deep);
}

.kf-wk-attendees input {
  width: 95px;
  padding: 11px 12px;
  border: 1.5px solid #d7e2e1;
  border-radius: 10px;
  font-size: 14px;
}

.kf-wk-caphint {
  font-size: 12px;
  color: var(--muted);
}

.kf-wk-contact {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.kf-wk-field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.kf-wk-field input {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #d7e2e1;
  border-radius: 10px;
  font-size: 14px;
}

.kf-wk-field input:focus,
.kf-wk-attendees input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 114, 111, 0.15);
}

.kf-vhoney {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.kf-wk-status,
.kf-wk-submit-msg {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.kf-wk-status.idle {
  background: #f5f7f7;
  color: var(--muted);
}

.kf-wk-status.ok,
.kf-wk-submit-msg.success {
  background: #eaf7ee;
  color: #1d6b3a;
}

.kf-wk-status.err,
.kf-wk-submit-msg.error {
  background: #fbe3e7;
  color: #e02045;
}

.kf-wk-submit-msg {
  display: none;
}

.kf-wk-submit-msg.show {
  display: block;
}

.kf-wk-submit-msg.loading {
  display: block;
  background: var(--cream);
  color: var(--teal-deep);
}

.kf-wk-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.kf-wk-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.kf-wk-btn:hover {
  background: var(--teal-deep);
}

.kf-wk-btn:disabled {
  background: #9bb3b2;
  cursor: not-allowed;
}

.kf-wk-btn.ready {
  background: var(--teal);
}

.kf-wk-btn.ghost {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.kf-wk-btn.ghost:hover {
  background: var(--teal);
  color: #fff;
}

.kf-wk-btn.loading {
  opacity: 0.85;
  cursor: wait;
}

.kf-wk-btn.loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: kf-wk-spin 0.8s linear infinite;
}

@keyframes kf-wk-spin {
  to {
    transform: rotate(360deg);
  }
}

.kf-wk-slot.open:focus-visible,
.kf-wk-btn:focus-visible {
  outline: 3px solid #fcc12b;
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .kf-wk {
    padding: 0 14px;
  }

  .kf-wk-layout {
    grid-template-columns: 1fr;
  }

  .kf-wk-srow,
  .kf-wk-contact {
    grid-template-columns: 1fr;
  }

  .kf-wk-cal,
  .kf-wk-rules {
    padding: 18px;
  }

  .kf-wk-table {
    min-width: 680px;
  }
}

/* Smaller desktop layout */
.kf-wk {
  max-width: 980px;
}

.kf-wk-hero {
  padding: 28px 20px;
  margin-bottom: 20px;
}

.kf-wk-layout {
  grid-template-columns: 250px 1fr;
  gap: 18px;
}

.kf-wk-rules,
.kf-wk-cal {
  padding: 18px;
}

.kf-wk-table {
  min-width: 560px;
  border-spacing: 6px 6px;
}

.kf-wk-th-time,
.kf-wk-time {
  width: 105px;
  min-width: 105px;
  max-width: 105px;
  font-size: 11px;
}

.kf-wk-slot {
  height: 32px;
  min-height: 32px;
}

.kf-wk-slot-text {
  font-size: 10px;
}

.kf-wk-cell {
  padding: 11px 13px;
  min-height: 62px;
}

.kf-wk-val {
  font-size: 14px;
}

/* Tablet */
@media (max-width: 900px) {
  .kf-wk-layout {
    grid-template-columns: 1fr;
  }

  .kf-wk-rules {
    order: 1;
  }

  .kf-wk-cal {
    order: 2;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .kf-wk {
    padding: 0 12px;
  }

  .kf-wk-hero {
    padding: 22px 14px;
    border-radius: 16px;
  }

  .kf-wk-cal,
  .kf-wk-rules {
    padding: 14px;
    border-radius: 14px;
  }

  .kf-wk-grid-wrap {
    overflow-x: auto;
  }

  .kf-wk-table {
    min-width: 500px;
    border-spacing: 5px 6px;
  }

  .kf-wk-th-time,
  .kf-wk-time {
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    font-size: 10px;
  }

  .kf-wk-slot {
    height: 30px;
    min-height: 30px;
  }

  .kf-wk-slot-text {
    font-size: 9px;
  }

  .kf-wk-srow,
  .kf-wk-contact {
    grid-template-columns: 1fr;
  }

  .kf-wk-btn {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .page-content .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .kf-wk {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
  }

  .kf-wk-hero {
    width: 100%;
    padding: 18px 12px;
    margin-bottom: 14px;
  }

  .kf-wk-layout {
    display: block;
  }

  .kf-wk-rules,
  .kf-wk-cal {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
  }

  .kf-wk-grid-wrap {
    overflow-x: visible;
  }

  .kf-wk-table {
    min-width: 0 !important;
    width: 100% !important;
    border-spacing: 4px 6px !important;
  }

  .kf-wk-th-time,
  .kf-wk-time {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    font-size: 10px !important;
    padding-right: 4px !important;
  }

  .kf-wk-slot {
    height: 28px !important;
    min-height: 28px !important;
    border-radius: 8px !important;
  }

  .kf-wk-slot-text {
    font-size: 8px !important;
  }

  .kf-wk-srow,
  .kf-wk-contact {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .kf-wk-cell {
    min-height: 54px;
    padding: 10px 12px;
  }

  .kf-wk-attendees {
    gap: 8px;
  }

  .kf-wk-attendees input {
    width: 70px;
  }

  .kf-wk-btn {
    width: 100%;
    padding: 12px 18px;
  }
}
.kf-wk-slot.open {
  position: relative;
  overflow: visible !important;
}

.kf-wk-slot.open::after {
  content: attr(data-seats);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #fcc12b;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.kf-wk-slot.open::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #024c4a;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
}

.kf-wk-slot.open:hover::after,
.kf-wk-slot.open:hover::before {
  opacity: 1;
}

.kf-wk-duration-highlight {
  color: #e02045 !important;
  font-weight: 800 !important;
}

/* =========================================================
   WALK-IN DURATION HIGHLIGHT
   ========================================================= */

/* =========================================================
   WALK-IN PHONE / WHATSAPP
   ========================================================= */

.kf-phone-wrap {
  display: grid !important;
  grid-template-columns: 75px minmax(0, 1fr) !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Make BOTH fields exactly like Full Name / Email */
#kfWkCountryCode,
.kf-phone-wrap #kfWkPhone {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  margin: 0 !important;
  box-sizing: border-box !important;

  border: 1.5px solid #d7e2e1 !important;
  border-radius: 10px !important;

  background-color: #fff !important;
  color: #024c4a !important;

  font-family: inherit !important;

  outline: none !important;
  box-shadow: none !important;
}

/* Country dropdown */
#kfWkCountryCode {
  padding: 0 6px !important;

  font-size: 10px !important;
  font-weight: 800 !important;

  cursor: pointer !important;
}

/* Phone number */
.kf-phone-wrap #kfWkPhone {
  min-width: 0 !important;

  padding: 0 10px !important;

  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Placeholder */
.kf-phone-wrap #kfWkPhone::placeholder {
  color: #879292 !important;
  opacity: 1 !important;
}

/* Focus */
#kfWkCountryCode:focus,
.kf-phone-wrap #kfWkPhone:focus {
  border-color: #01726f !important;
  box-shadow: 0 0 0 3px rgba(1, 114, 111, 0.1) !important;
}

.kf-wk-field {
  min-width: 0 !important;
}

/* Mobile */
@media (max-width: 600px) {
  .kf-phone-wrap {
    grid-template-columns: 75px minmax(0, 1fr) !important;
  }
}
