* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #111827;
  border-bottom: 1px solid #1f2937;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.container {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 16px;
}

.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0 0 4px 0;
}

h1 {
  margin: 0;
  font-size: 28px;
}

.status {
  padding: 8px 12px;
  border-radius: 8px;
  background: #1f2937;
  color: #cbd5e1;
  border: 1px solid #27303f;
  min-width: 200px;
}

.status.success { border-color: #22c55e; color: #bbf7d0; }
.status.error { border-color: #ef4444; color: #fecdd3; }

.form {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  color: #cbd5e1;
}

input, select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background: #0b1221;
  color: #e2e8f0;
  font-size: 16px;
}

input[readonly] {
  background: #0f172a;
  color: #94a3b8;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

button.primary {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #f8fafc;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

button.primary:hover {
  filter: brightness(1.05);
}

.meta {
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 600px) {
  .card { padding: 16px; }
  h1 { font-size: 22px; }
}

.hidden {
 display: none !important;
}

.admin-table {
 width: 100%;
 border-collapse: collapse;
 margin-top: 16px;
}

.admin-table th, .admin-table td {
 text-align: left;
 padding: 12px;
 border-bottom: 1px solid #1f2937;
}

.admin-table th {
 color: #94a3b8;
 font-size: 14px;
 font-weight: 600;
}

.btn-delete {
 background: #ef4444;
 color: white;
 border: none;
 padding: 6px 12px;
 border-radius: 4px;
 cursor: pointer;
 font-size: 12px;
}

.btn-delete:hover {
 background: #dc2626;
}


.btn-logout {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid #374151;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: #1f2937;
  color: #e2e8f0;
  border-color: #4b5563;
}

