/* Planlama, formlar, sesle işlem ve çoklu para birimi için ek stiller */

/* Profil düğmesi ve menü göstergesi */
.av { font-weight: 700; font-size: 15px; color: var(--accent-ink); }
.nav .ind { transition: transform .55s var(--spring), opacity .3s; }
.nav.noind .ind { opacity: 0; }

/* Planlama */
.plan-seg { margin-top: 18px; }
.plan-seg button { font-size: 13px; height: 38px; }
.up { cursor: default; }
.up:active { opacity: 1; transform: none; }
.pay { flex: none; height: 34px; padding: 0 14px; border-radius: 11px; background: var(--lime); color: var(--on-lime); font-weight: 700; font-size: 13px; transition: transform .25s var(--spring); }
.pay:active { transform: scale(.86); }
.late { font-style: normal; color: var(--out); font-weight: 700; }
.loan { animation: rowin .55s var(--ease) both; }
.loan-top { display: flex; align-items: center; gap: 12px; width: 100%; }
.loan-top .amt small { font-size: 11px; color: var(--muted); font-weight: 600; }
.loan .bar { margin: 14px 0 12px; }
.loan-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.loan-foot b { color: var(--text); }
.loan-next { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.addrow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 18px; }
.addrow .btn { padding: 0 8px; font-size: 13.5px; height: 48px; }
.addrow .btn svg.ic { width: 17px; height: 17px; }
button.crow, button.card { width: 100%; display: flex; }
button.card { display: block; }
.bud-total .budget-big { margin-bottom: 12px; }

/* Karşılaştırma kutucukları */
.cmp .tile > div { display: block; }
.cmp em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.cmp em.good { color: var(--in); }
.cmp em.bad { color: var(--out); }

/* Form paneli */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.fld { grid-column: 1 / -1; display: grid; gap: 6px; min-width: 0; animation: rowin .45s var(--ease) both; }
.fld.half { grid-column: auto; }
.fld > span { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fld input:not([type="checkbox"]), .fld select { height: 50px; border-radius: 15px; background-color: var(--surface); border: 1.5px solid transparent; padding: 0 14px; outline: 0; font: inherit; font-weight: 600; color: var(--text); width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; }
.fld input:focus, .fld select:focus { border-color: var(--accent-ink); }
.fld input::placeholder { color: var(--muted); font-weight: 500; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A97AD' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 34px; }
.fld select option { background: var(--nav); color: #fff; }
.fld.chk { grid-template-columns: 1fr auto; align-items: center; background: var(--surface); border-radius: 15px; padding: 0 14px; height: 54px; position: relative; cursor: pointer; }
.fld.chk > span { font-size: 14px; color: var(--text); }
.fld.chk input { position: absolute; opacity: 0; pointer-events: none; }
.fld.chk i { width: 46px; height: 28px; border-radius: 99px; background: var(--surface-2); position: relative; transition: background .25s; }
.fld.chk i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .35s var(--spring); }
.fld.chk input:checked + i { background: var(--lime); }
.fld.chk input:checked + i::after { transform: translateX(18px); }
.form .btn { grid-column: 1 / -1; margin-top: 6px; height: 54px; font-size: 16px; }

/* İşlem ekleme: para birimi ve sesle gelen cümle */
.amount .cur { font: inherit; font-size: .55em; font-weight: 700; color: var(--accent-ink); margin-right: 8px; padding: 3px 10px; border-radius: 12px; background: var(--surface); vertical-align: .12em; transition: transform .25s var(--spring); }
.amount .cur:active { transform: scale(.85); }
.fxhint { text-align: center; font-size: 12.5px; color: var(--muted); margin: -8px 0 12px; }
.fxhint:empty { display: none; }
.heard { display: flex; gap: 9px; align-items: center; background: var(--surface); border-radius: 14px; padding: 10px 13px; font-size: 13px; margin-bottom: 12px; color: var(--muted); animation: rowin .5s var(--ease) both; }
.heard svg.ic { width: 16px; height: 16px; color: var(--accent-ink); }

/* Sesle işlem ekranı */
.voice { position: absolute; inset: 0; z-index: 15; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px 24px; text-align: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4); opacity: 0; pointer-events: none; transition: opacity .35s; }
.voice.on { opacity: 1; pointer-events: auto; }
.voice > .round { position: absolute; top: calc(20px + env(safe-area-inset-top)); right: 22px; }
.orb { width: 124px; height: 124px; border-radius: 50%; background: var(--hero-bg); display: grid; place-items: center; color: #fff; position: relative; box-shadow: 0 22px 54px -12px rgba(75, 43, 255, .85); margin-bottom: 14px; transform: scale(.6); opacity: 0; transition: transform .6s var(--spring), opacity .4s; }
.voice.on .orb { transform: none; opacity: 1; }
.orb svg.ic { width: 46px; height: 46px; }
.orb::before, .orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent-ink); opacity: 0; }
.voice.live .orb::before { animation: ring 1.8s ease-out infinite; }
.voice.live .orb::after { animation: ring 1.8s ease-out .9s infinite; }
.voice.live .orb svg.ic { animation: breathe .7s ease-in-out infinite alternate; }
@keyframes ring { from { transform: scale(1); opacity: .75; } to { transform: scale(2.2); opacity: 0; } }
@keyframes breathe { to { transform: scale(1.16); } }
.voice h3 { font-size: 19px; max-width: 320px; }
.voice .said { min-height: 28px; font-size: 17px; font-weight: 600; color: var(--accent-ink); max-width: 320px; }
.voice .ex { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 360px; }
.voice .ex button { padding: 9px 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); transition: transform .25s var(--spring); }
.voice .ex button:active { transform: scale(.92); }
.voice form { display: flex; gap: 8px; width: 100%; max-width: 360px; margin-top: 6px; }
.voice form input { flex: 1; min-width: 0; height: 50px; border-radius: 15px; background: var(--surface); border: 1.5px solid transparent; padding: 0 14px; outline: 0; font-weight: 600; }
.voice form input:focus { border-color: var(--accent-ink); }
.voice form input::placeholder { color: var(--muted); font-weight: 500; }
.voice form button { width: 50px; height: 50px; border-radius: 15px; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; flex: none; }

