/* ==========================================================================
   Pusula online randevu widget — bağımsız stil dosyası.
   Tüm seçiciler .rv- öneki taşır, hedef sitenin CSS'ini etkilemez.
   Renkleri değiştirmek için sadece aşağıdaki değişkenleri düzenleyin.
   ========================================================================== */

.rv-root {
--rv-primary: #1d9dd9;        /* koyu ana renk (başlık, özet kutusu)   */ 
--rv-primary-deep: #15b0a9;   /* başlık degradesinin koyu ucu          */
  --rv-accent: #dc2626;         /* vurgu / CTA rengi                     */
  --rv-accent-deep: #b91c1c;    /* vurgu degradesinin koyu ucu           */
  --rv-accent-soft: #fef2f2;    /* vurgunun açık zemini                  */
  --rv-ink: #0d2b30;            /* ana metin                             */
  --rv-muted: #5b7278;          /* ikincil metin                         */
  --rv-surface: #f6faf9;        /* kart zemini                           */
  --rv-border: #e2ebea;         /* kenarlık                              */
  --rv-radius: 16px;
  --rv-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --rv-font: inherit;
}

.rv-root,
.rv-root * {
  box-sizing: border-box;
}

.rv-root {
  font-family: var(--rv-font);
  color: var(--rv-ink);
  line-height: 1.5;
}

/* ------------------------------------------------------------ kenar sekmesi */
.rv-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 16px 10px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(to bottom, #ef4444, var(--rv-accent-deep) 55%, #7f1d1d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transform: translate(0, -50%);
  transition: transform 0.4s var(--rv-ease), opacity 0.3s ease;
  animation: rv-tab-glow 1.5s ease-in-out infinite;
}
/* Hover'da sekme dışarı doğru "çıkar" — genişlik yerine transform, layout tetiklenmez. */
.rv-tab:hover {
  transform: translate(-4px, -50%);
}
.rv-root.is-open .rv-tab {
  transform: translate(110%, -50%);
  opacity: 0;
  pointer-events: none;
}
.rv-tab::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}
.rv-tab-icon {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.rv-tab-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  animation: rv-ring 1.5s ease-out infinite;
}
.rv-tab-icon svg {
  position: relative;
  transform-origin: center;
  animation: rv-beat 1.5s ease-in-out infinite;
}
.rv-tab-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.rv-tab-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* ------------------------------------------------------------- EKG şeridi
 * İki üst üste çizgi: soluk sabit taban + üzerinde akan parlak segment.
 * pathLength="100" ile dash değerleri yüzde gibi davranır, yol uzunluğunu
 * hesaplamak gerekmez.
 */
.rv-ekg {
  width: 38px;
  height: 13px;
  overflow: visible;
}
.rv-ekg-base {
  opacity: 0.28;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rv-ekg-run {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 100;   /* 14 birim parlak, 100 birim boşluk */
  stroke-dashoffset: 114;     /* başlangıçta çizginin dışında */
  filter: drop-shadow(0 0 4px currentColor);
  animation: rv-ekg-run 3.2s linear infinite;
}
@keyframes rv-ekg-run {
  to { stroke-dashoffset: 0; }
}

/* Kalp — gerçek lub-dub ritmi: iki vuruş, sonra dinlenme */
@keyframes rv-beat {
  0%, 40%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 14px rgba(220, 38, 38, 0.5));
  }
  8% {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 22px rgba(220, 38, 38, 0.75));
  }
  16% {
    transform: scale(0.98);
    filter: drop-shadow(0 4px 14px rgba(220, 38, 38, 0.5));
  }
  24% {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 30px rgba(220, 38, 38, 0.9));
  }
}

/* Kalbin çevresinden yayılan halka */
@keyframes rv-ring {
  0%       { transform: scale(0.9); opacity: 0.55; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

/* Sekmenin tamamı nabızla birlikte ışır. Keyframe'ler box-shadow'u
   tamamen değiştirdiği için içteki 1px kenarlığı da tekrarlamak gerekir. */
@keyframes rv-tab-glow {
  0%, 40%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.2),
      0 8px 28px rgba(153, 27, 27, 0.45),
      0 0 0 0 rgba(220, 38, 38, 0.35);
  }
  24% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.2),
      0 10px 36px rgba(153, 27, 27, 0.65),
      0 0 0 9px rgba(220, 38, 38, 0);
  }
}

