/* Basic admin panel styling */
:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#0b74de;
  --danger:#dc2626;
}
body{font-family:Inter, Roboto, Arial, Helvetica, sans-serif;background:var(--bg);color:#111;margin:0;padding:0}
.wrap{max-width:1100px;margin:28px auto;padding:20px}
.card{background:var(--card);border:1px solid #e6e9ef;border-radius:8px;padding:18px;box-shadow:0 1px 2px rgba(16,24,40,0.03)}
header.site{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
header.site h1{margin:0;font-size:1.25rem}
nav.admin-links a{margin-right:10px;color:var(--accent);text-decoration:none}
nav.admin-links a:hover{text-decoration:underline}
form.login-form{max-width:360px}
label{display:block;margin-bottom:8px;font-size:.95rem}
input[type=text],input[type=password],input[type=file],textarea,select{width:100%;padding:8px 10px;border:1px solid #d6d9e0;border-radius:6px;background:#fff}
button{background:var(--accent);color:#fff;border:none;padding:8px 12px;border-radius:6px;cursor:pointer}
button.secondary{background:#e6eefb;color:var(--accent)}
button.danger{background:var(--danger)}
table{width:100%;border-collapse:collapse}
td,th{padding:8px;border-bottom:1px solid #f1f3f6}
#editor{min-height:420px;border-radius:6px}
.muted{color:var(--muted)}
.msg{padding:8px;border-radius:6px;margin-top:8px}
.msg.ok{background:#ecfdf5;color:#065f46}
.msg.err{background:#fff1f2;color:#7f1d1d}
.flex{display:flex;gap:10px;align-items:center}
.small{font-size:.9rem}
.backups div{margin-bottom:8px}
.footer{margin-top:20px;color:var(--muted);font-size:.9rem}

@media (max-width:600px){.wrap{padding:12px;margin:12px}header.site{flex-direction:column;align-items:flex-start} }
