@charset "UTF-8";
/* theme-name: Hermina */
:root {
  --tblr-primary-rgb: 41, 118, 75;
  --tblr-link-color-rgb: 41, 118, 75;
  --tblr-font-size: 15px;
  --tblr-body-font-size: 15px;
  --glpi-mainmenu-bg: #1F6940;
  --glpi-mainmenu-fg: #ffffff;
  --glpi-helpdesk-header: #EAF3EE;
  --glpi-palette-color-1: #29764B;
  --glpi-palette-color-2: #1F6940;
  --glpi-palette-color-3: #50926C;
  --glpi-palette-color-4: #F2C14E;
}

.page-anonymous {
  background: #f3f4f6;
}

.page-anonymous .main-content-card {
  border-top: 4px solid #29764B;
  box-shadow: 0 10px 30px rgba(31, 105, 64, 0.08);
  border-radius: 14px;
}

.btn-primary {
  background-color: #29764B;
  border-color: #29764B;
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1F6940;
  border-color: #1F6940;
  color: #ffffff;
}

/* "+ Add" button in the page header (context_links.html.twig): core renders it
 * as btn-sm with an icon-only label below the xxl breakpoint, which reads much
 * weaker than the full-size Save/Put in trashbin buttons on the form itself.
 * Bump it to the same visual weight so it doesn't get lost in the header row. */
.header-add-btn {
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(31, 105, 64, 0.35);
}

.header-add-btn:hover,
.header-add-btn:focus {
  box-shadow: 0 2px 5px rgba(31, 105, 64, 0.45);
}

/* Massive-action controls: the "Actions" trigger above a list
 * (Html::showMassiveActions()'s default action_button_classes) and the
 * "Post" submit inside its modal (MassiveAction::showDefaultSubForm() and
 * friends) both render btn-sm everywhere in core. That's fine for compact
 * per-row buttons, but next to full-size Add/Save it reads as an
 * afterthought, so restore normal button padding just in these two
 * contexts instead of touching the global btn-sm convention. */
.massiveactions-control .btn-primary,
.massiveactions .btn-primary {
  --tblr-btn-padding-y: 0.4636rem;
  --tblr-btn-padding-x: 0.875rem;
  font-weight: 600;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #29764B;
  box-shadow: 0 0 0 0.2rem rgba(41, 118, 75, 0.15);
}

.form-check-input:checked {
  background-color: #29764B;
  border-color: #29764B;
}

a {
  color: #29764B;
}

a:hover {
  color: #1F6940;
}

/* ── Ticket "Statistics" tab ──────────────────────────────────────────────────
 * Lives here rather than in css/includes/components/itilobject/_dates_timelines.scss
 * because this file is compiled by ThemeManager at runtime: no `npm run build`
 * and no image rebuild needed to change it.
 */
/* Dates timeline: absolute date on top, relative one below it. The core rule
 * fixes `time` at 30px with a single line, so the height is reopened here. */
.dates_timelines time {
  height: auto;
  line-height: 1.15;
}

.dates_timelines time .absolute-date {
  display: block;
  font-variant-numeric: tabular-nums;
}

.dates_timelines time .relative-date {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Pending periods: orange, matching the Pending status colour used elsewhere
 * in the UI (.itilstatus.waiting). */
.dates_timelines .pending time,
.dates_timelines .pending label,
.dates_timelines .pending-end time,
.dates_timelines .pending-end label {
  color: #e8a33d;
}

.dates_timelines .pending .dot {
  background-color: #e8a33d;
  border-color: #c8862a;
}

.dates_timelines .pending-end .dot {
  border-color: #e8a33d;
}

/* Times table: the pending row carries the same colour, so the value that
 * explains a shorter resolution time is easy to spot. */
.itil-stats-pending.has-pending {
  color: #e8a33d;
  font-weight: 600;
}

/* ── Status filter next to the ticket list search box ─────────────────────────
 * Matched to the .form-control beside it: the control height and the tag font
 * size follow the search input rather than select2's default "sm" sizing.
 */
.status-quickfilter .select2-container {
  width: 100% !important;
}

.status-quickfilter .select2-container--default .select2-selection--multiple {
  min-height: calc(1.4285714em + 0.875rem + 2px); /* setara tinggi .form-control */
  padding: 0.15rem 0.35rem;
  align-items: center;
}

.status-quickfilter .select2-container--default .select2-selection--multiple .select2-selection__choice {
  font-size: var(--tblr-font-size, 0.9375rem);
  line-height: 1.5;
  padding: 0.1rem 0.5rem;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

.status-quickfilter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  font-size: 1.1em;
  margin-right: 0.3rem;
}

.status-quickfilter .select2-container--default .select2-search--inline .select2-search__field {
  font-size: var(--tblr-font-size, 0.9375rem);
  margin-top: 0.35rem;
}