:root { --ana: #2f5d8a; --ana-acik: #e8f0f8; --yazi: #1f2933; --soluk: #6b7785; --cizgi: #dfe4ea; --kirmizi: #c62828; --yesil: #2e7d32; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--yazi); background: #f4f6f9; }
.ic { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.ust { background: linear-gradient(135deg, #2f5d8a, #4b7fb3); color: #fff; padding: 18px 0 22px; }
.ust .ic { display: flex; gap: 14px; align-items: center; }
.logo { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.18); display: flex; align-items: center;
  justify-content: center; font-weight: 800; letter-spacing: .5px; }
.klinik { font-size: 19px; font-weight: 700; }
.alt { opacity: .85; font-size: 14px; }
main { margin-top: -10px; }
.kart { background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 18px; margin-bottom: 14px; }
.yukleniyor { color: var(--soluk); text-align: center; }
h2 { font-size: 16px; margin: 0 0 12px; display: flex; gap: 10px; align-items: center; }
h2 .no { width: 26px; height: 26px; border-radius: 50%; background: var(--ana); color: #fff; font-size: 13px; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0; }
.secenekler { display: grid; gap: 8px; }
.secenek { border: 1.5px solid var(--cizgi); border-radius: 10px; padding: 12px 14px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; background: #fff; font: inherit; color: inherit; text-align: left; width: 100%; }
.secenek:hover { border-color: #9cbfe3; }
.secenek.secili { border-color: var(--ana); background: var(--ana-acik); }
.secenek .sure { color: var(--soluk); font-size: 13px; }
.gunler { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.gun { flex: 0 0 66px; border: 1.5px solid var(--cizgi); border-radius: 10px; padding: 8px 4px; text-align: center; cursor: pointer;
  background: #fff; font: inherit; color: inherit; scroll-snap-align: start; }
.gun .g { font-size: 12px; color: var(--soluk); } .gun .s { font-size: 20px; font-weight: 700; } .gun .a { font-size: 12px; }
.gun.secili { border-color: var(--ana); background: var(--ana); color: #fff; } .gun.secili .g { color: #dce8f4; }
.gun:disabled { opacity: .35; cursor: default; }
.gun.gun-kapali, .gun.gun-dolu { opacity: 1; background: #f3f4f6; color: #9aa3ad; border-style: dashed; }
.gun.gun-kapali .a, .gun.gun-dolu .a { font-size: 11px; font-weight: 600; }
.gun.gun-dolu .a { color: #b26a00; }
.gun-aciklama { margin: 6px 0 0; }
.saatler { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.saat { border: 1.5px solid var(--cizgi); border-radius: 10px; padding: 10px 0; text-align: center; cursor: pointer; background: #fff;
  font: inherit; font-weight: 600; color: inherit; }
.saat.secili { background: var(--ana); border-color: var(--ana); color: #fff; }
.bos { color: var(--soluk); font-size: 14px; padding: 6px 0; }
label { display: block; font-size: 13px; color: var(--soluk); margin: 10px 0 4px; font-weight: 600; }
input, textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid #cfd6de; border-radius: 10px; background: #fff; color: inherit; }
input:focus, textarea:focus { outline: none; border-color: var(--ana); }
textarea { min-height: 70px; resize: vertical; }
.onay { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--yazi); font-weight: 400; margin-top: 14px; }
.onay input { width: auto; margin-top: 3px; }
.gizli { position: absolute; left: -9999px; }
.ozet { background: var(--ana-acik); border-radius: 10px; padding: 12px 14px; margin-top: 12px; font-size: 15px; }
.gonder { width: 100%; margin-top: 16px; padding: 14px; font: inherit; font-weight: 700; border: 0; border-radius: 12px; background: var(--ana);
  color: #fff; cursor: pointer; font-size: 17px; }
.gonder:disabled { opacity: .5; cursor: default; }
.hata { color: var(--kirmizi); font-size: 14px; margin-top: 10px; min-height: 20px; }
.tamam { text-align: center; padding: 30px 18px; }
.tamam .ikon { width: 64px; height: 64px; border-radius: 50%; background: #e8f5e9; color: var(--yesil); font-size: 34px; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 12px; }
.alt-bilgi { color: var(--soluk); font-size: 13px; text-align: center; padding-bottom: 30px; }
.alt-bilgi a { color: var(--ana); }
.aciklama { color: var(--soluk); font-size: 13px; margin-top: 8px; }
h2.orta { justify-content: center; }
.soluk { color: var(--soluk); }
.dugme-link { display: block; text-align: center; text-decoration: none; }
.buyuk-tutar { font-size: 26px; font-weight: 800; margin: 6px 0; }
.iban { font-family: Consolas, monospace; letter-spacing: .5px; }
.durum { padding: 10px 12px; border-radius: 10px; background: #f1f5f9; }
.durum.yesil { background: #e8f5e9; color: #1b5e20; }
.durum.kirmizi { background: #fdecec; color: #b71c1c; }
.randevu-kart { display: flex; gap: 16px; align-items: center; }
.takvim-yaprak { width: 74px; flex-shrink: 0; border-radius: 14px; overflow: hidden; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.1); background: #fff; }
.takvim-yaprak span { display: block; font-size: 12px; color: var(--soluk); padding: 2px 0; }
.takvim-yaprak span:first-child { background: var(--ana); color: #fff; font-weight: 700; }
.takvim-yaprak b { display: block; font-size: 30px; line-height: 1.1; }
.r-hizmet { font-size: 20px; font-weight: 700; }
.r-zaman { color: var(--soluk); }
.iki-dugme { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ikincil { padding: 12px; font: inherit; font-weight: 600; border: 1.5px solid var(--cizgi); border-radius: 12px; background: #fff; cursor: pointer; color: var(--yazi); }
.kirmizi-yazi { color: var(--kirmizi); }
.orta-yazi { text-align: center; }
.yildizlar { display: flex; justify-content: center; gap: 6px; margin: 12px 0; }
.yildizlar button { font-size: 42px; line-height: 1; background: none; border: 0; color: #d6dbe1; cursor: pointer; padding: 0 2px; }
.yildizlar button.dolu { color: #f5b301; }
.satir-link { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid #edf0f3; color: inherit; text-decoration: none; }
.satir-link span { color: var(--soluk); font-size: 14px; }
.satir-link.gecikti b { color: var(--kirmizi); }
.paket { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf0f3; flex-wrap: wrap; }
.paket > div:first-child { flex: 1; min-width: 140px; }
.noktalar { display: flex; gap: 4px; flex-wrap: wrap; }
.noktalar span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #2e7d32; }
.noktalar span.dolu { background: #2e7d32; }
.kalan { font-size: 15px; }
.kucuk { font-size: 13px; }
.odeme-kutu { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--cizgi); }
.kirmizi-ikon { background: #fdecec !important; color: #c62828 !important; }

.ust-bosluk { margin-top: 10px; }
#k-iptal { margin-top: 10px; }
