.rbd {
	--rbd-ana: var(--e-global-color-primary, #E1251B);
	--rbd-koyu: var(--e-global-color-secondary, #0B1324);
	--rbd-metin: var(--e-global-color-text, #334155);
	--rbd-zemin: #F4F6F9;
	--rbd-cizgi: #E2E8F0;
	--rbd-yesil: #16A34A;
	--rbd-turuncu: #D97706;
	--rbd-r: 14px;
	color: var(--rbd-metin);
	font-family: inherit;
	background: #fff;
	border: 1px solid var(--rbd-cizgi);
	border-radius: 20px;
	padding: clamp(16px, 3vw, 32px);
	box-shadow: 0 24px 60px -30px rgba(11, 19, 36, .25);
}
.rbd *, .rbd *::before, .rbd *::after { box-sizing: border-box; }
.rbd [hidden] { display: none !important; }
.rbd button, .rbd button:hover, .rbd button:focus { font: inherit; cursor: pointer; background: none; color: inherit; padding: 0; border: 0; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: normal; text-decoration: none; }

/* Adımlar */
.rbd-adimlar { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: none; }
.rbd-adimlar li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--rbd-zemin); font-size: 14px; font-weight: 600; color: #64748B; margin: 0; }
.rbd-adimlar li span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--rbd-cizgi); font-size: 13px; }
.rbd-adimlar li.is-aktif { background: var(--rbd-koyu); color: #fff; }
.rbd-adimlar li.is-aktif span { background: var(--rbd-ana); border-color: var(--rbd-ana); color: #fff; }
.rbd-adimlar li.is-tamam span { background: var(--rbd-yesil); border-color: var(--rbd-yesil); color: #fff; }

.rbd-govde { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); }

/* Takvim */
.rbd-takvim-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rbd-ay { margin: 0; font-size: 18px; font-weight: 700; color: var(--rbd-koyu); }
.rbd .rbd-ok { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--rbd-cizgi); background: #fff; color: var(--rbd-koyu); font-size: 22px; line-height: 1; padding: 0; }
.rbd .rbd-ok:hover:not(:disabled) { border-color: var(--rbd-ana); color: var(--rbd-ana); }
.rbd .rbd-ok:disabled { opacity: .35; cursor: default; }
.rbd-haftagunleri, .rbd-gunler { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rbd-haftagunleri span { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #94A3B8; padding-bottom: 6px; }
.rbd .rbd-gun { position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #CBD5E1; font-size: 15px; font-weight: 600; padding: 0; transition: background .15s, border-color .15s, color .15s; }
.rbd .rbd-gun::after { content: ""; position: absolute; left: 50%; bottom: 18%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: transparent; }
.rbd .rbd-gun--bos, .rbd .rbd-gun--az { color: var(--rbd-koyu); background: var(--rbd-zemin); }
.rbd .rbd-gun--bos::after { background: var(--rbd-yesil); }
.rbd .rbd-gun--az::after { background: var(--rbd-turuncu); }
.rbd .rbd-gun--dolu { color: #94A3B8; text-decoration: line-through; }
.rbd .rbd-gun--dolu::after { background: var(--rbd-ana); opacity: .5; }
.rbd .rbd-gun:not(:disabled):hover { border-color: var(--rbd-ana); }
.rbd .rbd-gun.is-bugun { box-shadow: inset 0 0 0 1px #94A3B8; }
.rbd .rbd-gun.is-secili { background: var(--rbd-ana); color: #fff; }
.rbd .rbd-gun.is-secili::after { background: #fff; }
.rbd .rbd-gun:disabled { cursor: default; }
.rbd-gunler.is-yukleniyor { opacity: .5; }
.rbd-lejant { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: #64748B; }
.rbd-lejant li { display: flex; align-items: center; gap: 6px; margin: 0; }
.rbd-n { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rbd-n--bos { background: var(--rbd-yesil); }
.rbd-n--az { background: var(--rbd-turuncu); }
.rbd-n--dolu { background: var(--rbd-ana); opacity: .5; }

/* Saatler */
.rbd-saatler { background: var(--rbd-zemin); border-radius: var(--rbd-r); padding: 20px; min-height: 260px; scroll-margin-top: 100px; }
.rbd-bos-durum { height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; color: #64748B; }
.rbd-bos-durum strong { color: var(--rbd-koyu); font-size: 17px; margin-bottom: 6px; }
.rbd-bos-durum p { margin: 0; font-size: 14px; }
.rbd .rbd-saat-baslik { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--rbd-koyu); }
.rbd .rbd-saat-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.rbd .rbd-saat-izgara.is-yukleniyor { min-height: 120px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent) 0 0 / 200% 100%; animation: rbd-parilti 1.2s infinite; border-radius: 12px; }
@keyframes rbd-parilti { to { background-position: -200% 0; } }
.rbd .rbd-saat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--rbd-cizgi); background: #fff; color: var(--rbd-koyu); transition: border-color .15s, transform .15s; }
.rbd .rbd-saat-s { font-size: 16px; font-weight: 700; }
.rbd .rbd-saat-d { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--rbd-yesil); }
.rbd .rbd-saat--bos:hover { border-color: var(--rbd-ana); transform: translateY(-1px); }
.rbd .rbd-saat--dolu { background: transparent; color: #94A3B8; cursor: not-allowed; }
.rbd .rbd-saat--dolu .rbd-saat-s { text-decoration: line-through; }
.rbd .rbd-saat--dolu .rbd-saat-d { color: var(--rbd-ana); }
.rbd .rbd-saat--gecmis { background: transparent; color: #CBD5E1; border-style: dashed; cursor: not-allowed; }
.rbd .rbd-saat--gecmis .rbd-saat-d { color: #CBD5E1; }
.rbd-not { margin: 14px 0 0; font-size: 14px; }

/* Form */
.rbd-ozet { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 18px; border-radius: var(--rbd-r); background: var(--rbd-koyu); color: #fff; margin-bottom: 20px; }
.rbd-ozet-etiket { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; }
.rbd-ozet strong { font-size: 16px; }
.rbd-alanlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.rbd-alan { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--rbd-koyu); }
.rbd-alan--tam { grid-column: 1 / -1; }
.rbd .rbd-alan input, .rbd .rbd-alan select, .rbd .rbd-alan textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--rbd-cizgi); border-radius: 12px; background: #fff; color: var(--rbd-koyu); font: inherit; font-size: 16px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.rbd .rbd-alan textarea { min-height: 96px; resize: vertical; }
.rbd .rbd-alan input:focus, .rbd .rbd-alan select:focus, .rbd .rbd-alan textarea:focus { outline: none; border-color: var(--rbd-ana); box-shadow: 0 0 0 3px rgba(225, 37, 27, .15); }
.rbd .is-hatali input, .rbd .is-hatali select { border-color: var(--rbd-ana); }
.rbd-onay { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; margin: 0; }
.rbd-onay input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--rbd-ana); flex: none; }
.rbd-onay a { color: var(--rbd-ana); }
.rbd-onay.is-hatali span { color: var(--rbd-ana); }
.rbd-gizli { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rbd-hata { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #FEF2F2; color: #B91C1C; font-size: 14px; }
.rbd-form-alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.rbd .rbd-geri { border: 0; background: none; padding: 12px 0; color: #64748B; font-weight: 600; }
.rbd .rbd-geri:hover { color: var(--rbd-koyu); }
.rbd .rbd-gonder { border: 0; border-radius: 12px; padding: 15px 26px; background: var(--rbd-ana); color: #fff; font-weight: 700; font-size: 15px; transition: filter .15s, transform .15s; }
.rbd .rbd-gonder:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rbd .rbd-gonder.is-yukleniyor { opacity: .7; pointer-events: none; }

/* Sonuç */
.rbd-sonuc { text-align: center; padding: 24px 8px 8px; }
.rbd-sonuc-ikon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #DCFCE7; color: var(--rbd-yesil); }
.rbd-sonuc h3 { margin: 0 0 6px; font-size: 22px; color: var(--rbd-koyu); }
.rbd-sonuc-zaman { font-weight: 700; color: var(--rbd-ana); margin: 0 0 12px; }
.rbd-sonuc p { max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.rbd .rbd-takvime-ekle { display: inline-flex; margin-top: 10px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--rbd-cizgi); color: var(--rbd-koyu); font-weight: 700; text-decoration: none; }
.rbd .rbd-takvime-ekle:hover { border-color: #1A73E8; color: #1A73E8; }
.rbd-yukleme-hatasi { grid-column: 1 / -1; color: #B91C1C; font-size: 14px; }

@media (max-width: 767px) {
	.rbd { border-radius: 16px; }
	.rbd-govde { grid-template-columns: 1fr; }
	.rbd-adimlar li { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: 11px; text-align: center; }
	.rbd .rbd-gun { font-size: 14px; border-radius: 10px; }
	.rbd-haftagunleri, .rbd-gunler { gap: 4px; }
	.rbd-saatler { padding: 16px; min-height: 0; }
	.rbd .rbd-saat-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rbd-alanlar { grid-template-columns: 1fr; }
	.rbd-form-alt { flex-direction: column-reverse; align-items: stretch; }
	.rbd .rbd-gonder { width: 100%; }
}

.rbd--kapali { text-align: center; }
.rbd--kapali strong { display: block; color: var(--rbd-koyu); font-size: 18px; margin-bottom: 6px; }
.rbd--kapali p { margin: 0; }
