/* Red Mammoth panel — shared tokens, matching the public site's palette. */
:root {
  --color-navy: #14213D;
  --color-navy-light: #1A2A47;
  --color-navy-dark: #101B33;
  --color-oxblood: #6E1D26;
  --color-gold: #C4A35A;
  --color-cream: #F6F2E8;
  --color-slate: #6E7A8A;
  --text-70: rgba(246, 242, 232, .7);
  --text-82: rgba(246, 242, 232, .82);
  --font-body: 'Vazirmatn', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-heading: 'Noto Naskh Arabic', 'Lora', Georgia, serif;
  --good: #2E9E63;
  --bad: #D9534F;
}

* { box-sizing: border-box }
[hidden] { display: none !important } /* must win over .field/.btn's own display, or JS-toggled hidden fields leak through */
html, body { height: 100% }
body {
  margin: 0; direction: rtl; background: var(--color-navy); color: var(--color-cream);
  font-family: var(--font-body); line-height: 1.8;
}
a { color: inherit }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 13px 20px; cursor: pointer; width: 100%;
}
.btn-primary { background: var(--color-oxblood); color: var(--color-cream) }
.btn-primary:disabled { opacity: .55; cursor: not-allowed }
.btn-outline { background: transparent; border: 1px solid var(--color-gold); color: var(--color-cream) }
.btn-link { background: none; border: 0; color: var(--color-gold); font-family: inherit; cursor: pointer; padding: 0; font-size: 13.5px }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px }
.field label { font-size: 13.5px; color: var(--text-82) }
.field input {
  background: var(--color-navy-dark); border: 1px solid rgba(196,163,90,.5); border-radius: 10px;
  color: var(--color-cream); font-family: inherit; font-size: 15px; padding: 12px 14px;
}
.field input:focus { outline: 2px solid var(--color-gold); outline-offset: 1px }

.notice { font-size: 13px; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; display: none }
.notice.show { display: block }
.notice--error { background: rgba(217,83,79,.15); color: #F3A6A3; border: 1px solid rgba(217,83,79,.4) }
.notice--info { background: rgba(196,163,90,.14); color: var(--color-gold); border: 1px solid rgba(196,163,90,.4) }
.notice--dev { background: rgba(46,158,99,.12); color: #7FD8A5; border: 1px dashed rgba(46,158,99,.5); font-family: ui-monospace, monospace }

.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-inline-end: 6px }
.status-dot.active { background: var(--good) }
.status-dot.inactive { background: var(--bad) }
