/* ============================================================
   master-saytu-eval : feuille de style minimale
   ============================================================ */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  font-size: 14px;
}
.header {
  background: #1e293b;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #1976d2;
}
.header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.header nav a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 18px;
  font-size: 13px;
}
.header nav a:hover { color: #fff; }
.container {
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 16px;
}
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1976d2;
  border-radius: 5px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.card h6 {
  margin: 0 0 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.col { flex: 1 1 220px; }
label {
  display: block;
  font-size: 12px;
  color: #475569;
  margin-bottom: 4px;
  font-weight: 500;
}
input[type=text], input[type=password], input[type=url], input[type=email], input[type=color], textarea, select {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #1e293b;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: #1976d2; }
textarea { min-height: 60px; resize: vertical; }
.color-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.color-row input[type=color] {
  width: 38px;
  height: 32px;
  padding: 2px;
  cursor: pointer;
}
.color-row input[type=text] {
  flex: 1;
  font-family: monospace;
}
.btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: #1976d2; color: #fff; }
.btn-primary:hover { background: #1565c0; }
.btn-danger  { background: #dc2626; color: #fff; }
.btn-danger:hover  { background: #b91c1c; }
.btn-ghost   { background: #f1f5f9; color: #1e293b; border: 1px solid #cbd5e1; }
.btn-ghost:hover { background: #e2e8f0; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.flash {
  padding: 10px 14px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 13px;
}
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
table.list {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.list th, table.list td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
table.list th {
  background: #f1f5f9;
  font-weight: 600;
  color: #475569;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
table.list tr:hover td { background: #f8fafc; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}
.badge-ok    { background: #dcfce7; color: #166534; }
.badge-off   { background: #fee2e2; color: #991b1b; }
.logo-thumb {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: #fff;
}
.code-cell { font-family: monospace; font-size: 12px; color: #475569; }
.muted { color: #94a3b8; font-size: 12px; }
.actions a { margin-right: 6px; }
.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}
.preview-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: #fff;
  padding: 4px;
}
.empty {
  text-align: center;
  padding: 30px 10px;
  color: #94a3b8;
  font-size: 13px;
}
