:root {
  --primary: #1b2a4e;
  --secondary: #1f7a4f;
  --accent: #2d6cdf;
  --light: #f5f7fb;
  --muted: #6b7a90;
  --border: #e0e6f0;
  --danger: #e45858;
  --radius: 14px;
  --shadow: 0 16px 35px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}

body.adminface-theme {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Inter", system-ui, -apple-system, sans-serif;
  background: #eef2f7;
  color: var(--primary);
}

body.adminface-theme h1,
body.adminface-theme h2,
body.adminface-theme h3 {
  margin: 0 0 12px;
}

body.adminface-theme .topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: linear-gradient(135deg, #1f7a4f, #2e9c68);
  color: #fff;
}

body.adminface-theme .card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 18px;
}

body.adminface-theme .btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.adminface-theme .btn.primary { background: var(--secondary); color: #fff; }
body.adminface-theme .btn.ghost { background: #f3f5f8; color: var(--primary); border: 1px solid var(--border); }
body.adminface-theme .btn.danger { background: var(--danger); color: #fff; }

body.adminface-theme input,
body.adminface-theme select,
body.adminface-theme textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.95rem;
}

body.adminface-theme label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--muted);
}

body.adminface-theme table {
  width: 100%;
  border-collapse: collapse;
}

body.adminface-theme th,
body.adminface-theme td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

body.adminface-theme th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.adminface-theme .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

body.adminface-theme .status {
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  display: none;
}

body.adminface-theme .status.success { background: #eaf7ee; color: #2b9348; }
body.adminface-theme .status.error { background: #fdecec; color: #d62828; }
body.adminface-theme .status.info { background: #eef3fb; color: #1b4d89; }

body.adminface-theme .layout {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 20px 40px;
}
