/**
 * NAC Portal — shared admin UI (staff chrome).
 * Loaded after dist/styles.css. Safe against purged Tailwind gaps.
 */

:root {
  --admin-bg: #17191c;
  --admin-panel: #21252b;
  --admin-panel-deep: #14171b;
  --admin-border: #3a4048;
  --admin-border-strong: #4a515b;
  --admin-text: #d8dce2;
  --admin-text-strong: #f3f4f6;
  --admin-muted: #8b929c;
  --admin-blue: #2f6fed;
  --admin-blue-soft: #6b93e8;
  --admin-ok: #2a9a6a;
  --admin-danger: #c23b3b;
  --admin-warn: #c9a227;
}

html {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

body.min-h-screen,
body.page-transition,
body.login-page {
  background-color: var(--admin-bg) !important;
  background-image:
    linear-gradient(180deg, #1c1f24 0%, #17191c 42%, #141618 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--admin-text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

/* —— Shell / panel —— */
.admin-shell,
.guest-shell {
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: none;
  color: var(--admin-text);
}

.admin-header,
.guest-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  background: var(--admin-panel-deep);
  border-bottom: 1px solid var(--admin-border);
  border-left: 3px solid var(--admin-blue);
}

.admin-header-icon,
.guest-header-icon,
.login-icon {
  display: none !important;
}

.admin-header h1,
.guest-header h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--admin-text-strong);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.admin-header p,
.guest-header p {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--admin-muted);
  line-height: 1.4;
}

.admin-panel,
.guest-panel {
  padding: 1.15rem;
  background: var(--admin-panel);
}

.admin-header-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

/* —— Nav tweaks —— */
.nav .btn-danger,
.nav button.btn-danger {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.nav .btn-secondary.btn-sm,
.nav #autoRefreshBtn {
  padding: 0.4rem 0.7rem;
  font-size: 0.8125rem;
  background: #3d434c;
  color: #fff;
  border: 1px solid var(--admin-border);
  border-radius: 4px;
  cursor: pointer;
}
.nav #autoRefreshBtn:hover {
  background: #32373f;
}

/* —— Forms / inputs (harden against white fallbacks) —— */
.field-label,
.guest-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: #c5cad1 !important;
  margin-bottom: 0.35rem;
}
.field-label .req,
.guest-field-label .req { color: #d46565; }
.field-label .opt,
.guest-field-label .opt {
  font-weight: 400;
  color: var(--admin-muted);
}
.field-hint,
.guest-field-hint {
  font-size: 0.75rem;
  color: var(--admin-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.field-input,
.guest-input,
.input,
.admin-shell input[type="text"],
.admin-shell input[type="password"],
.admin-shell input[type="search"],
.admin-shell input[type="email"],
.admin-shell input[type="datetime-local"],
.admin-shell select,
.admin-shell textarea,
.guest-shell input[type="text"],
.guest-shell input[type="password"],
.guest-shell input[type="datetime-local"],
.guest-shell select,
.guest-shell textarea,
.filter-bar input[type="text"],
.filter-bar select,
.login-shell input[type="text"],
.login-shell input[type="password"],
#custom_unregdate,
.credential-box input[type="text"],
.credential-box input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--admin-border-strong) !important;
  border-radius: 4px;
  background-color: #1f2937 !important;
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6;
  caret-color: #f3f4f6;
  font-size: 0.875rem;
  line-height: 1.35;
  outline: none;
  font-family: inherit;
}

.field-input::placeholder,
.guest-input::placeholder,
.input::placeholder,
.filter-bar input::placeholder,
.login-shell input::placeholder,
#custom_unregdate::placeholder {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280;
  opacity: 1;
}

.field-input:focus,
.guest-input:focus,
.input:focus,
.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus,
.guest-shell input:focus,
.guest-shell select:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.login-shell input:focus,
#custom_unregdate:focus,
.credential-box input:focus {
  border-color: var(--admin-blue) !important;
  box-shadow: none;
}

