
/* main.css - styles responsive et admin pro */
:root{--accent:#ff7a18;--bg:#f7f8fa;--card:#ffffff;--muted:#666}
*{box-sizing:border-box;font-family:Inter,system-ui,Arial,Helvetica,sans-serif}
body{margin:0;background:var(--bg);color:#111;line-height:1.4;padding:18px}
.container{max-width:980px;margin:0 auto;padding:18px}
header.site-header{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,rgba(255,255,255,0.6),rgba(255,255,255,0.3));padding:12px;border-radius:10px;margin-bottom:18px;box-shadow:0 6px 18px rgba(15,15,15,0.04)}
.brand{display:flex;align-items:center;gap:12px}
.brand h1{font-size:18px;margin:0;color:var(--accent)}
.nav a{margin-left:10px;color:var(--muted);text-decoration:none;font-size:14px}
.form-card{background:var(--card);padding:14px;border-radius:10px;box-shadow:0 6px 18px rgba(15,15,15,0.04);margin-bottom:14px}
input[type=text],input[type=email],input[type=password],select,textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6e6e6;margin-top:6px;margin-bottom:10px}
button{background:var(--accent);color:white;border:none;padding:10px 14px;border-radius:8px;cursor:pointer}
button.secondary{background:#eee;color:#333}
#cavrh-auth-badge{background:var(--accent);color:#fff;padding:8px 10px;border-radius:8px;font-weight:600;box-shadow:0 6px 18px rgba(0,0,0,0.08)}
.table{width:100%;border-collapse:collapse;margin-top:8px}
.table th,.table td{padding:10px;border-bottom:1px solid #f0f0f0;text-align:left}
.small{font-size:13px;color:var(--muted)}
@media(max-width:720px){
  header.site-header{flex-direction:column;align-items:flex-start;gap:10px}
  .brand h1{font-size:16px}
}
.admin-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
pre.jsondump{background:#fafafa;border:1px solid #eee;padding:10px;border-radius:8px;overflow:auto}
