/* Global admin font - Plus Jakarta Sans (loaded in layouts/default.php) */
:root {
  --app-font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bs-font-sans-serif: var(--app-font);
  --bs-body-font-family: var(--app-font);
}

html,
body {
  font-family: var(--app-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.btn, .form-control, .form-select, .input-group-text,
.dropdown-menu, .nav, .navbar, .badge, .table, .modal, .toast, .alert,
.sidebar-wrapper, .sidebar-menu, .choices, .dataTable-wrapper,
button, input, select, textarea, optgroup {
  font-family: var(--app-font);
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

/* List tables: several views put headings (h3-h5) and .lead inside cells, which made names,
   vehicle numbers and document numbers far bigger than the rest of the row. Inside a table
   they are plain row text. */
.table td h1, .table td h2, .table td h3, .table td h4, .table td h5, .table td h6,
.table td .h1, .table td .h2, .table td .h3, .table td .h4, .table td .h5, .table td .h6 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.15rem;
  letter-spacing: 0;
}

.table td .lead {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.table td p {
  margin-bottom: 0.15rem;
}

.table td .fs-5 {
  font-size: 0.95rem !important;
}

/* SweetAlert2 confirmation popups (delete buttons) use the admin font */
.swal2-popup {
  font-family: var(--app-font);
  border-radius: 16px;
}
.swal2-title {
  font-size: 1.35rem;
}
.swal2-html-container {
  font-size: 0.95rem;
}
.swal2-actions .btn {
  min-width: 120px;
  padding: 0.55rem 1.2rem;
  font-weight: 600;
  border-radius: 10px;
}
.swal2-actions .btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}
.swal2-actions .btn-danger:hover,
.swal2-actions .btn-danger:focus {
  background-color: #bb2d3b;
  border-color: #b02a37;
  color: #fff;
}
