/*===============================================
  Mentis — Randevu (yalnızca /randevu ve /randevu/{anahtar})
  mentis.css değişkenlerini kullanır; yeni renk tanımlamaz.
  1. Yerleşim ve adım çubuğu
  2. Adımlar, başlıklar
  3. Görüşme türü kartları
  4. Takvim
  5. Saatler
  6. Gezinme
  7. Seçim özeti (bilet)
  8. Randevu sayfası (biniş kartı)
  9. İptal, kopyala
  10. Azaltılmış hareket
===============================================*/

/*-----------------------------------------------
  1. Yerleşim ve adım çubuğu
-----------------------------------------------*/
.m-rdv-section {
  overflow-x: hidden;
  overflow-x: clip;
}

.m-rdv [hidden] {
  display: none !important;
}

.m-rdv fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.m-rdv__alert {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.m-rdv__alert:focus {
  outline: none;
}

.m-rdv__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 clamp(32px, 4vw, 56px);
  padding: 0;
  list-style: none;
}

.m-rdv__steps-item {
  position: relative;
  margin: 0;
  padding-top: 16px;
}

.m-rdv__steps-item::before,
.m-rdv__steps-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--m-hair);
}

.m-rdv__steps-item::after {
  background: var(--m-red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--m-ease-out);
}

.m-rdv__steps-item.is-done::after,
.m-rdv__steps-item.is-current::after {
  transform: scaleX(1);
}

.m-rdv__steps-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--m-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
}

.m-rdv__steps-btn:disabled {
  cursor: default;
}

.m-rdv__steps-btn:not(:disabled):hover,
.m-rdv__steps-item.is-current .m-rdv__steps-btn {
  color: var(--m-heading);
}

.m-rdv__steps-btn:focus-visible {
  outline: 2px solid var(--m-red);
  outline-offset: 4px;
  border-radius: 4px;
}

.m-rdv__steps-num {
  color: var(--m-red);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  .m-rdv__steps {
    display: flex;
  }
  .m-rdv__steps-item {
    flex: 1 1 0;
    min-width: 0;
  }
  .m-rdv__steps-item.is-current {
    flex-grow: 2.4;
  }
  .m-rdv__steps-item:not(.is-current) .m-rdv__steps-text {
    display: none;
  }
}

.m-rdv__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
}

@media (min-width: 992px) {
  .m-rdv__layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(40px, 4vw, 72px);
    align-items: start;
  }
}

/*-----------------------------------------------
  2. Adımlar, başlıklar
-----------------------------------------------*/
.m-js .m-rdv__step:not(.is-current) {
  display: none;
}

.m-rdv__step.is-forward > * {
  animation: m-rdv-in 0.6s var(--m-ease-out) both;
}

.m-rdv__step.is-backward > * {
  animation: m-rdv-back 0.6s var(--m-ease-out) both;
}

.m-rdv__step > :nth-child(2) { animation-delay: 0.04s; }
.m-rdv__step > :nth-child(3) { animation-delay: 0.08s; }
.m-rdv__step > :nth-child(n + 4) { animation-delay: 0.12s; }

@keyframes m-rdv-in {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: none; }
}

@keyframes m-rdv-back {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: none; }
}

.m-rdv__eyebrow {
  margin: 0 0 14px;
  color: var(--m-muted);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--m-track-wide);
  text-transform: uppercase;
}

.m-rdv__title {
  max-width: 18ch;
  margin: 0;
  color: var(--m-heading);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: var(--m-track-tight);
  text-wrap: balance;
}

.m-rdv__title:focus {
  outline: none;
}

.m-rdv__hint {
  max-width: 60ch;
  margin: 14px 0 clamp(24px, 3.4vw, 40px);
  color: var(--m-muted);
  font-size: 15px;
}

/* Görsel olarak gizli ama klavye ve ekran okuyucuyla erişilebilir girişler */
.m-rdv__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.m-rdv__tick {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--m-hair-strong);
  border-radius: 50%;
  transition: background-color 0.25s var(--m-ease), border-color 0.25s var(--m-ease), transform 0.4s var(--m-ease-out);
}

.m-rdv__tick::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.4);
  transition: opacity 0.2s var(--m-ease), transform 0.4s var(--m-ease-out);
}