/* ----------------------------------------------------------------- perde */
.rv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(14, 59, 67, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.rv-root.is-open .rv-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------------------------------------------- çekmece */
.rv-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 9999;
  display: flex;
  width: 100%;
  max-width: 448px;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.5s var(--rv-ease);
}
.rv-root.is-open .rv-drawer {
  transform: translateX(0);
  pointer-events: auto;
}
@media (min-width: 640px) {
  .rv-drawer { max-width: 512px; }
}

/* ---------------------------------------------------------------- başlık */
.rv-head {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 20px;
  background: linear-gradient(135deg, var(--rv-primary), var(--rv-primary-deep));
  color: #fff;
}
.rv-head::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.25);
  filter: blur(32px);
  pointer-events: none;
}
.rv-head-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.rv-head-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rv-head-mark {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, var(--rv-accent-deep));
  color: #fff;
}
.rv-head-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.rv-head-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.rv-close {
  display: flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.rv-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ------------------------------------------------------------ adım şeridi */
.rv-steps {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.rv-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rv-step {
  display: flex;
  height: 28px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
  cursor: default;
  transition: all 0.3s ease;
}
.rv-step.is-done {
  background: rgba(255, 255, 255, 0.15);
  color: #fca5a5;
  cursor: pointer;
}
.rv-step.is-done:hover {
  background: rgba(255, 255, 255, 0.25);
}
.rv-step.is-active {
  background: linear-gradient(135deg, #ef4444, var(--rv-accent-deep));
  color: #fff;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}
.rv-step-text {
  display: none;
}
.rv-step.is-active .rv-step-text {
  display: inline;
}
@media (min-width: 640px) {
  .rv-step-text { display: inline; }
}
.rv-step-line {
  width: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.rv-step-line.is-done {
  background: #f87171;
}

/* ------------------------------------------------------------------ gövde */
.rv-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden; /* yatay taşmaya karşı emniyet; gün şeridi kendi içinde kayar */
  padding: 24px;
  scrollbar-width: thin;
}
.rv-pane {
  animation: rv-slide-in 0.3s var(--rv-ease) both;
}
@keyframes rv-slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.rv-alert {
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--rv-accent-soft);
  color: #991b1b;
  font-size: 14px;
}
.rv-note {
  margin: 0;
  padding: 24px;
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
  color: var(--rv-muted);
  font-size: 14px;
}
.rv-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--rv-muted);
  font-size: 14px;
}
.rv-spin {
  animation: rv-spin 1s linear infinite;
}
@keyframes rv-spin {
  to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------ bölüm ızgara */
/* minmax(0,1fr) şart: düz "1fr" minmax(auto,1fr) demektir ve sütun,
   içeriğin min-content genişliğinin altına inemeyip çekmeceyi taşırır. */
.rv-units {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .rv-units { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.rv-unit {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rv-unit:hover {
  border-color: #f87171;
  background: #fff;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.1);
}
.rv-unit-icon {
  display: flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rv-border);
  color: var(--rv-primary);
  transition: all 0.2s ease;
}
.rv-unit:hover .rv-unit-icon {
  background: var(--rv-accent);
  box-shadow: inset 0 0 0 1px var(--rv-accent);
  color: #fff;
}
.rv-unit-body {
  min-width: 0;
  flex: 1;
}
/* Uzun bölüm adları kırpılmak yerine ikinci satıra dökülür —
   kart yükseklikleri grid içinde zaten eşitlenir. */
.rv-unit-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rv-ink);
  overflow-wrap: break-word;
}
.rv-unit-hint {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--rv-muted);
}

/* ------------------------------------------------------------ doktor liste */
.rv-doctors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rv-doctor {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rv-doctor:hover {
  border-color: #f87171;
  background: #fff;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.1);
}
.rv-avatar {
  display: flex;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rv-primary), #17b2a3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  object-fit: cover;
  object-position: top;
}
.rv-doctor-meta {
  min-width: 0;
  flex: 1;
}
.rv-doctor-name {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-doctor-unit {
  display: block;
  overflow: hidden;
  font-size: 12px;
  color: var(--rv-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-chevron {
  flex: 0 0 auto;
  color: var(--rv-muted);
  transition: all 0.2s ease;
}
.rv-doctor:hover .rv-chevron {
  transform: translateX(2px);
  color: var(--rv-accent);
}

/* -------------------------------------------------------------- seçim kartı */
.rv-chosen {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}
.rv-chosen .rv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 12px;
}
.rv-chosen-meta {
  min-width: 0;
  flex: 1;
}
.rv-link {
  border: 0;
  background: none;
  color: var(--rv-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.rv-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ takvim */
.rv-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-muted);
}
.rv-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.rv-day {
  display: flex;
  width: 60px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: #fff;
  color: var(--rv-ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.rv-day:hover {
  border-color: #f87171;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.rv-day.is-active {
  border-color: var(--rv-accent-deep);
  background: var(--rv-accent-deep);
  color: #fff;
  box-shadow: 0 10px 20px rgba(185, 28, 28, 0.25);
}
.rv-day-dow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--rv-muted);
}
.rv-day.is-active .rv-day-dow,
.rv-day.is-active .rv-day-mon {
  color: rgba(255, 255, 255, 0.7);
}
.rv-day-num {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.rv-day-mon {
  margin-top: 2px;
  font-size: 10px;
  color: var(--rv-muted);
}

.rv-slots-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
}
.rv-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--rv-muted);
}
.rv-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}
.rv-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  animation: rv-fade-up 0.25s var(--rv-ease) both;
}
@keyframes rv-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rv-slot {
  padding: 8px 6px;
  border: 1px solid var(--rv-border);
  border-radius: 12px;
  background: #fff;
  color: var(--rv-ink);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.15s ease;
}
.rv-slot:hover {
  border-color: var(--rv-accent);
  background: var(--rv-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
}

/* -------------------------------------------------------------------- form */
.rv-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rv-summary {
  padding: 20px;
  border-radius: var(--rv-radius);
  background: linear-gradient(135deg, var(--rv-primary), var(--rv-primary-deep));
  color: #fff;
}
.rv-summary-cap {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.rv-summary-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.rv-summary-doc .rv-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  font-size: 14px;
}
.rv-summary-name {
  margin: 0;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-summary-unit {
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-summary-rows {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}
.rv-summary-rows p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.rv-summary-rows svg { color: #f87171; }
.rv-summary .rv-link {
  margin-top: 16px;
  color: #f87171;
}

.rv-form-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--rv-ink);
}
.rv-form-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: var(--rv-accent);
}
.rv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .rv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.rv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rv-field > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--rv-muted);
}
.rv-req { color: var(--rv-accent); }
.rv-input-wrap { position: relative; }
.rv-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rv-muted);
  pointer-events: none;
}
.rv-root input[type="text"],
.rv-root input[type="tel"],
.rv-root input[type="email"],
.rv-root input[type="date"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rv-border);
  border-radius: 12px;
  background: var(--rv-surface);
  color: var(--rv-ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rv-input-wrap input { padding-left: 40px !important; }
.rv-root input:focus {
  border-color: #ef4444;
  background: #fff;
}
.rv-fieldset {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
.rv-fieldset legend {
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--rv-muted);
}
.rv-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.rv-radios label,
.rv-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--rv-ink);
  cursor: pointer;
}
.rv-consent {
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  line-height: 1.6;
}
.rv-root input[type="radio"],
.rv-root input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--rv-accent);
  margin: 0;
}
.rv-consent input { margin-top: 3px; }

