/* Clinyo-benzeri online randevu sayfası */
.book-page {
  background: #f3f4f6;
  flex: 1;
  padding: 1.25rem 0 3rem;
}
.book-page .container { max-width: 1100px; }

.book-firm-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.book-firm-logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #111;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
}
.book-firm-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.book-firm-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 .35rem;
  letter-spacing: -.02em;
}
.book-firm-addr {
  color: #4b5563;
  font-size: .9rem;
  margin: 0;
  line-height: 1.45;
}
.book-firm-addr a {
  color: var(--brand);
  font-weight: 600;
  margin-left: .35rem;
}
.book-firm-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
  font-size: .85rem;
  color: #6b7280;
}
.book-firm-meta .star { color: #f59e0b; }
.book-firm-actions {
  margin-left: auto;
  display: flex;
  gap: .35rem;
}
.book-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-firm-actions { display: flex; }
}

.book-wizard {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.book-step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .85rem;
}
.book-step-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #6b7280;
  text-transform: uppercase;
}
.book-step-pct {
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand);
}
.book-progress {
  height: 6px;
  background: #ede9fe;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.book-progress > span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 99px;
  transition: width .25s ease;
}
.book-wizard h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -.02em;
}
.book-search {
  position: relative;
  margin-bottom: 1rem;
}
.book-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.book-search input {
  padding-left: 2.4rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  height: 46px;
}

.book-cat {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #6b7280;
  text-transform: uppercase;
  margin: 1rem 0 .55rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.book-svc-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  overflow: auto;
  max-height: 52vh;
  padding-right: 2px;
}
.book-svc {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
.book-svc:hover { border-color: #c4b5fd; }
.book-svc.active {
  border-color: var(--brand);
  background: #f5f3ff;
  box-shadow: 0 0 0 1px var(--brand);
}
.book-svc-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-shrink: 0;
}
.book-svc.active .book-svc-ico {
  background: #ede9fe;
  color: var(--brand);
}
.book-svc-name { font-weight: 700; font-size: .95rem; }
.book-svc-meta { font-size: .8rem; color: #6b7280; margin-top: .15rem; }

.book-staff-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.book-staff {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.book-staff:hover { border-color: #c4b5fd; }
.book-staff.active {
  border-color: var(--brand);
  background: #f5f3ff;
  box-shadow: 0 0 0 1px var(--brand);
}
.book-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #374151;
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.book-staff.active .book-avatar {
  background: #ede9fe;
  color: var(--brand);
}
.book-staff-name { font-weight: 700; }
.book-staff-title { font-size: .8rem; color: #6b7280; }

.book-dates {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}
.book-date {
  min-width: 72px;
  padding: .7rem .5rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
}
.book-date .d { font-size: 1.15rem; font-weight: 800; line-height: 1; }
.book-date .m { font-size: .72rem; color: #6b7280; margin-top: .2rem; }
.book-date .w { font-size: .68rem; color: #9ca3af; margin-top: .15rem; }
.book-date.active {
  border-color: var(--brand);
  background: #f5f3ff;
  box-shadow: 0 0 0 1px var(--brand);
}
.book-date.picker {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  gap: .2rem;
  font-size: .7rem;
  font-weight: 600;
}
.book-date.picker input[type="date"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
}

.book-slots {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.book-slot {
  position: relative;
  z-index: 1;
  min-width: 88px;
  padding: .55rem .7rem;
  border: 1.5px solid #5eead4;
  border-radius: 10px;
  background: #fff;
  color: #0f766e;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  pointer-events: auto;
}
.book-slot:hover { background: #f0fdfa; }
.book-slot.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.book-slot.night { border-color: #a78bfa; color: #6d28d9; }
.book-slot.night.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.book-nav {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}
.book-btn-back {
  border: 0;
  background: #f3f4f6;
  color: #374151;
  font-weight: 700;
  border-radius: 12px;
  padding: .7rem 1.25rem;
}
.book-btn-next {
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: .7rem 1.5rem;
  margin-left: auto;
}
.book-btn-next:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.book-chip {
  background: #eff6ff;
  color: #1e40af;
  border-radius: 10px;
  padding: .65rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.book-form .form-label {
  font-weight: 600;
  font-size: .85rem;
  color: #374151;
}
.book-form .form-control {
  border-radius: 10px;
  border-color: #e5e7eb;
  min-height: 44px;
}
.book-phone {
  display: flex;
  gap: .5rem;
}
.book-phone .cc {
  flex: 0 0 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  font-weight: 700;
  font-size: .9rem;
}

.book-side {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: sticky;
  top: 88px;
}
.book-side-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.book-side-card h3 {
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 .85rem;
}
.book-sum-row {
  margin-bottom: .75rem;
}
.book-sum-row:last-child { margin-bottom: 0; }
.book-sum-k {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: #9ca3af;
  text-transform: uppercase;
}
.book-sum-v {
  font-size: .9rem;
  font-weight: 600;
  color: #111827;
  margin-top: .15rem;
}
.book-sum-v.empty { color: #9ca3af; font-weight: 500; }

.book-contact-row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .7rem;
  font-size: .88rem;
  color: #4b5563;
}
.book-contact-row:last-child { margin-bottom: 0; }
.book-contact-row i {
  color: var(--brand);
  margin-top: .15rem;
}
.book-contact-row .muted { color: #9ca3af; }

.book-open {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #d1fae5;
  color: #047857;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 99px;
  padding: .25rem .65rem;
  margin-bottom: .75rem;
}
.book-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  padding: .28rem 0;
  color: #4b5563;
}
.book-hours-row .day { font-weight: 600; color: #111827; }
.book-hours-today {
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px solid #f3f4f6;
  font-size: .82rem;
  color: #6b7280;
}

.book-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.book-success .ok {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d1fae5;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
