/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import "flatpickr_custom.css";

/* Stable column widths for drivers table */
.table-striped td,
.table-striped th {
  vertical-align: middle;
}

.table-striped td,
.table-striped th {
  /* Prevent text from overflowing and breaking layout */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap;
}

.table-striped td:nth-child(1),
.table-striped th:nth-child(1) {
  max-width: 180px;
  min-width: 120px;
}

.table-striped td:nth-child(2),
.table-striped th:nth-child(2) {
  max-width: 140px;
  min-width: 100px;
}

.table-striped td:nth-child(4),
.table-striped th:nth-child(4) {
  max-width: 140px;
  min-width: 100px;
}
