/* Rezervo — Claude Design "Randevu Sistemi" tasarım dili
   Zemin #0A0908 / #0F0E0D · Kart #171614 · Çizgi #1F1D1B #2B2825 #3A3632
   Metin #F1ECE4 · İkincil #A0978C · Soluk #6E665D · Vurgu #C2553A
   Yazı: Instrument Serif (başlık), Geist (metin), Geist Mono (veri) */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #0F0E0D; color: #F1ECE4; font-family: 'Geist', system-ui, -apple-system, sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; min-height: 100vh; }
body.viewer { background: #0A0908; overflow: hidden; }
a { color: #E08B73; text-decoration: none; }
a:hover { color: #F1ECE4; }
h1, h2, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
input, textarea, select { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #6E665D; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #2B2825; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: #C2553A; color: #0F0E0D; }
:focus-visible { outline: 2px solid #E08B73; outline-offset: 2px; }
[data-act] { cursor: pointer; }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.logo { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; line-height: 1; }
.logo .dot { color: #C2553A; }
.kicker { font: 500 11px 'Geist Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #C2553A; }
.lbl { font: 500 11px 'Geist Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #6E665D; }
.lbl10 { font: 500 10px 'Geist Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #6E665D; }

.chip { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid #3A3632; background: transparent; color: #C9C1B6; display: inline-flex; align-items: center; font: 500 13px 'Geist', sans-serif; white-space: nowrap; }
.chip.on { background: #F1ECE4; color: #0F0E0D; border-color: #F1ECE4; }
.chip.sm { height: 32px; padding: 0 14px; font-size: 12px; }
.chip.xs { height: 34px; padding: 0 12px; font-size: 12px; }

.seg { display: flex; padding: 3px; border-radius: 10px; border: 1px solid #2B2825; background: #121110; }
.seg > * { padding: 7px 14px; border-radius: 7px; font: 500 13px 'Geist', sans-serif; color: #A0978C; white-space: nowrap; }
.seg > .on { background: #2B2825; color: #F1ECE4; }
.seg.sm { border-radius: 9px; background: transparent; }
.seg.sm > * { padding: 6px 14px; border-radius: 6px; }

.tg { width: 40px; height: 22px; border-radius: 999px; background: #3A3632; padding: 2px; flex: none; display: block; transition: background .15s; }
.tg i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #F1ECE4; transition: margin .15s; }
.tg.on { background: #C2553A; }
.tg.on i { margin-left: 18px; }

.btn-a { height: 50px; border-radius: 12px; background: #C2553A; color: #0F0E0D; display: grid; place-items: center; font: 600 15px 'Geist', sans-serif; transition: background .15s; }
.btn-a:hover { background: #D0654A; }
.btn-a.off, .btn-a.off:hover { background: #2B2825; color: #6E665D; cursor: default; }
.hov:hover { border-color: #4A443E !important; }
.hovb:hover { filter: brightness(1.25); }
.hovr:hover { background: #1A1917 !important; }
.hovt:hover { color: #F1ECE4 !important; }
.card { border-radius: 16px; border: 1px solid #2B2825; background: #171614; }
.acard { border-radius: 14px; border: 1px solid #2B2825; background: #141311; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* üst / alt sabit çubuklar */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(15, 14, 13, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #1F1D1B; }
.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; padding-bottom: env(safe-area-inset-bottom); background: #0C0B0A; }
.tabs3 { height: 62px; border-top: 1px solid #1F1D1B; background: #0C0B0A; display: grid; grid-template-columns: repeat(3, 1fr); }
.tabs3 > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #6E665D; font: 500 12px 'Geist', sans-serif; }
.tabs3 > * i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.tabs3 > .on { color: #F1ECE4; }
.tabs3 > .on i { background: #C2553A; }

/* toast */
#toast { position: fixed; left: 50%; bottom: var(--toast-b, 28px); transform: translate(-50%, 12px); z-index: 60; max-width: 90%; padding: 12px 18px; border-radius: 12px; background: #F1ECE4; color: #0F0E0D; font: 500 13px 'Geist', sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* katmanlar (drawer / modal) */
.layer { position: fixed; inset: 0; z-index: 40; display: flex; }
.layer > .bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: fade .18s; }
.layer > .panel { position: relative; background: #161513; overflow: auto; display: flex; flex-direction: column; gap: 18px; padding: 22px; }
.layer.side > .panel { animation: slideR .22s cubic-bezier(.2, .8, .2, 1); }
.layer.sheet > .panel, .layer.modal > .panel { animation: slideU .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideU { from { transform: translateY(16px); opacity: 0; } }
@keyframes slideR { from { transform: translateX(30px); opacity: 0; } }

/* takvim ızgarası */
.calcol { position: relative; height: 792px; border-left: 1px solid #1F1D1B; background-image: repeating-linear-gradient(to bottom, #1F1D1B 0 1px, transparent 1px 36px, #191816 36px 37px, transparent 37px 72px); }

/* prototip görüntüleyici */
.vw { height: 100vh; display: flex; flex-direction: column; }
.vw-head { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-bottom: 1px solid #1F1D1B; overflow-x: auto; }
.vw-stage { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; padding: 24px; overflow: hidden; }
.vw-frame { position: relative; background: #0F0E0D; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); transform-origin: 0 0; }
.vw-frame iframe { border: 0; flex: 1; min-height: 0; width: 100%; display: block; background: #0F0E0D; }
.vw-tweak { display: flex; align-items: center; gap: 8px; font: 500 12px 'Geist', sans-serif; color: #6E665D; white-space: nowrap; }
.vw-tweak select { height: 34px; border-radius: 9px; border: 1px solid #2B2825; background: #121110; color: #F1ECE4; padding: 0 8px; font: 500 13px 'Geist', sans-serif; }