.rv-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, var(--rv-accent-deep));
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.3);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rv-submit:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.4);
}
.rv-submit:active:not(:disabled) { transform: scale(0.99); }
.rv-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.rv-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--rv-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}
.rv-back:hover { color: var(--rv-primary); }

/* ------------------------------------------------------------------ başarı */
.rv-success {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--rv-radius);
  background: var(--rv-accent-soft);
  color: #450a0a;
  animation: rv-fade-up 0.5s var(--rv-ease) both;
}
.rv-success-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rv-success-mark {
  display: flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rv-accent);
  color: #fff;
}
.rv-success-title {
  margin: 0;
  font-weight: 600;
}
.rv-success-text {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(69, 10, 10, 0.8);
}
/* Başarı kutusunun altında akan EKG şeridi */
.rv-ekg-success {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  width: 100%;
  height: 40px;
  color: rgba(239, 68, 68, 0.5);
  pointer-events: none;
}
.rv-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.rv-btn-solid,
.rv-btn-ghost {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rv-btn-solid {
  border: 0;
  background: var(--rv-accent);
  color: #fff;
}
.rv-btn-solid:hover { transform: scale(1.05); }
.rv-btn-ghost {
  border: 1px solid #fca5a5;
  background: transparent;
  color: #b91c1c;
}
.rv-btn-ghost:hover { background: #fee2e2; }

/* ---------------------------------------------------------------- alt bilgi */
.rv-foot {
  padding: 12px 24px;
  border-top: 1px solid var(--rv-border);
  background: var(--rv-surface);
}
.rv-foot p {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--rv-muted);
}
.rv-foot svg { flex: 0 0 auto; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .rv-root *,
  .rv-root *::after,
  .rv-root *::before {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
