:root {
  color-scheme: light;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

.site-header {
  background: #1f2933;
  color: #fff;
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

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

.site-header nav a {
  margin-left: 1rem;
  font-weight: 500;
}

.site-footer {
  background: #111827;
  color: #cbd5f5;
  padding: 1rem 0;
}

.panel {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: end;
}

.form-grid button {
  height: 2.5rem;
}

.stacked-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea,
button {
  font: inherit;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #cbd5e0;
}

textarea {
  resize: vertical;
}

button,
.button {
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.button.secondary {
  background: #e2e8f0;
  color: #111827;
}

.button.danger,
button.danger {
  background: #dc2626;
  color: #fff;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.notice {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.gig-map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d1d5db;
}

#gig-map {
  height: 360px;
  width: 100%;
}

.notice.error {
  background: #fee2e2;
  border-color: #fecaca;
}

.muted {
  color: #6b7280;
  margin-top: 0.25rem;
}

.gig-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gig-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.gig-item:last-child {
  border-bottom: none;
}

.gig-meta {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0.3rem 0 0.6rem;
}

.muted a,
.actions .muted {
  color: #6b7280;
  text-decoration: none;
}

.hidden {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem;
  text-align: left;
}

.admin-actions a {
  margin-right: 0.5rem;
}

.chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  margin-right: 0.5rem;
  text-decoration: none;
  color: #1f2937;
}

.chip-active {
  background: #2563eb;
  color: #fff !important;
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  .site-header nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .site-header .container {
    display: flex;
    flex-direction: column;
  }
}
