body.figma-booking {
  color: #393e46;
  background: linear-gradient(
    90deg,
    #e1e1e1 0 15.625%,
    #efefef 15.625% 84.375%,
    #e1e1e1 84.375% 100%
  );
}

.figma-booking .page {
  width: min(960px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 82px 0 56px;
}

.figma-booking .hero {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0 0 70px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.figma-booking .hero > div {
  width: 100%;
}

.figma-booking .hero .badge,
.figma-booking .hero p {
  display: none;
}

.figma-booking .hero h1 {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.figma-booking .hero h1::before {
  color: #393e46;
  content: "Online Randevu";
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.figma-booking .hero h1::after {
  width: 58px;
  height: 62px;
  flex: 0 0 auto;
  background: url("/assets/figma/status-dot.png") center / contain no-repeat;
  content: "";
}

.figma-booking .card {
  width: 100%;
  max-width: 712px;
  border: 1px solid rgba(57, 62, 70, 0.28);
  border-radius: 24px;
  background: #fff;
  box-shadow: -9px -1px 20px rgba(0, 0, 0, 0.12);
  color: #393e46;
}

.figma-booking .figma-flow-card.figma-date-mode {
  max-width: 712px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.figma-booking .figma-flow-card.figma-details-mode {
  max-width: 464px;
  min-height: 499px;
  padding: 58px 49px;
}

.figma-booking .figma-hidden-header {
  display: none;
}

.figma-booking .form.figma-step-date {
  display: grid;
  grid-template-columns: minmax(0, 464px) minmax(180px, 232px);
  align-items: start;
  gap: 16px;
}

.figma-booking .figma-step-date > .figma-details-heading,
.figma-booking .figma-step-date > .figma-name-fields,
.figma-booking .figma-step-date > .figma-phone-field,
.figma-booking .figma-step-date > .figma-note-field,
.figma-booking .figma-step-date > .figma-native-date,
.figma-booking .figma-step-date > .figma-submit,
.figma-booking .figma-step-date > .figma-details-back {
  display: none;
}

.figma-booking .figma-staff-field {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #59616c;
  font-size: 13px;
}

.figma-booking .figma-staff-field.is-single-staff {
  display: none;
}

.figma-booking .figma-staff-field select {
  min-height: 44px;
  border: 1.5px solid rgba(142, 152, 168, 0.5);
  border-radius: 12px;
  background: #fff;
  color: #393e46;
}

.figma-booking .figma-calendar {
  display: flex;
  min-height: 499px;
  padding: 38px 30px 34px;
  flex-direction: column;
  border: 1px solid rgba(57, 62, 70, 0.28);
  border-radius: 24px;
  background: #fff;
  box-shadow: -9px -1px 20px rgba(0, 0, 0, 0.12);
}

.figma-booking .figma-calendar-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
}

.figma-booking .figma-calendar-title {
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2e3238, #393e46);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  color: #efefef;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.figma-booking .figma-calendar-nav {
  width: 44px;
  height: 45px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.figma-booking .figma-calendar-nav img {
  display: block;
  width: 44px;
  height: 45px;
  object-fit: cover;
}

.figma-booking .figma-calendar-nav:disabled {
  cursor: not-allowed;
  opacity: 0.25;
}

.figma-booking .figma-calendar-weekdays,
.figma-booking .figma-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.figma-booking .figma-calendar-weekdays {
  margin-top: 26px;
  gap: 13px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.figma-booking .figma-calendar-days {
  margin-top: 14px;
  gap: 11px 13px;
}

.figma-booking .figma-calendar-day {
  display: grid;
  width: 44px;
  min-width: 0;
  height: 45px;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  color: #111;
  cursor: pointer;
  font-size: 20px;
  font-weight: 550;
}

.figma-booking .figma-calendar-day:hover:not(:disabled),
.figma-booking .figma-calendar-day:focus-visible {
  outline: 2px solid #8e98a8;
  outline-offset: 1px;
}

.figma-booking .figma-calendar-day.outside {
  color: #a7adb5;
  box-shadow: none;
}

.figma-booking .figma-calendar-day.selected {
  background: linear-gradient(180deg, #2e3238, #393e46);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.figma-booking .figma-calendar-day:disabled {
  color: #c8cbd0;
  cursor: not-allowed;
  box-shadow: none;
}

.figma-booking .figma-slots-panel {
  min-height: 499px;
  margin: 0;
  padding: 14px 20px;
  overflow: hidden;
  border: 1px solid rgba(57, 62, 70, 0.28);
  border-radius: 24px;
  background: #fff;
  box-shadow: -9px -1px 20px rgba(0, 0, 0, 0.12);
}

.figma-booking .figma-slots-panel .slots-title {
  min-height: 18px;
  margin: 0 0 8px;
  justify-content: center;
}

.figma-booking .figma-slots-panel .slots-title h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.figma-booking .figma-slots-panel .slots-title span {
  color: #6c7480;
  font-size: 12px;
}

.figma-booking .figma-slots-panel .empty {
  border: 1px solid rgba(142, 152, 168, 0.4);
  background: #f7f8f9;
  color: #69717c;
  font-size: 14px;
}

.figma-booking .figma-slots-panel .slots {
  display: flex;
  max-height: 438px;
  padding: 0 2px 4px;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  scrollbar-color: #aeb5be transparent;
  scrollbar-width: thin;
}

.figma-booking .figma-slots-panel .slot {
  width: 100%;
  min-height: 29px;
  padding: 0 12px;
  flex: 0 0 29px;
  border: 1.5px solid rgba(142, 152, 168, 0.5);
  border-radius: 12px;
  background: #fff;
  color: rgba(0, 0, 0, 0.8);
  font-size: 20px;
  font-weight: 300;
}

.figma-booking .figma-slots-panel .slot:hover {
  border-color: #5e6671;
}

.figma-booking .figma-slots-panel .slot.active {
  border-color: #393e46;
  background: linear-gradient(180deg, #2e3238, #393e46);
  color: #fff;
}

.figma-booking .figma-slots-panel .slot.is-unavailable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-color: #d7dbe0;
  background: repeating-linear-gradient(
    -45deg,
    #f0f1f3,
    #f0f1f3 7px,
    #e9ebee 7px,
    #e9ebee 14px
  );
  color: #969da6;
  cursor: not-allowed;
  opacity: 0.82;
  text-decoration: line-through;
}

.figma-booking .figma-slots-panel .slot.is-unavailable::after {
  margin-left: 8px;
  content: "Dolu";
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.figma-booking .figma-slots-panel .slot.is-unavailable:hover {
  border-color: #c8ccd2;
}

.figma-booking .slot-legend {
  display: flex;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto;
  overflow: visible !important;
  align-items: center;
  gap: 5px;
  clip: auto !important;
  color: #7b838e !important;
  font-size: 9px !important;
  font-weight: 650;
}

.figma-booking .slot-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
}

.figma-booking .slot-legend i.available {
  background: #55a878;
}

.figma-booking .slot-legend i.unavailable {
  background: #b8bec6;
}

.figma-booking .figma-step-date > .message {
  grid-column: 1 / -1;
  border: 1px solid rgba(142, 152, 168, 0.4);
  background: #fff;
  color: #59616c;
}

.figma-booking .figma-date-next {
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 40px;
  margin-left: auto;
  padding: 8px 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #2e3238, #393e46);
  color: #efefef;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.figma-booking .figma-date-next:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.figma-booking .form.figma-step-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px 16px;
}

.figma-booking .figma-step-details > .figma-calendar,
.figma-booking .figma-step-details > .figma-slots-panel,
.figma-booking .figma-step-details > .figma-staff-field,
.figma-booking .figma-step-details > .figma-native-date,
.figma-booking .figma-step-details > .figma-date-next {
  display: none;
}

.figma-booking .figma-details-heading,
.figma-booking .figma-name-fields,
.figma-booking .figma-phone-field,
.figma-booking .figma-note-field,
.figma-booking .figma-step-details > .message {
  grid-column: 1 / -1;
}

.figma-booking .figma-details-heading {
  margin: 0 0 -2px;
  color: #59616c;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}

.figma-booking .figma-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.figma-booking .figma-step-details label {
  gap: 0;
  color: transparent;
  font-size: 0;
}

.figma-booking .figma-step-details input,
.figma-booking .figma-step-details textarea {
  min-height: 48px;
  padding: 13px 16px 13px 42px;
  border: 2px solid rgba(142, 152, 168, 0.48);
  border-radius: 16px;
  background-color: #fff;
  background-position: 14px 50%;
  background-repeat: no-repeat;
  background-size: 18px;
  color: #393e46;
  font-size: 16px;
  font-weight: 300;
  outline: none;
}

.figma-booking .figma-step-details input:focus,
.figma-booking .figma-step-details textarea:focus {
  border-color: #6f7884;
  box-shadow: 0 0 0 3px rgba(142, 152, 168, 0.15);
}

.figma-booking .figma-name-fields input {
  background-image: url("/assets/figma/user.png");
}

.figma-booking .figma-phone-field input {
  background-image: url("/assets/figma/phone.png");
}

.figma-booking .figma-note-field textarea {
  min-height: 96px;
  resize: vertical;
  background-image: url("/assets/figma/note.png");
  background-position: 14px 16px;
}

.figma-booking .figma-step-details > .message {
  padding: 12px 14px;
  border: 1px solid rgba(142, 152, 168, 0.38);
  background: #f7f8f9;
  color: #59616c;
  font-size: 14px;
}

.figma-booking .figma-details-back,
.figma-booking .figma-submit {
  width: auto;
  min-height: 31px;
  margin: 0;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

.figma-booking .figma-details-back {
  grid-column: 2;
  border: 0;
  background: transparent;
  color: #2e3238;
  cursor: pointer;
}

.figma-booking .figma-submit {
  grid-column: 3;
  border: 0;
  background: linear-gradient(180deg, #2e3238, #393e46);
  color: #efefef;
}

.figma-booking .figma-success-mode {
  max-width: 620px;
  padding: 38px;
}

.figma-booking .success-icon {
  background: #32c99a;
}

.figma-booking .success h2,
.figma-booking .summary strong,
.figma-booking .lookup-item strong,
.figma-booking .lookup-item span {
  color: #393e46;
}

.figma-booking .summary,
.figma-booking .lookup-item {
  border: 1px solid rgba(142, 152, 168, 0.36);
  background: #f7f8f9;
}

.figma-booking .summary p,
.figma-booking .lookup-item p,
.figma-booking .calendar-reminder-note {
  color: #66707d;
}

.figma-booking .actions a,
.figma-booking .secondary-btn,
.figma-booking .lookup-manage-btn {
  border: 0;
  background: linear-gradient(180deg, #2e3238, #393e46);
  color: #efefef;
}

.figma-booking .lookup-card {
  max-width: 712px;
  margin-top: 34px;
  padding: 26px;
}

.figma-booking .lookup-card .card-header h2 {
  color: #393e46;
}

.figma-booking .lookup-card .card-header p,
.figma-booking .lookup-card label {
  color: #66707d;
}

.figma-booking .lookup-card input,
.figma-booking .manage-section input,
.figma-booking .manage-section select,
.figma-booking .manage-section textarea {
  border: 1.5px solid rgba(142, 152, 168, 0.5);
  background: #fff;
  color: #393e46;
}

.figma-booking .back-link {
  color: #393e46;
}

@media (max-width: 760px) {
  body.figma-booking {
    background: #efefef;
  }

  .figma-booking .page {
    width: min(100% - 24px, 520px);
    padding: 34px 0 44px;
  }

  .figma-booking .hero {
    margin-bottom: 34px;
  }

  .figma-booking .hero h1 {
    gap: 12px;
  }

  .figma-booking .hero h1::before {
    font-size: clamp(32px, 10vw, 43px);
  }

  .figma-booking .hero h1::after {
    width: 42px;
    height: 46px;
  }

  .figma-booking .form.figma-step-date {
    grid-template-columns: 1fr;
  }

  .figma-booking .figma-calendar,
  .figma-booking .figma-slots-panel {
    min-height: 0;
  }

  .figma-booking .figma-calendar {
    padding: 24px 14px;
  }

  .figma-booking .figma-calendar-header {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .figma-booking .figma-calendar-title {
    font-size: 20px;
  }

  .figma-booking .figma-calendar-nav,
  .figma-booking .figma-calendar-nav img {
    width: 40px;
    height: 41px;
  }

  .figma-booking .figma-calendar-weekdays,
  .figma-booking .figma-calendar-days {
    gap: 7px;
  }

  .figma-booking .figma-calendar-day {
    width: 100%;
    height: auto;
    min-height: 40px;
    font-size: 17px;
  }

  .figma-booking .figma-slots-panel {
    padding: 18px;
  }

  .figma-booking .figma-slots-panel .slots {
    display: grid;
    max-height: 250px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figma-booking .figma-slots-panel .slot {
    min-height: 42px;
    flex-basis: auto;
    font-size: 17px;
  }

  .figma-booking .figma-flow-card.figma-details-mode {
    min-height: 0;
    padding: 32px 22px;
  }

  .figma-booking .figma-name-fields {
    grid-template-columns: 1fr;
  }

  .figma-booking .lookup-card {
    padding: 22px 18px;
  }
}

@media (max-width: 380px) {
  .figma-booking .page {
    width: min(100% - 16px, 520px);
  }

  .figma-booking .figma-calendar {
    padding-inline: 10px;
  }

  .figma-booking .figma-calendar-weekdays,
  .figma-booking .figma-calendar-days {
    gap: 4px;
  }

  .figma-booking .figma-calendar-day {
    min-height: 37px;
  }

  .figma-booking .figma-slots-panel .slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