/*-----------------------------------------------
  3. Görüşme türü kartları
-----------------------------------------------*/
.m-rdv__types {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .m-rdv__types {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.m-rdv__type {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 236px;
  margin: 0;
  padding: clamp(18px, 1.8vw, 26px);
  overflow: hidden;
  border: 1px solid var(--m-hair-strong);
  border-radius: 22px;
  background: var(--m-white);
  color: var(--m-heading);
  cursor: pointer;
  transition: border-color 0.25s var(--m-ease), background-color 0.35s var(--m-ease), color 0.35s var(--m-ease), box-shadow 0.25s var(--m-ease), transform 0.4s var(--m-ease-out);
}

.m-rdv__type::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(280px 220px at 100% 0%, rgba(226, 6, 18, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--m-ease);
}

.m-rdv__type:hover {
  border-color: var(--m-heading);
  box-shadow: var(--m-shadow-sm);
  transform: translateY(-3px);
}

.m-rdv__type:has(.m-rdv__input:focus-visible),
.m-rdv__slot:has(.m-rdv__input:focus-visible) {
  outline: 2px solid var(--m-red);
  outline-offset: 3px;
}

.m-rdv__type-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 20px;
}

.m-rdv__type-num {
  color: var(--m-red);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.m-rdv__type-title {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.m-rdv__type-text {
  color: var(--m-muted);
  font-size: 13px;
  line-height: 1.5;
}

.m-rdv__type-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--m-hair);
}

.m-rdv__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--m-hair-strong);
  border-radius: var(--m-r-pill);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.m-rdv__pill svg {
  color: var(--m-red);
}

.m-rdv__type:has(.m-rdv__input:checked) {
  --m-heading: var(--m-on-dark);
  --m-muted: var(--m-on-dark-3);
  --m-hair: var(--m-line-dark);
  --m-hair-strong: var(--m-line-dark-strong);
  border-color: var(--m-black);
  background: var(--m-black);
  color: var(--m-white);
  animation: m-rdv-pop 0.45s var(--m-ease-out);
}

.m-rdv__type:has(.m-rdv__input:checked)::before {
  opacity: 1;
}

.m-rdv__type:has(.m-rdv__input:checked) .m-rdv__tick {
  border-color: var(--m-red);
  background: var(--m-red);
  transform: scale(1.06);
}

.m-rdv__type:has(.m-rdv__input:checked) .m-rdv__tick::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

@keyframes m-rdv-pop {
  0% { transform: scale(0.97); }
  60% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

@media (max-width: 767.98px) {
  .m-rdv__type {
    min-height: 0;
    border-radius: 18px;
  }
  .m-rdv__type-top {
    padding-bottom: 12px;
  }
}

/*-----------------------------------------------
  4. Takvim
-----------------------------------------------*/
.m-rdv__picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

@media (min-width: 768px) {
  .m-rdv__picker {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
  }
}

.m-rdv__cal {
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--m-hair);
  border-radius: var(--m-r-lg);
  background: var(--m-surface);
  box-shadow: var(--m-shadow-sm);
}

.m-rdv__cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.m-rdv__cal-month {
  margin: 0;
  color: var(--m-heading);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.m-rdv__cal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--m-hair-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--m-heading);
  cursor: pointer;
  transition: background-color 0.25s var(--m-ease), color 0.25s var(--m-ease), border-color 0.25s var(--m-ease), opacity 0.25s var(--m-ease);
}

.m-rdv__cal-nav:not(:disabled):hover {
  border-color: var(--m-black);
  background: var(--m-black);
  color: var(--m-white);
}

.m-rdv__cal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.m-rdv__cal-nav:focus-visible,
.m-rdv__day:focus-visible {
  outline: 2px solid var(--m-red);
  outline-offset: 2px;
}

.m-rdv__grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
  margin: 0 -4px;
  width: calc(100% + 8px);
}

