/* Elektronická kniha jázd §85n */

body {
  background-color: #f8f9fa;
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

/* Compact table for ride list */
.table-sm td, .table-sm th {
  padding: 0.4rem 0.5rem;
}

/* Form labels */
.form-label.fw-medium {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* Card styles */
.card {
  border-radius: 0.5rem;
}

/* Badge for record numbers */
.badge.bg-secondary {
  font-size: 0.8rem;
  min-width: 2rem;
}

/* Footer */
.footer {
  font-size: 0.8rem;
}

/* Sticky table header */
.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8f9fa;
}

/* Validation warning highlight */
textarea:focus.purpose-field,
input:focus.required-field {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Print styles for reports */
@media print {
  .navbar, .footer, .btn, form { display: none !important; }
  .card { border: 1px solid #dee2e6 !important; box-shadow: none !important; }
  .table { font-size: 0.75rem; }
}