.field-input:-webkit-autofill,
.guest-input:-webkit-autofill,
.input:-webkit-autofill,
.login-shell input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1f2937 inset !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  caret-color: #f3f4f6;
  transition: background-color 99999s ease-in-out 0s;
}

select.field-input,
.filter-bar select,
.admin-shell select {
  appearance: auto;
  cursor: pointer;
}

/* —— Buttons (flat) —— */
.btn-primary,
.guest-btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 4px;
  font-weight: 550;
  font-size: 0.875rem;
  border: 1px solid #2458c4;
  background: var(--admin-blue);
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary:hover,
.guest-btn-blue:hover {
  background: #275fd4;
}

.btn-secondary,
.guest-btn-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 4px;
  font-weight: 550;
  font-size: 0.875rem;
  border: 1px solid var(--admin-border);
  background: #3d434c;
  color: #f3f4f6 !important;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary:hover,
.guest-btn-gray:hover { background: #32373f; }

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  font-weight: 550;
  font-size: 0.875rem;
  border: 1px solid #9a2e2e;
  background: var(--admin-danger);
  color: #fff !important;
  cursor: pointer;
}
.btn-danger:hover { background: #a83333; }

.btn-emerald,
.guest-btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 4px;
  font-weight: 550;
  font-size: 0.875rem;
  border: 1px solid #1f7a54;
  background: var(--admin-ok);
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}
.btn-emerald:hover,
.guest-btn-emerald:hover {
  background: #24875c;
}

.guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 4px;
  font-weight: 550;
  font-size: 0.875rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

/* —— Alerts —— */
.admin-alert,
.guest-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 0 4px 4px 0;
  border-left: 3px solid;
}
.admin-alert-ok,
.guest-alert-ok {
  background: #1a3d2c;
  border-color: var(--admin-ok);
  color: #c8ecd8;
}
.admin-alert-ok .admin-alert-sub,
.guest-alert-ok .guest-alert-sub {
  color: #a8d4bc;
  font-size: 0.8125rem;
  margin: 0.2rem 0 0;
}
.admin-alert-err,
.guest-alert-err {
  background: #3d1c1c;
  border-color: var(--admin-danger);
  color: #f0c8c8;
}
.admin-alert-warn,
.guest-alert-warn {
  background: #3a3218;
  border-color: var(--admin-warn);
  color: #ead89a;
  font-size: 0.8125rem;
}

