/*
 * 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.
 */

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  border-radius: 10px;
}

.field .all-truck-assignments {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  min-height: 36px;
  cursor: pointer;
}

.all-truck-assignments input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal);
}

.truck-access-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.confirmation-dialog {
  width: min(390px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid var(--line, #dce7e4);
  border-radius: 18px;
  background: #fff;
  color: var(--ink, #173b3a);
  box-shadow: 0 22px 70px #102f3355;
}

.confirmation-dialog::backdrop {
  background: #102b2f99;
}

.confirmation-dialog h2 {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.3;
}

.confirmation-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.confirmation-dialog-actions form {
  margin: 0;
}

.confirmation-dialog-actions button {
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.confirmation-dialog-cancel {
  background: #edf3f1;
  color: #355452;
}

.confirmation-dialog-accept {
  background: var(--teal, #087e78);
  color: #fff;
}
