/* Yönetim paneli: sitenin renkleri, sade tablo düzeni */
:root { --wine: #2B0B1E; --wine-2: #43122F; --orange: #F47216; --flame: #E5401A; --mist: #FAF6F3; --ink: #241019; --muted: #7B6570; --line: #EFE5E0; --green: #0E7A46; --green-bg: #E4F7EE; --red: #B9271A; --red-bg: #FDECEA; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 15px/1.5 "Helvetica Neue", Arial, system-ui, sans-serif; }
h1 { font-size: 26px; letter-spacing: -.02em; margin: 8px 0 16px; }
h2 { font-size: 18px; margin: 0 0 12px; }
a { color: var(--flame); }
button { background: var(--wine); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; }
button:hover { background: var(--wine-2); }
button.small { padding: 6px 11px; font-size: 13px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #D8CCD1; }
button.small:hover { background: var(--line); }
button.link { background: none; color: inherit; padding: 0; text-decoration: underline; font-weight: 500; }
button.danger-btn { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
input, select, textarea { width: 100%; padding: 9px 10px; border: 1px solid #D8CCD1; border-radius: 7px; font: 400 15px/1.35 inherit; font-family: inherit; color: var(--ink); background: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.brand { margin: 0; font-weight: 800; font-size: 18px; color: #fff; }
.brand em { font-style: normal; color: var(--orange); }
.brand small { font-weight: 500; font-size: 13px; opacity: .75; margin-left: 4px; }
.top { background: var(--wine); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 12px 20px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px; }
.top nav a { color: #F1DFE6; text-decoration: none; padding: 6px 12px; border-radius: 7px; font-weight: 500; }
.top nav a.on, .top nav a:hover { background: var(--wine-2); color: #fff; }
.top nav b { background: var(--orange); color: var(--wine); padding: 0 6px; border-radius: 99px; font-size: 12px; margin-left: 2px; }
.logout { margin-left: auto; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.page { max-width: 1240px; margin: 0 auto; padding: 22px 20px 64px; display: grid; gap: 16px; }
.page > * { margin-block: 0; min-width: 0; }
.ok, .err { padding: 10px 14px; border-radius: 8px; margin: 0; font-weight: 600; }
.ok { background: var(--green-bg); color: var(--green); }
.err { background: var(--red-bg); color: var(--red); }
.empty, .hint { color: var(--muted); margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; margin: 0; }
fieldset.card { display: grid; gap: 12px; }
legend { font-weight: 700; font-size: 16px; padding: 0 6px; }
.scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tbl { border-collapse: collapse; width: 100%; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--green-bg); color: var(--green); }
.pill-off { background: var(--red-bg); color: var(--red); }
.inline { display: flex; gap: 6px; align-items: center; }
.inline select { width: auto; min-width: 104px; padding: 6px 8px; font-size: 13px; }
.inline input { padding: 6px 8px; font-size: 13px; min-width: 130px; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.danger summary { cursor: pointer; color: var(--red); font-size: 13px; padding: 6px 2px; }
.danger form { display: grid; gap: 6px; margin-top: 6px; min-width: 190px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; align-items: end; }
.suffix { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 500; }
.stack { display: grid; gap: 16px; }
.plans-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.invite { background: #FFF1E6; border: 1px solid #F8C9A3; border-radius: 12px; padding: 18px; }
.invite p { margin: 0 0 10px; }
.copy { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.login-page { background: var(--wine); min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { background: #fff; color: var(--ink); width: min(420px, 100%); border-radius: 14px; padding: 26px; display: grid; gap: 14px; }
.login .brand { color: var(--ink); }
.login h1 { font-size: 21px; margin: 0 0 4px; }
.login form { display: grid; gap: 12px; }
.login p { margin: 0; }
.secret { font: 700 17px/1.5 ui-monospace, Menlo, monospace; background: var(--mist); padding: 10px 12px; border-radius: 8px; word-break: break-word; }
.pill-warn { background: #FFF1E6; color: #A84B00; }
.pill-free { background: var(--line); color: var(--muted); }
a.pill { text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.facts small { display: block; color: var(--muted); font-size: 13px; }
.facts b { font-size: 22px; }
.pay { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 6px; min-width: 280px; }
.pay input, .pay select { padding: 6px 8px; font-size: 13px; }
.pay-months { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.pay-months input { width: 58px; }
.forgot summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.forgot p { margin-top: 6px; font-size: 13px; }
button.small.enter { background: var(--wine); color: #fff; box-shadow: none; }
button.small.enter:hover { background: var(--wine-2); }
