/* OmniKod müşteri paneli. Renkler sitenin ve logonun tonlarıdır. */
:root {
  --navy: #101a33; --blue: #2f55c8; --blue-soft: #eaf0ff; --teal: #23b3a0; --teal-soft: #e3f6f3;
  --ink: #1b2440; --muted: #5d6784; --line: #e3e8f2; --bg: #f5f7fb; --card: #fff;
  --warn: #b26a00; --warn-soft: #fff4e0; --bad: #c0392b; --bad-soft: #fdecea;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--blue); }
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; }
.wrap { max-width: 960px; margin: 0 auto; }
main.wrap { padding: 24px 16px 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.narrow { max-width: 440px; margin: 24px auto; }
h1 { font-size: 26px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 0 0 4px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=password] {
  font: inherit; padding: 11px 12px; border: 1px solid #cbd4e6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; }
.btn { font: inherit; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.btn.main { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn[disabled] { opacity: .6; cursor: default; }
.links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.alert.ok { background: var(--teal-soft); color: #0d6b5f; }
.alert.bad { background: var(--bad-soft); color: var(--bad); }
.alert.info { background: var(--blue-soft); color: #1f3c8f; white-space: pre-line; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.program { display: grid; gap: 10px; align-content: start; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1f7; color: #43507a; }
.badge.ok { background: var(--teal-soft); color: #0d6b5f; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.note { margin-top: 22px; }
.order { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order:last-child { border-bottom: 0; }
.hide { display: none; }
.check.consent { margin: 10px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card, #fff); font-size: 15px; }
.qr { width: 200px; height: 200px; display: block; margin: 8px auto; }
.secret { font-family: ui-monospace, monospace; word-break: break-all; text-align: center; }
@media (max-width: 520px) { h1 { font-size: 22px; } .card { padding: 18px; } }
