/* Shared local Lucide icons for legacy action and utility classes. */
.ico-retour::before,
.ico-consult::before,
.ico-modif::before,
.ico-suppr::before,
.ico-visu::before,
.ico-excel::before,
.ico-loupe::before,
.ico-zoom::before,
.icon-mail::before,
.icon-modif::before,
.icon-pj::before,
.icon-user::before,
.icon-printer::before,
.icon-param::before,
.icon-calendar::before,
.icon-key::before,
.icon-logout::before,
.icon-minus::before,
.icon-plus::before,
.icon-croix::before,
.icon-info::before,
.icon-help::before,
.icon-warning::before,
.icon-text::before,
.icon-delete::before,
.icon-contrat::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  content: "" !important;
  vertical-align: -0.12em;
}

.ico-retour::before,
.ico-consult::before,
.ico-modif::before,
.ico-suppr::before,
.ico-visu::before,
.ico-excel::before,
.ico-loupe::before,
.ico-zoom::before {
  font-family: inherit;
  font-size: 1em;
}

.ico-retour::before {
  font-size: 2.5em;
  -webkit-mask: url("../img/icons/lucide/arrow-left.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/arrow-left.svg") center / contain no-repeat;
}

.ico-consult::before {
  -webkit-mask: url("../img/icons/lucide/book-open-text.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/book-open-text.svg") center / contain no-repeat;
}

.ico-modif::before,
.icon-modif::before {
  -webkit-mask: url("../img/icons/lucide/square-pen.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/square-pen.svg") center / contain no-repeat;
}

.ico-suppr::before,
.icon-delete::before {
  -webkit-mask: url("../img/icons/lucide/trash.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/trash.svg") center / contain no-repeat;
}

.ico-visu::before {
  -webkit-mask: url("../img/icons/lucide/eye.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/eye.svg") center / contain no-repeat;
}

.ico-excel::before {
  -webkit-mask: url("../img/icons/lucide/file-spreadsheet.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/file-spreadsheet.svg") center / contain no-repeat;
}

.ico-loupe::before {
  -webkit-mask: url("../img/icons/lucide/search.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/search.svg") center / contain no-repeat;
}

.ico-zoom::before {
  -webkit-mask: url("../img/icons/lucide/zoom-in.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/zoom-in.svg") center / contain no-repeat;
}

.icon-mail::before {
  -webkit-mask: url("../img/icons/lucide/mail.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/mail.svg") center / contain no-repeat;
}

.icon-pj::before {
  -webkit-mask: url("../img/icons/lucide/paperclip.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/paperclip.svg") center / contain no-repeat;
}

.icon-user::before {
  -webkit-mask: url("../img/icons/lucide/user-round.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/user-round.svg") center / contain no-repeat;
}

.icon-printer::before {
  -webkit-mask: url("../img/icons/lucide/printer.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/printer.svg") center / contain no-repeat;
}

.icon-param::before {
  -webkit-mask: url("../img/icons/lucide/settings.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/settings.svg") center / contain no-repeat;
}

.icon-calendar::before {
  -webkit-mask: url("../img/icons/lucide/calendar-days.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/calendar-days.svg") center / contain no-repeat;
}

.icon-key::before {
  -webkit-mask: url("../img/icons/lucide/key-round.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/key-round.svg") center / contain no-repeat;
}

.icon-logout::before {
  -webkit-mask: url("../img/icons/lucide/log-out.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/log-out.svg") center / contain no-repeat;
}

.icon-minus::before {
  -webkit-mask: url("../img/icons/lucide/minus.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/minus.svg") center / contain no-repeat;
}

.icon-plus::before {
  -webkit-mask: url("../img/icons/lucide/plus.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/plus.svg") center / contain no-repeat;
}

.icon-croix::before {
  -webkit-mask: url("../img/icons/lucide/x.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/x.svg") center / contain no-repeat;
}

.icon-info::before {
  -webkit-mask: url("../img/icons/lucide/info.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/info.svg") center / contain no-repeat;
}

.icon-help::before {
  -webkit-mask: url("../img/icons/lucide/circle-question-mark.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/circle-question-mark.svg") center / contain no-repeat;
}

.icon-warning::before {
  -webkit-mask: url("../img/icons/lucide/triangle-alert.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/triangle-alert.svg") center / contain no-repeat;
}

.icon-text::before {
  -webkit-mask: url("../img/icons/lucide/file-text.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/file-text.svg") center / contain no-repeat;
}

.icon-contrat::before {
  -webkit-mask: url("../img/icons/lucide/briefcase-business.svg") center / contain no-repeat;
  mask: url("../img/icons/lucide/briefcase-business.svg") center / contain no-repeat;
}