/* Ayarlar: kur satırları, bağış */
.bub.sym { font-weight: 700; font-size: 16px; }
.iban { background: var(--surface); border-radius: 14px; padding: 12px; margin-bottom: 16px; display: block !important; }
.iban small { display: block; color: var(--muted); font-size: 12px; }
.iban b { font-size: 14px; letter-spacing: .02em; word-break: break-all; }

/* Hesap kartı ve giriş paneli */
.privacy i.who { font-style: normal; font-weight: 700; font-size: 19px; border-radius: 50%; }
.privacy small { display: block; }
.formnote { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.btn:disabled { opacity: .55; pointer-events: none; }
.perks { display: grid; gap: 9px; margin-top: 12px; }
.perks b { font-size: 14px; margin-bottom: 2px; }
.perks span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.perks svg.ic { width: 17px; height: 17px; color: var(--accent-ink); }
.perks em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--surface-2); color: var(--text); margin-left: auto; }

/* Marka: küçük Ovinso logosu, altında "kesem" */
:root { --brand2: #00A99B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brand2: #10FDE9; } }
:root[data-theme="dark"] { --brand2: #10FDE9; }
.brand { display: grid; justify-items: center; gap: 0; }
.brand img { width: 104px; height: auto; display: block; }
.brand b { font-size: 58px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--brand2); }
.splash .brand img { animation: rise .7s var(--ease) .05s both; }
.splash .brand b { font-size: 58px; animation: rise .7s var(--ease) .3s both; margin-bottom: 6px; }
.splash u::after { background: var(--brand2); }
.brand.foot { margin-top: 30px; opacity: .85; }
.brand.foot img { width: 58px; }
.brand.foot b { font-size: 26px; }
.brand.foot small { color: var(--muted); font-size: 11.5px; margin-top: 6px; }

/* Üyelik adımları: onay kodu, bağlantı düğmeleri, paket kartları */
.codein { text-align: center; font-size: 26px !important; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.linkbtn { grid-column: 1 / -1; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); padding: 6px; }
.formnote.center { grid-column: 1 / -1; text-align: center; margin: 0; }
.formnote b { color: var(--text); }
.stepcard { display: flex !important; align-items: center; gap: 12px; margin-top: 12px; border-color: var(--accent-ink) !important; text-align: left; animation: rowin .5s var(--ease) both; }
.stepcard > svg.ic:first-child { color: var(--accent-ink); }
.stepcard span { flex: 1; } .stepcard b { display: block; } .stepcard small { color: var(--muted); font-size: 12.5px; }
.stepcard > svg.ic:last-child { width: 16px; height: 16px; color: var(--muted); }
.plans { display: grid; gap: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 18px; animation: rowin .5s var(--ease) both; }
.plan.hi { border-color: var(--accent-ink); background: linear-gradient(160deg, color-mix(in srgb, var(--accent-ink) 14%, transparent), var(--surface)); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-top b { font-size: 18px; } .plan-top span { color: var(--muted); font-size: 13px; white-space: nowrap; } .plan-top strong { font-size: 22px; color: var(--text); }
.plan ul { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 9px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.plan li svg.ic { width: 17px; height: 17px; color: var(--brand2); }

/* Mobil uygulama kabuğu: metin seçimi ve uzun basma menüsü kapalı (giriş alanları hariç), sayfa esnemesi yok */
html.native, html.native body { overscroll-behavior: none; }
html.native body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.native input, html.native textarea { -webkit-user-select: text; user-select: text; }
html.native .app { max-width: none; height: 100dvh; border-radius: 0; box-shadow: none; }