.m-rdv__grid th {
  padding: 4px 0 8px;
  color: var(--m-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.m-rdv__grid td {
  padding: 0;
  text-align: center;
}

.m-rdv__day {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 52px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--m-muted);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: default;
  transition: background-color 0.2s var(--m-ease), color 0.2s var(--m-ease), border-color 0.2s var(--m-ease), transform 0.3s var(--m-ease-out);
}

/* Ay dışı / aralık dışı günler */
.m-rdv__day.is-out {
  visibility: hidden;
}

.m-rdv__day[aria-disabled="true"] {
  opacity: 0.38;
  text-decoration: line-through;
  text-decoration-color: var(--m-hair-strong);
}

.m-rdv__day.is-ok {
  background: var(--m-paper);
  color: var(--m-heading);
  cursor: pointer;
}

.m-rdv__day.is-ok::after {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--m-red);
}

.m-rdv__day.is-ok:hover {
  border-color: var(--m-heading);
  transform: translateY(-2px);
}

.m-rdv__day.is-today {
  border-color: var(--m-red);
}

.m-rdv__day.is-today[aria-disabled="true"] {
  border-style: dashed;
}

.m-rdv__day[aria-selected="true"],
td[aria-selected="true"] > .m-rdv__day {
  border-color: var(--m-black);
  background: var(--m-black);
  color: var(--m-white);
  opacity: 1;
  animation: m-rdv-pop 0.4s var(--m-ease-out);
}

td[aria-selected="true"] > .m-rdv__day::after {
  background: var(--m-white);
}

.m-rdv__cal.is-loading .m-rdv__grid tbody {
  opacity: 0.4;
  transition: opacity 0.2s var(--m-ease);
}

.m-rdv__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--m-muted);
  font-size: 12px;
  list-style: none;
}

.m-rdv__legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.m-rdv__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.m-rdv__legend-dot.is-ok {
  background: var(--m-paper-2);
  box-shadow: inset 0 0 0 4px var(--m-paper-2), inset 0 0 0 6px var(--m-red);
}

.m-rdv__legend-dot.is-today {
  border: 1px solid var(--m-red);
}

.m-rdv__legend-dot.is-off {
  border: 1px solid var(--m-hair-strong);
  opacity: 0.6;
}

/*-----------------------------------------------
  5. Saatler
-----------------------------------------------*/
.m-rdv__times {
  min-width: 0;
}

.m-rdv__times-title {
  margin: 4px 0 0;
  color: var(--m-heading);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.m-rdv__times-sub {
  margin: 6px 0 18px;
  color: var(--m-muted);
  font-size: 14px;
}

.m-rdv__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

.m-rdv__slot {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  animation: m-rdv-slot 0.45s var(--m-ease-out) both;
  animation-delay: calc(var(--i, 0) * 22ms);
}

.m-rdv__slot-face {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1px solid var(--m-hair-strong);
  border-radius: 14px;
  background: var(--m-surface);
  color: var(--m-heading);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  transition: background-color 0.2s var(--m-ease), color 0.2s var(--m-ease), border-color 0.2s var(--m-ease), transform 0.3s var(--m-ease-out);
}

.m-rdv__slot:hover .m-rdv__slot-face {
  border-color: var(--m-heading);
  transform: translateY(-2px);
}

.m-rdv__slot:has(.m-rdv__input:checked) .m-rdv__slot-face {
  border-color: var(--m-red);
  background: var(--m-red);
  color: #fff;
}

@keyframes m-rdv-slot {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Yüklenirken iskelet */
.m-rdv__skeleton {
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--m-paper-2) 0%, var(--m-paper) 50%, var(--m-paper-2) 100%);
  background-size: 200% 100%;
  animation: m-rdv-shimmer 1.2s linear infinite;
}

@keyframes m-rdv-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.m-rdv__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--m-hair-strong);
  border-radius: 16px;
  color: var(--m-muted);
  font-size: 14px;
  text-align: center;
}

/*-----------------------------------------------
  6. Gezinme
-----------------------------------------------*/
.m-rdv__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--m-hair);
}

.m-rdv__back {
  gap: 10px;
}

.m-rdv__next {
  margin-left: auto;
}

.m-rdv__next.is-busy {
  pointer-events: none;
  opacity: 0.7;
}

.m-rdv__error {
  flex: 1 1 200px;
  margin: 0;
  color: var(--m-danger);
  font-size: 14px;
  font-weight: 500;
}

.m-rdv__error:empty {
  display: none;
}

