.admin-body {
  background: #130803;
  min-height: 100vh;
}
.admin-header {
  height: 64px;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #211006;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-header strong,
.admin-brand {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.admin-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  min-width: 0;
  flex-shrink: 1;
}
.admin-brand .brand-logo {
  max-width: min(32vw, 360px);
  max-height: 54px;
}
.admin-header nav {
  display: flex;
  gap: 18px;
}
.admin-header a {
  color: #f6eadc;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}
.admin-container {
  width: min(1100px, calc(100% - 32px));
  margin: 40px auto;
}
.admin-container.narrow {
  max-width: 820px;
}
.admin-container h1,
.login-card h1 {
  font-family:
    Bebas Neue,
    sans-serif;
  color: var(--orange);
  font-size: 46px;
  letter-spacing: 1px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #211006;
  border: 1px solid var(--line);
}
.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color:white;
}
.admin-table th {
  color: var(--orange);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.admin-table a {
  color: #f6eadc;
}
.admin-form,
.login-card {
  background: #211006;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.admin-form label,
.login-card label {
  display: block;
  color: #caa98e;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.admin-form input,
.admin-form select,
.admin-form textarea,
.login-card input {
  width: 100%;
  margin-top: 8px;
  background: #130803;
  border: 1px solid var(--line);
  color: #f6eadc;
  padding: 12px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.admin-form textarea {
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.admin-panel-soft {
  margin: 24px 0;
  padding: 20px;
  background: #1a0b04;
  border: 1px solid var(--line);
}
.admin-panel-soft h2 {
  margin-top: 0;
  color: var(--orange);
}
.admin-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.admin-section-heading p {
  color: #caa98e;
  margin: 4px 0 0;
}
.btn-secondary {
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
}
@media (max-width: 680px) {
  .form-grid,
  .form-grid--three {
    grid-template-columns: 1fr;
  }
  .admin-section-heading {
    display: block;
  }
  .admin-section-heading .btn {
    display: inline-block;
    margin-top: 12px;
  }
}
.check {
  display: flex !important;
  gap: 10px;
  align-items: center;
}
.check input {
  width: auto !important;
}
.login-card {
  width: min(420px, calc(100% - 32px));
  margin: 100px auto;
}
.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 800;
}
.login-brand .brand-logo {
  max-width: min(100%, 360px);
  max-height: 110px;
}
.error {
  background: #3b100b;
  color: #ffd0c8;
  padding: 12px;
  border: 1px solid #7a291f;
}
.notice {
  background: #3b220a;
  border: 1px solid var(--orange);
  padding: 16px;
  margin-top: 20px;
  color: #f6eadc;
}
.detail-page {
  padding-bottom: 70px;
}
.detail-hero {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 8, 3, 0.25), #130803);
}
.detail-card {
  margin-top: -80px;
  position: relative;
  background: #211006;
  border: 1px solid var(--line);
  padding: 30px;
}
.detail-card h1 {
  font-family:
    Bebas Neue,
    sans-serif;
  font-size: 58px;
  color: var(--orange);
  margin: 14px 0;
}
.detail-card h2 {
  font-family:
    Bebas Neue,
    sans-serif;
  font-size: 32px;
  margin-top: 28px;
}
.badges.static {
  position: static;
}
.description.big {
  font-size: 16px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-table {
    font-size: 12px;
  }
  .admin-header {
    display: block;
    height: auto;
    padding: 16px;
  }
  .admin-header nav {
    margin-top: 12px;
    flex-wrap: wrap;
  }
  .admin-brand .brand-logo {
    max-width: min(100%, 360px);
    max-height: 54px;
  }
}

.admin-notice {
  background: rgba(225, 118, 30, 0.14);
  border: 1px solid rgba(225, 118, 30, 0.45);
  color: #f4d4a4;
  padding: 12px 14px;
  border-radius: 10px;
  margin: 0 0 18px;
}

.admin-panel-soft {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(142, 82, 28, 0.28);
  background: rgba(244, 212, 164, 0.12);
  border-radius: 14px;
}
.admin-panel-soft h2 {
  margin: 0 0 8px;
  color: #f4d4a4;
  letter-spacing: 0.04em;
}
.admin-panel-soft .help {
  margin-top: 8px;
  color: rgba(244, 212, 164, 0.7);
  font-size: 0.9rem;
}
.check.danger {
  color: #f0a15b;
}
