body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: #e6e8eb;
}

a {
  color: #60a5fa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* .button is an alias for .btn used in some templates */
.vault-bg {
  background: url("/static/img/vault-bg.png") center/cover no-repeat fixed;
}

.overlay {
  background: rgba(5, 8, 12, 0.85);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #1f2937;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-actions .current-user {
  font-size: 0.85rem;
}

.login-panel {
  max-width: 420px;
  margin: 4rem auto;
}

.logo {
  height: 48px;
}

.content {
  padding: 2rem;
  flex: 1;
}

.panel {
  background: #121923;
  padding: 1.5rem;
  border-radius: 6px;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
}
.users-table th, .users-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #1f2937;
  text-align: left;
}
.users-table tr.deactivated {
  opacity: 0.6;
}

.users-table tbody tr {
  transition: background 0.15s ease;
}

.users-table tbody tr.deactivated:hover {
  background: transparent;
}

.users-table .row-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.users-table .row-link:hover {
  text-decoration: underline;
}

.badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.badge.admin {
  background: #374151;
}
.badge.user {
  background: #1f2937;
}

.status.active {
  color: #4ade80;
}

.status.deactivated {
  color: #f87171;
}

.btn.danger, .danger.button {
  background: #8b1e1e;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}

.muted {
  color: #9aa3ad;
}

.footer {
  padding: 1rem 2rem;
  font-size: 0.8rem;
  color: #9aa3ad;
  border-top: 1px solid #1f2937;
}

/* -----------------------------
   Navigation
------------------------------ */
.nav {
  display: flex;
  gap: 0;
  padding: 0 2rem;
  border-bottom: 1px solid #1f2937;
  background: rgba(0, 0, 0, 0.2);
}

.nav-link {
  display: inline-block;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: #9aa3ad;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav-link:hover {
  color: #e6e8eb;
}
.nav-link.active {
  color: #e6e8eb;
  border-bottom-color: #8b1e1e;
}

/* -----------------------------
   Section headings (within panels)
------------------------------ */
.section-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #9aa3ad;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1f2937;
}

.error-container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}
.error-container h1 {
  color: #ff6b6b;
  margin-bottom: 1rem;
}
.error-container .actions {
  margin-top: 2rem;
}

/* -----------------------------
   Page headers
------------------------------ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.page-header h1, .page-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}

/* -----------------------------
   User detail table
------------------------------ */
.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table th,
.detail-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #1f2937;
  text-align: left;
}
.detail-table th {
  width: 30%;
  color: #9aa3ad;
  font-weight: 500;
}
.detail-table tr:last-child th,
.detail-table tr:last-child td {
  border-bottom: none;
}

/* -----------------------------
   Forms
------------------------------ */
.form {
  max-width: 480px;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: #9aa3ad;
}
.form-group input[type=text],
.form-group input[type=password] {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 4px;
  border: 1px solid #1f2937;
  background: #0b0f14;
  color: #e6e8eb;
}
.form-group input[type=text]:focus,
.form-group input[type=password]:focus {
  outline: none;
  border-color: #374151;
}
.form-group.checkbox {
  display: flex;
  align-items: center;
}
.form-group.checkbox label {
  margin: 0;
  color: #e6e8eb;
  font-weight: 500;
}
.form-group.checkbox input {
  margin-right: 0.5rem;
}

/* -----------------------------
   Actions row
------------------------------ */
.actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* -----------------------------
   Buttons
------------------------------ */
.btn, .button {
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}
.btn.primary, .primary.button {
  background: #374151;
  color: #e6e8eb;
}
.btn.secondary, .secondary.button {
  background: transparent;
  color: #9aa3ad;
  border: 1px solid #1f2937;
}

/* -----------------------------
   Flash messages
------------------------------ */
.flash-container {
  padding: 0.75rem 2rem 0;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.flash.success {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.flash.warning {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.flash.error {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.25);
}
.flash.info {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

/*# sourceMappingURL=admin.css.map */
