* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, sans-serif;
  background: #f5f6f8;
  color: #0f172a;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  background: #111827;
  color: #fff;
  padding: 16px 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.session-info {
  font-size: 14px;
  opacity: 0.8;
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-logout {
  margin: 0;
  padding: 6px 12px;
  font-size: 13px;
  background: #ef4444;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.btn-logout.hidden {
  display: none;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.card.hidden {
  display: none;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

h2 {
  font-size: 18px;
}

label {
  display: block;
  margin: 12px 0 6px;
  font-size: 14px;
  color: #334155;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 18px;
}

button {
  margin-top: 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.btn-secondary {
  background: #10b981;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

th {
  background: #f8fafc;
  font-weight: 600;
}

.muted {
  color: #94a3b8;
  text-align: center;
}

/* Navigation styles moved to navigation.css */

@media (max-width: 640px) {
  .topbar .container {
    flex-direction: column;
    gap: 6px;
  }
}
