/* Müşteri sayfası: giriş ekranı ve öğe listesi */
:root { --bg: #f5f6f8; --surface: #fff; --text: #1c1f24; --muted: #5f6672; --border: #dde1e7; --accent: #2357c6; --accent-text: #fff; --error: #b42318; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #14171c; --surface: #1d2128; --text: #e7e9ed; --muted: #9aa2ae; --border: #2e343d; --accent: #6b9bff; --accent-text: #0d1117; --error: #ff8a80; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Üst bar */
.pbar { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.pbar-in { max-width: 980px; margin: 0 auto; padding: 0 16px; height: 56px; display: flex; justify-content: space-between; align-items: center; }
.pbar-brand { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; }
.pbar-logo { display: block; box-sizing: content-box; height: 30px; width: auto; background: #fff; padding: 5px 8px; border-radius: 6px; }
.pbar-out { border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px; color: var(--text); text-decoration: none; font-size: 14px; }
.pbar-out:hover { background: rgba(127,127,127,.12); }

/* Öğe listesi */
.wrap { max-width: 980px; margin: 0 auto; padding: 32px 16px 48px; }
h1 { font-size: 24px; margin: 0 0 4px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.item { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--border);
        border-radius: 12px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.item:hover, .item:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.item strong { font-size: 17px; }
.item .muted { font-size: 14px; }
.item-type { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid currentColor; border-radius: 99px; padding: 0 9px; }
.item .go { color: var(--accent); font-weight: 600; font-size: 14px; margin-top: auto; padding-top: 6px; }

/* Giriş */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 28px; }
.login-card h1 { font-size: 20px; }
.login-card p.muted { margin: 4px 0 20px; }
.login-card label { display: block; font-weight: 600; margin-bottom: 6px; }
.login-logo { display: block; box-sizing: content-box; height: 44px; width: auto; margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .login-logo { background: #fff; padding: 5px 8px; border-radius: 6px; } }
input, button { font: inherit; color: inherit; }
input { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; width: 100%; }
button.primary { width: 100%; margin-top: 14px; cursor: pointer; border-radius: 8px; padding: 7px 14px; background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); font-weight: 600; }
.error { color: var(--error); min-height: 1.5em; margin: 8px 0 0; }