/*-----------------------------------------------
  7. Seçim özeti (bilet)
-----------------------------------------------*/
.m-rdv__ticket {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--m-r-lg);
  background: var(--m-black);
  color: var(--m-on-dark-2);
  box-shadow: var(--m-shadow);
}

@media (min-width: 992px) {
  .m-rdv__ticket {
    position: sticky;
    top: calc(var(--m-header-h) + 24px);
  }
}

.m-rdv__ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px 240px at 100% 0%, rgba(226, 6, 18, 0.32), transparent 70%);
}

.m-rdv__sum {
  margin: 20px 0 0;
}

.m-rdv__sum-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--m-line-dark);
}

.m-rdv__sum-row:first-child {
  border-top: 0;
}

.m-rdv__sum dt {
  color: var(--m-on-dark-3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--m-track-wide);
  text-transform: uppercase;
  padding-top: 3px;
}

.m-rdv__sum dd {
  margin: 0;
  color: var(--m-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.m-rdv__sum dd small {
  display: block;
  margin-top: 2px;
  color: var(--m-on-dark-3);
  font-size: 13px;
  font-weight: 400;
}

.m-rdv__sum dd.is-bump {
  animation: m-rdv-bump 0.5s var(--m-ease-out);
}

@keyframes m-rdv-bump {
  0% { transform: none; }
  30% { transform: translateY(-3px); color: #fff; }
  100% { transform: none; }
}

/* Bilet yırtığı: iki yanda yarım daire, ortada kesik çizgi */
.m-rdv__ticket-tear {
  position: relative;
  height: 1px;
  margin: 14px calc(clamp(22px, 2.4vw, 30px) * -1) 16px;
  background-image: linear-gradient(90deg, var(--m-line-dark-strong) 50%, transparent 50%);
  background-size: 10px 1px;
}

.m-rdv__ticket-tear::before,
.m-rdv__ticket-tear::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--m-paper);
}

.m-rdv__ticket-tear::before { left: -11px; }
.m-rdv__ticket-tear::after { right: -11px; }

.m-rdv__fine {
  margin: 0;
  color: var(--m-on-dark-3);
  font-size: 13px;
  line-height: 1.55;
}

/*-----------------------------------------------
  8. Randevu sayfası (biniş kartı)
-----------------------------------------------*/
.m-rdv-pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--m-hair);
  border-radius: var(--m-r-lg);
  background: var(--m-surface);
  box-shadow: var(--m-shadow);
}

@media (min-width: 768px) {
  .m-rdv-pass {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }
}

.m-rdv-pass__date {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  background: var(--m-black);
  color: var(--m-on-dark-2);
}

.m-rdv-pass__date::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(300px 260px at 0% 100%, rgba(226, 6, 18, 0.42), transparent 70%);
}

.m-rdv-pass__check {
  margin-bottom: 18px;
  color: var(--m-red);
}

.m-rdv-pass__check circle {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  animation: m-rdv-draw 0.9s var(--m-ease-out) 0.2s forwards;
}

.m-rdv-pass__check path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: m-rdv-draw 0.5s var(--m-ease-out) 0.8s forwards;
}

@keyframes m-rdv-draw {
  to { stroke-dashoffset: 0; }
}

.m-rdv-pass__weekday,
.m-rdv-pass__month,
.m-rdv-pass__tz {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--m-track-wide);
  text-transform: uppercase;
}

.m-rdv-pass__day {
  margin: 4px 0 2px;
  color: var(--m-white);
  font-family: var(--m-serif);
  font-size: clamp(5rem, 3.6rem + 5vw, 8rem);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.m-rdv-pass__time {
  margin: 22px 0 4px;
  color: var(--m-white);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.m-rdv-pass__tz {
  color: var(--m-on-dark-3);
  font-size: 11px;
}

.m-rdv-pass__body {
  min-width: 0;
  padding: clamp(24px, 3.4vw, 44px);
}

.m-rdv-pass__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: var(--m-r-pill);
  background: var(--m-paper);
  color: var(--m-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.m-rdv-pass__status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m-success);
}

.m-rdv-pass__status--iptal span,
.m-rdv-pass__status--gelmedi span {
  background: var(--m-danger);
}

.m-rdv-pass__status--tamamlandi span {
  background: var(--m-muted);
}

.m-rdv-pass__title {
  margin: 0;
  color: var(--m-heading);
  font-size: var(--m-fs-h3);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.m-rdv-pass.is-cancelled .m-rdv-pass__title,
.m-rdv-pass.is-cancelled .m-rdv-pass__day,
.m-rdv-pass.is-cancelled .m-rdv-pass__time {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--m-red);
}

.m-rdv-pass__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--m-hair);
}