.ico-retour,
.ico-consult,
.ico-modif,
.ico-suppr,
.ico-visu,
.ico-excel,
.ico-loupe,
.ico-zoom,
.icon-mail,
.icon-modif,
.icon-pj,
.icon-user,
.icon-printer,
.icon-param,
.icon-calendar,
.icon-key,
.icon-logout,
.icon-minus,
.icon-plus,
.icon-croix,
.icon-info,
.icon-help,
.icon-warning,
.icon-text,
.icon-delete,
.icon-contrat {
  text-decoration: none;
}

.ico-retour:hover,
.ico-consult:hover,
.ico-modif:hover,
.ico-suppr:hover,
.ico-visu:hover,
.ico-excel:hover,
.ico-loupe:hover,
.ico-zoom:hover,
.icon-mail:hover,
.icon-modif:hover,
.icon-pj:hover,
.icon-user:hover,
.icon-printer:hover,
.icon-param:hover,
.icon-calendar:hover,
.icon-key:hover,
.icon-logout:hover,
.icon-minus:hover,
.icon-plus:hover,
.icon-croix:hover,
.icon-info:hover,
.icon-help:hover,
.icon-warning:hover,
.icon-text:hover,
.icon-delete:hover,
.icon-contrat:hover {
  filter: brightness(0.85);
}

/* Action buttons stay on a single line */
.list-page table.display tbody td:last-child,
.list-page table.dataTable tbody td:last-child {
  white-space: nowrap;
}

/* Session status: subtle left marker instead of a full coloured row */
.list-page-session table.display tbody tr.session-active > td,
.list-page-session table.dataTable tbody tr.session-active > td {
  background-color: #ffffff;
}

.list-page-session table.display tbody tr.session-inactive > td,
.list-page-session table.dataTable tbody tr.session-inactive > td {
  background-color: #f6f8fa;
  color: #7a8794;
}

.list-page-session table.display tbody tr.session-active > td:first-child,
.list-page-session table.dataTable tbody tr.session-active > td:first-child {
  box-shadow: inset 3px 0 0 #6fbf8a;
}

.list-page-session table.display tbody tr.session-inactive > td:first-child,
.list-page-session table.dataTable tbody tr.session-inactive > td:first-child {
  box-shadow: inset 3px 0 0 #e2a3a8;
}

.list-page table.display tbody td:last-child a.infoEtat,
.list-page table.dataTable tbody td:last-child a.infoEtat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  margin: 0 3px;
  padding: 0;
  border: 1px solid #d7e7f0;
  border-radius: 10px;
  background: #ffffff;
  font-size: 0 !important;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.list-page table.display tbody td:last-child a.infoEtat::before,
.list-page table.dataTable tbody td:last-child a.infoEtat::before {
  display: block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  content: "" !important;
}

.list-page table.display tbody td:last-child a.infoEtat.ico-consult,
.list-page table.dataTable tbody td:last-child a.infoEtat.ico-consult,
.list-page table.display tbody td:last-child a.infoEtat.icon-text,
.list-page table.dataTable tbody td:last-child a.infoEtat.icon-text {
  border-color: #c4e0ee;
  background-color: #f0f8fc;
  color: #176b94;
}

.list-page table.display tbody td:last-child a.infoEtat.ico-modif,
.list-page table.dataTable tbody td:last-child a.infoEtat.ico-modif,
.list-page table.display tbody td:last-child a.infoEtat.icon-modif,
.list-page table.dataTable tbody td:last-child a.infoEtat.icon-modif {
  border-color: #f0d7b7;
  background-color: #fff8ed;
  color: #a96319;
}

.list-page table.display tbody td:last-child a.infoEtat.ico-suppr,
.list-page table.dataTable tbody td:last-child a.infoEtat.ico-suppr,
.list-page table.display tbody td:last-child a.infoEtat.icon-delete,
.list-page table.dataTable tbody td:last-child a.infoEtat.icon-delete {
  border-color: #f0c9cd;
  background-color: #fff3f4;
  color: #bd4650;
}

.list-page table.display tbody td:last-child a.infoEtat.ico-visu,
.list-page table.dataTable tbody td:last-child a.infoEtat.ico-visu,
.list-page table.display tbody td:last-child a.infoEtat.ico-excel,
.list-page table.dataTable tbody td:last-child a.infoEtat.ico-excel {
  border-color: #c4e0ee;
  background-color: #f0f8fc;
  color: #176b94;
}

.list-page table.display tbody td:last-child a.infoEtat:hover,
.list-page table.dataTable tbody td:last-child a.infoEtat:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(26, 73, 99, 0.12);
}

.list-page table.display tbody td:last-child a.infoEtat:focus-visible,
.list-page table.dataTable tbody td:last-child a.infoEtat:focus-visible {
  outline: 3px solid rgba(23, 107, 148, 0.3);
  outline-offset: 2px;
}