/* —— Stat cards / filter bar (All Devices) —— */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
@media (min-width: 768px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat-card {
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 5px;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--admin-blue);
  box-shadow: none;
  color: var(--admin-text);
}
.stat-card.stat-green { border-left-color: var(--admin-ok); }
.stat-card.stat-red { border-left-color: var(--admin-danger); }
.stat-card.stat-violet { border-left-color: #6b7c93; }
.stat-card.is-clickable { cursor: pointer; }
.stat-card.is-clickable:hover { border-color: var(--admin-border-strong); }

.stat-card-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.stat-card-left {
  display: block;
}
.stat-icon {
  display: none;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--admin-muted);
  margin: 0;
}
.stat-value {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--admin-text-strong);
  margin: 0.15rem 0 0;
  font-variant-numeric: tabular-nums;
}
.stat-filtered {
  text-align: right;
}
.stat-filtered .tiny {
  font-size: 0.7rem;
  color: var(--admin-muted);
  margin: 0;
}
.stat-filtered .num {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.1rem 0 0;
  font-variant-numeric: tabular-nums;
}
.stat-filtered .num.blue { color: var(--admin-blue-soft); }
.stat-filtered .num.green { color: #5cba8c; }
.stat-filtered .num.red { color: #d47a7a; }
.stat-filtered .num.violet { color: #9aa6b5; }

.filter-bar {
  padding: 0.95rem 1.15rem;
  background: #1b1f25;
  border-bottom: 1px solid var(--admin-border);
}
.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .filter-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.filter-actions {
  display: flex;
  align-items: flex-end;
}
.filter-actions .btn-secondary { width: 100%; }

.table-toolbar {
  padding: 0.7rem 1.15rem;
  background: var(--admin-panel);
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .table-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.table-toolbar #counter {
  font-size: 0.8125rem;
  color: var(--admin-muted);
  font-weight: 500;
}

/* —— Login —— */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}
.login-shell {
  width: 100%;
  max-width: 24rem;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 5px;
  box-shadow: none;
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--admin-blue);
}
.login-shell .login-brand {
  margin-bottom: 1.4rem;
}
.login-shell .login-brand-name {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--admin-muted);
}
.login-shell h1 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--admin-text-strong);
  letter-spacing: -0.02em;
}
.login-shell .login-sub {
  margin: 0.3rem 0 0;
  color: var(--admin-muted);
  font-size: 0.875rem;
}
.login-shell .login-form > * + * { margin-top: 0.9rem; }
.login-shell .btn-primary { width: 100%; padding: 0.6rem 1rem; }
.login-divider {
  display: flex;
  align-items: center;
  margin: 1.2rem 0;
  gap: 0.75rem;
  color: var(--admin-muted);
  font-size: 0.8125rem;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--admin-border);
}
.btn-sso {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 550;
  background: #3d434c;
  color: #fff !important;
  text-decoration: none;
  border: 1px solid var(--admin-border);
}
.btn-sso:hover { background: #4a515b; }
.login-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.7rem;
  color: #6b7280;
}

/* —— Guest-specific —— */
.guest-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .guest-form-row {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}
.guest-form > * + * { margin-top: 1rem; }

.pid-composer {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--admin-border-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--admin-panel-deep);
  min-height: 2.5rem;
}
.pid-composer:focus-within {
  border-color: var(--admin-blue);
}
.pid-composer .pid-affix {
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--admin-muted);
  background: var(--admin-panel);
  white-space: nowrap;
  user-select: none;
}
.pid-composer .pid-affix.prefix { border-right: 1px solid var(--admin-border); }
.pid-composer .pid-affix.domain { border-left: 1px solid var(--admin-border); }
.pid-composer .pid-number {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.4rem 0.35rem !important;
  box-shadow: none !important;
}
.pid-composer .pid-shuffle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  border: 0;
  border-left: 1px solid var(--admin-border);
  background: var(--admin-panel);
  color: var(--admin-muted);
  cursor: pointer;
}
.pid-composer .pid-shuffle:hover {
  color: var(--admin-blue-soft);
  background: #2a3038;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}
@media (min-width: 640px) {
  .duration-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.duration-option {
  display: block;
  margin: 0;
  cursor: pointer;
}
.duration-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.duration-option span.pill {
  display: block;
  text-align: center;
  padding: 0.4rem 0.25rem;
  border-radius: 3px;
  border: 1px solid var(--admin-border-strong);
  background: var(--admin-panel-deep);
  color: var(--admin-text);
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.2;
}
.duration-option input:checked + span.pill {
  background: #24365a;
  border-color: var(--admin-blue);
  color: #e8eefc;
}
.duration-option:hover span.pill {
  border-color: var(--admin-blue-soft);
}

.info-rail {
  border-left: 3px solid var(--admin-blue);
  background: var(--admin-panel-deep);
  border-radius: 0 4px 4px 0;
  padding: 0.65rem 0.8rem;
}
.info-rail h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #c5cad1;
}
.info-rail ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--admin-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.info-rail li + li { margin-top: 0.15rem; }
.info-rail strong { color: var(--admin-text); font-weight: 600; }

.guest-form-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .guest-form-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .guest-form-footer .guest-form-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
}
.guest-form-actions { margin-top: 0; }
.guest-form-actions .guest-btn { white-space: nowrap; }

