body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
}

.topbar {
  background: #0f172a;
  color: #f9fafb;
  padding: 0.5rem 0;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.5);
}

.topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-title {
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.container {
  max-width: 900px;
  margin: 1.5rem auto;
  padding: 1.25rem 1rem 2rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

h1, h2, h3 {
  margin-top: 0;
  color: #111827;
}

button, .btn-marcaje {
  margin: 0.25rem;
  padding: 0.75rem 1.1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  background: #2563eb;
  color: #f9fafb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

button:hover, .btn-marcaje:hover {
  background: #1d4ed8;
}

button:active, .btn-marcaje:active {
  transform: scale(0.98);
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

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

table th {
  background: #f9fafb;
  font-weight: 600;
}

.flash-container {
  margin-bottom: 1rem;
}

.flash {
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.flash-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.flash-success {
  background: #dcfce7;
  color: #166534;
}
