:root {
  --bg: #000;
  --panel: #0e1212;
  --accent: #ff7300;          /* your neon/orange */
  --accent2: #49ffd7;         /* optional turquoise */
  --muted: #a9b2b0;
  --border: #1f2524;
  --table-h: #121818;
}

body.dash-body {
  background: var(--bg);
  color: #fff;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a0a0a;
  border-bottom: 1px solid #141414;
  padding: 12px 20px;
}
.topbar-left h2 {
  margin: 0;
  font-size: 18px;
}
.topbar-left .subtitle {
  font-size: 11px;
  color: #888;
}
.link-orange {
  color: #fff;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}
.link-orange:hover {
  background: #ff9646;
  color: #000;
}

/* filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px 8px;
  background: transparent;
}
.filter-bar label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
}
.filter-bar input[type="date"],
.filter-bar select {
  background: #0b0f0f;
  border: 1px solid #2b3534;
  color: #fff;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 13px;
  margin-top: 3px;
}
.btn-primary {
  background: #74918D;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  height: 34px;
  align-self: flex-end;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent2);
  color: #000;
}

/* table */
.table-wrap {
  padding: 10px 20px 30px;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  background: #0d1111;
  border: 1px solid #171d1d;
  border-radius: 10px;
  overflow: hidden;
}
.history-table thead th {
  background: var(--table-h);
  color: var(--accent2);
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px;
  border-bottom: 1px solid #171d1d;
}
.history-table tbody td {
  padding: 9px 10px;
  border-bottom: 1px solid #121515;
  font-size: 13px;
}
.history-table tbody tr:hover {
  background: #151d1e;
}
.actions-col,
.actions-cell {
  white-space: nowrap;
  text-align: right;
}

/* action buttons */
.btn-small {
  background: #1d2323;
  color: #fff;
  border: 1px solid #2b3534;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  margin-left: 4px;
  cursor: pointer;
}
.btn-small:hover {
  background: var(--accent2);
  color: #000;
}
.btn-danger {
  background: #f86828;
  border-color: #f86828;
}
.btn-danger:hover {
  background: #c73812;
}

/* mobile */
@media (max-width: 900px) {
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .actions-cell {
    text-align: left;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
/* ===== AUTH PAGES (login / register) ===== */
.rx-auth-page {
  background: radial-gradient(circle, rgba(0,0,0,1) 0%, #000 65%, #000 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.rx-auth-panel {
  background: #0e1212;
  border: 1px solid rgba(255,115,0,0.35);  /* orange frame */
  box-shadow: 0 0 35px rgba(0,0,0,0.45);
  border-radius: 18px;
  width: min(420px, 92vw);
  padding: 28px 30px 30px;
}

.rx-auth-header {
  text-align: center;
  margin-bottom: 18px;
}

.rx-auth-logo {
  max-width: 360px;
  display: block;
  margin: 0 auto 10px;
}

.rx-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.rx-subtitle {
  margin: 3px 0 0;
  color: #b7c0bf;
  font-size: 12px;
}

.rx-auth-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
}

.rx-label {
  color: #e6e6e6;
  font-size: 12px;
}

.rx-input {
  background: #050707;
  border: 1px solid #1f2524;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.rx-input:focus {
  border-color: #ff7300;
  box-shadow: 0 0 0 2px rgba(255,115,0,0.25);
}

.rx-btn-primary {
  background: #ff7300;
  border: none;
  border-radius: 8px;
  padding: 9px 0;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
  cursor: pointer;
  transition: 0.15s ease-in-out;
}
.rx-btn-primary:hover {
  background: #ff9646;
  color: #000;
}

.rx-auth-footer {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #97a2a0;
}
.rx-link {
  color: #ff7300;
  text-decoration: none;
  margin-left: 4px;
}
.rx-link:hover {
  text-decoration: underline;
}

.rx-flash {
  background: rgba(255,115,0,0.12);
  border: 1px solid rgba(255,115,0,0.3);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.rx-auth-copy {
  color: #5d6664;
  font-size: 11px;
  text-align: center;
}