.credential-box {
  background: var(--admin-panel-deep);
  border: 1px dashed var(--admin-border-strong);
  border-radius: 5px;
  padding: 0.95rem 1rem;
  margin-bottom: 1rem;
}
.credential-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.credential-box-head h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--admin-text-strong);
}
.cred-role {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--admin-blue-soft);
  border: 1px solid var(--admin-blue);
  background: #24365a;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}
.cred-once {
  font-size: 0.75rem;
  color: #e0c45a;
  margin: 0 0 0.7rem;
}
.cred-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: #c5cad1 !important;
  margin-bottom: 0.25rem;
}
.credential-box input {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  padding: 0.45rem 0.65rem;
  background-color: #1f2937 !important;
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6;
}
.cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 768px) {
  .cred-grid { grid-template-columns: 1fr 1fr; }
}
.cred-field-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cred-meta {
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
}
.cred-meta .cred-value {
  display: block;
  margin-top: 0.15rem;
  color: #f3f4f6;
  font-size: 0.875rem;
}
.guest-nodes {
  background: var(--admin-panel-deep);
  border: 1px solid var(--admin-border);
  border-radius: 5px;
  padding: 0.8rem;
  margin-bottom: 1rem;
}
.guest-nodes h4 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c5cad1;
}
.guest-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  background: var(--admin-panel);
  border-radius: 3px;
  font-size: 0.8125rem;
}
.guest-node-row + .guest-node-row { margin-top: 0.3rem; }
.guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.guest-btn-copy {
  flex-shrink: 0;
  padding: 0.4rem 0.55rem;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border-strong);
  color: var(--admin-blue-soft);
  border-radius: 3px;
  cursor: pointer;
}
.guest-btn-copy:hover {
  background: #2a3038;
  border-color: var(--admin-blue);
}
.guest-copy-all {
  margin-top: 0.65rem;
  width: 100%;
  padding: 0.4rem 0.8rem;
  background: #3d434c;
  border: 1px solid var(--admin-border);
  color: #f3f4f6;
  border-radius: 4px;
  font-size: 0.8125rem;
  cursor: pointer;
}
.guest-copy-all:hover { background: #4a515b; }
.guest-status-ok { color: #5cba8c; }
.guest-status-warn { color: #e0c45a; }
.guest-status-muted { color: var(--admin-muted); }
.guest-status-icon { margin-right: 0.3rem; }
.pid-status { margin-top: 0.4rem; font-size: 0.8125rem; }

.guest-list-wrap {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--admin-border);
}
.guest-list-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.guest-list-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--admin-text-strong);
}
.guest-list-count {
  font-size: 0.8rem;
  color: var(--admin-muted);
  font-variant-numeric: tabular-nums;
}
.guest-empty {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.875rem;
}
.guest-list-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .guest-list-filters { grid-template-columns: 1fr 10rem; }
}
.guest-table-scroll { overflow-x: auto; }
.guest-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.guest-table th {
  text-align: left;
  font-weight: 550;
  color: var(--admin-muted);
  border-bottom: 1px solid var(--admin-border);
  padding: 0.4rem 0.5rem;
  white-space: nowrap;
}
.guest-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
  color: var(--admin-text);
}
.guest-table td.mono,
.guest-table .mono {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}
.guest-row-actions {
  white-space: nowrap;
}
.guest-row-actions .guest-expire-form {
  display: inline;
  margin-left: 0.25rem;
}
.guest-btn-sm {
  padding: 0.28rem 0.55rem;
  font-size: 0.75rem;
}

/* —— Bulk import progress —— */
.progress-track {
  width: 100%;
  height: 0.5rem;
  background: var(--admin-panel-deep);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--admin-border);
}
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--admin-blue);
  transition: width 0.3s ease-in-out;
}

.card {
  background: var(--admin-panel) !important;
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: 5px;
  box-shadow: none;
}