@media (max-width: 479.98px) {
  .m-rdv-pass__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

.m-rdv-pass__facts dt {
  margin: 0 0 4px;
  color: var(--m-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--m-track-wide);
  text-transform: uppercase;
}

.m-rdv-pass__facts dd {
  margin: 0;
  color: var(--m-heading);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.m-rdv-pass__join {
  margin-top: 24px;
}

.m-rdv-pass__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.m-rdv-pass__actions .m-btn {
  gap: 10px;
}

.m-rdv-pass__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--m-paper);
}

.m-rdv-pass__link-text {
  flex: 1 1 240px;
  margin: 0;
  color: var(--m-body);
  font-size: 14px;
}

.m-rdv-pass.is-new {
  animation: m-rdv-rise 0.9s var(--m-ease-out) both;
}

@keyframes m-rdv-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/*-----------------------------------------------
  9. İptal, kopyala
-----------------------------------------------*/
.m-rdv-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--m-hair-strong);
  border-radius: var(--m-r-pill);
  background: var(--m-surface);
  color: var(--m-heading);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s var(--m-ease), background-color 0.2s var(--m-ease), color 0.2s var(--m-ease);
}

.m-rdv-copy:hover {
  border-color: var(--m-black);
  background: var(--m-black);
  color: var(--m-white);
}

.m-rdv-copy:focus-visible {
  outline: 2px solid var(--m-red);
  outline-offset: 2px;
}

.m-rdv-copy.is-done {
  border-color: var(--m-success);
  color: var(--m-success);
  background: var(--m-surface);
}

.m-rdv-cancel {
  margin-top: 24px;
  border: 1px solid var(--m-hair);
  border-radius: 18px;
  background: var(--m-surface);
}

.m-rdv-cancel summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 18px 22px;
  color: var(--m-body);
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

.m-rdv-cancel summary::-webkit-details-marker {
  display: none;
}

.m-rdv-cancel summary span {
  color: var(--m-heading);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--m-red);
  text-underline-offset: 3px;
}

.m-rdv-cancel summary:focus-visible {
  outline: 2px solid var(--m-red);
  outline-offset: 2px;
  border-radius: 18px;
}

.m-rdv-cancel__body {
  padding: 0 22px 22px;
}

.m-rdv-cancel__body p {
  margin: 0 0 16px;
  color: var(--m-muted);
  font-size: 14px;
}

.m-rdv-cancel__btn {
  border-color: var(--m-danger);
  color: var(--m-danger);
}

.m-rdv-cancel__btn:hover,
.m-rdv-cancel__btn:focus-visible {
  background: var(--m-danger);
  border-color: var(--m-danger);
  color: #fff;
}

.m-rdv-again {
  margin-top: 32px;
}

.m-rdv-closed .m-actions {
  justify-content: center;
  margin-top: 20px;
}

/*-----------------------------------------------
  10. Azaltılmış hareket
-----------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .m-rdv__step.is-forward > *,
  .m-rdv__step.is-backward > *,
  .m-rdv__type,
  .m-rdv__slot,
  .m-rdv__day,
  td[aria-selected="true"] > .m-rdv__day,
  .m-rdv__sum dd.is-bump,
  .m-rdv__skeleton,
  .m-rdv-pass.is-new {
    animation: none !important;
  }
  .m-rdv-pass__check circle,
  .m-rdv-pass__check path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
  .m-rdv__type,
  .m-rdv__tick,
  .m-rdv__day,
  .m-rdv__slot-face,
  .m-rdv__steps-item::after {
    transition: none !important;
  }
  .m-rdv__type:hover,
  .m-rdv__day.is-ok:hover,
  .m-rdv__slot:hover .m-rdv__slot-face {
    transform: none;
  }
}
