.admin-main {
  max-width: 1200px;
  margin: 30px auto 80px;
  padding: 0 6%;
}
.login-panel {
  max-width: 480px;
  margin: 70px auto;
}
.login-panel h1 {
  font-size: 60px;
}
.login-panel p,
.login-panel li {
  font-size: 13px;
  line-height: 1.8;
}
.login-panel li {
  margin: 12px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 30px 0;
}
.stats div {
  background: #e7ecdf;
  border-radius: 8px;
  padding: 22px;
}
.stats strong {
  display: block;
  font: 32px Outfit;
  margin-bottom: 8px;
}
.stats span {
  font-size: 11px;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar input {
  flex: 1;
  min-width: 180px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
}
button:not(.primary):not(.text-button) {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 15px;
  border-radius: 5px;
  color: var(--ink);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #eeeede;
}
td,
th {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
td small {
  display: block;
  color: #7a8279;
  margin-top: 5px;
}
td:first-child {
  min-width: 230px;
}
td img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  float: left;
  margin-right: 12px;
  border-radius: 5px;
}
td:last-child {
  min-width: 180px;
}
td button {
  margin: 2px;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
}
.check input {
  width: auto;
  margin: 0;
}
#imagePreview {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin-top: 20px;
}
#adminStatus,
#editorStatus,
#loginStatus,
#passwordStatus {
  font-size: 12px;
  line-height: 1.7;
}
.text-button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid;
  color: var(--ink);
  font-size: 12px;
  margin-top: 18px;
  padding: 5px 0;
}
#logout {
  font-size: 11px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats div {
    padding: 15px;
  }
  .section-heading {
    gap: 10px;
  }
  .login-panel {
    margin: 35px auto;
  }
  .admin-main {
    padding: 0 5%;
  }
}
/* Back office: shared brand, quiet workspace. */
:root {
  --paper: #f5f6fa;
  --ink: #1c2130;
  --orange: #c62630;
  --line: #d6dce5;
}
body {
  font-family: "Work Sans", Arial, sans-serif;
}
h1,
h2,
h3 {
  font-family: "Work Sans", Arial, sans-serif;
}
.logo {
  font-family: "Barlow Condensed", Arial, sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.logo small {
  font-family: "Work Sans", Arial, sans-serif;
}
.primary {
  background: #c62630;
  font-size: 13px;
  min-height: 46px;
}
.admin-main .stats div {
  background: #fff;
  border: 1px solid #d6dce5;
}
.stats strong {
  font-family: "Work Sans", Arial, sans-serif;
}
th {
  background: #e8edf4;
}
.toolbar button {
  min-height: 44px;
}
.toolbar input {
  background: white;
}
form input,
form textarea,
form select {
  background: white;
  font-size: 15px;
  min-height: 44px;
}
form label {
  font-size: 13px;
}
td,
th {
  font-size: 13px;
}
button {
  min-height: 44px;
}
#editor {
  border: 1px solid #ccd2df;
}
.check input {
  min-height: 18px;
}
.table-wrap {
  background: white;
  border: 1px solid #d6dce5;
  border-radius: 6px;
}
.login-panel p {
  font-size: 14px;
}
header {
  border-bottom: 1px solid #d6dce5;
  background: white;
  max-width: none;
  padding: 25px 6%;
  height: auto;
}
.admin-brand img{display:block;width:170px;height:auto}.admin-brand small{font-size:10px;letter-spacing:2px;margin-top:8px}
