/* admin/admin.css — ORMAN yönetim paneli */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root{
  --bg:#0f1512; --panel:#161d19; --panel-2:#1d2620; --line:rgba(255,248,231,.12);
  --text:#f3efe6; --dim:rgba(243,239,230,.62); --soft:rgba(243,239,230,.4);
  --accent:#ffb785; --accent-d:#ff9c6a; --green:#46c98b; --red:#ff6b6b;
  --sans:'Outfit',system-ui,-apple-system,sans-serif;
}
body{ font-family:var(--sans); background:var(--bg); color:var(--text); line-height:1.5; -webkit-font-smoothing:antialiased; }
a{ color:var(--accent); text-decoration:none; }

/* Login / setup card */
.auth-wrap{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; }
.auth-card{ width:100%; max-width:380px; background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:34px 30px; box-shadow:0 20px 60px rgba(0,0,0,.4); }
.auth-card .brand{ font-size:22px; font-weight:700; letter-spacing:.32em; text-align:center; }
.auth-card .brand small{ display:block; letter-spacing:.14em; font-size:11px; font-weight:400; color:var(--soft); margin-top:8px; text-transform:uppercase; }
.auth-card h1{ font-size:16px; font-weight:600; margin:26px 0 4px; }
.auth-card .hint{ font-size:13px; color:var(--dim); margin-bottom:22px; }

label{ display:block; font-size:12px; color:var(--dim); margin:14px 0 6px; font-weight:500; }
input[type=text],input[type=email],input[type=password],input[type=url],textarea,select{
  width:100%; background:var(--panel-2); border:1px solid var(--line); border-radius:9px;
  color:var(--text); font:inherit; font-size:14px; padding:10px 12px; outline:none; }
input:focus,textarea:focus,select:focus{ border-color:var(--accent); }
textarea{ min-height:90px; resize:vertical; line-height:1.55; }

.btn{ display:inline-flex; align-items:center; gap:8px; border:0; cursor:pointer; font:inherit; font-weight:600;
  font-size:14px; padding:11px 18px; border-radius:9px; background:var(--accent); color:#241a12; transition:filter .15s; }
.btn:hover{ filter:brightness(1.08); }
.btn.block{ width:100%; justify-content:center; }
.btn.ghost{ background:transparent; border:1px solid var(--line); color:var(--text); }
.btn.ghost:hover{ background:var(--panel-2); filter:none; }
.btn.sm{ padding:7px 12px; font-size:12.5px; border-radius:7px; }
.btn.danger{ background:transparent; border:1px solid rgba(255,107,107,.4); color:var(--red); }
.btn.danger:hover{ background:rgba(255,107,107,.1); }

.flash{ padding:11px 14px; border-radius:9px; font-size:13.5px; margin-bottom:18px; }
.flash.err{ background:rgba(255,107,107,.12); border:1px solid rgba(255,107,107,.35); color:#ffb3b3; }
.flash.ok{ background:rgba(70,201,139,.12); border:1px solid rgba(70,201,139,.35); color:#a7e9c9; }

/* App shell */
.topbar{ position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; background:rgba(15,21,18,.9); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.topbar .brand{ font-weight:700; letter-spacing:.24em; font-size:15px; }
.topbar .brand span{ color:var(--accent); }
.topbar .actions{ display:flex; gap:10px; align-items:center; }
.topbar .saved{ font-size:12.5px; color:var(--soft); }

.layout{ display:flex; max-width:1100px; margin:0 auto; gap:0; }
.tabs{ position:sticky; top:57px; align-self:flex-start; width:200px; flex:none; padding:22px 12px; }
.tabs a{ display:block; padding:9px 13px; border-radius:8px; font-size:13.5px; color:var(--dim); font-weight:500; }
.tabs a:hover{ background:var(--panel); color:var(--text); }
.tabs a.active{ background:var(--panel); color:var(--accent); }
.content{ flex:1; min-width:0; padding:22px 24px 80px; }

.card{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:22px 22px; margin-bottom:18px; }
.card h2{ font-size:15px; font-weight:600; margin-bottom:4px; }
.card .sub{ font-size:12.5px; color:var(--soft); margin-bottom:16px; }
.sect-title{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--soft); font-weight:600;
  margin:24px 0 10px; padding-bottom:8px; border-bottom:1px solid var(--line); }
.sect-title:first-child{ margin-top:0; }

.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:680px){ .grid2{ grid-template-columns:1fr; } .layout{ flex-direction:column; } .tabs{ width:100%; position:static; display:flex; flex-wrap:wrap; gap:6px; } }
.field-row{ margin-bottom:2px; }
.help{ font-size:11.5px; color:var(--soft); margin-top:4px; }

/* Repeating item blocks (collection, timeline, steps...) */
.item{ background:var(--panel-2); border:1px solid var(--line); border-radius:11px; padding:16px; margin-bottom:12px; position:relative; }
.item .item-hd{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.item .item-hd b{ font-size:12.5px; color:var(--dim); font-weight:600; letter-spacing:.04em; }
.thumb{ width:100%; height:120px; object-fit:cover; border-radius:8px; border:1px solid var(--line); margin-top:8px; background:#0c100e; }
.imgrow{ display:flex; gap:8px; align-items:center; }
.imgrow input{ flex:1; }

/* Messages */
.msg{ background:var(--panel); border:1px solid var(--line); border-radius:11px; padding:16px 18px; margin-bottom:12px; }
.msg .meta{ display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; color:var(--soft); margin-bottom:8px; }
.msg .meta b{ color:var(--text); font-weight:600; }
.msg .body{ font-size:14px; color:var(--dim); white-space:pre-wrap; line-height:1.6; }
.empty{ text-align:center; color:var(--soft); padding:60px 20px; font-size:14px; }
