* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #020617;
  color: #e5e7eb;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* LOGIN */

.auth-card {
  max-width: 380px;
  margin: 80px auto;
  padding: 28px 24px 32px;
  background: #020617;
  border-radius: 16px;
  border: 1px solid #1f2937;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.logo {
  width: 72px;
  margin-bottom: 16px;
}

.auth-card h1 {
  font-size: 24px;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: left;
  font-size: 13px;
  margin-bottom: 10px;
}

input, select {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
}

.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.btn.primary {
  background: #facc15;
  color: #111827;
}

.btn.primary:hover {
  background: #fde047;
}

.btn.secondary {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

.error-msg {
  color: #f97373;
  font-size: 13px;
  margin-top: 8px;
}

/* DASHBOARD */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #111827;
  background: #020617cc;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-small {
  width: 40px;
  margin-right: 10px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.badge {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.main-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px);
}

/* SIDEBAR */

.sidebar {
  border-right: 1px solid #111827;
  padding: 16px;
  background: #020617;
}

.nav-btn {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 14px;
}

.nav-btn.active {
  background: #111827;
  color: #f9fafb;
}

/* PANELS */

.panel-container {
  padding: 20px 22px 40px;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.panel > p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.card {
  margin-top: 10px;
  padding: 16px 16px 18px;
  border-radius: 12px;
  border: 1px solid #111827;
  background: #020617;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.status-msg {
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.8;
}

.admin-list {
  list-style: none;
  margin-top: 8px;
  font-size: 13px;
}

.admin-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #111827;
}
