@charset "UTF-8";
.node-box {
  position: relative;
  background-color: white;
}
.node-box__type {
  position: absolute;
  top: 0;
  left: 0;
  transition: border-color 0.3s;
  border-radius: 4px;
  font-size: 10px;
  padding: 0.2rem;
}
.node-box label {
  height: 100px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
  transition: border-color 0.3s;
  border-radius: 4px;
}
.node-box input[type=checkbox] {
  position: absolute;
  top: 10px;
  right: 10px;
}
.node-box input[type=checkbox]:checked + label, .node-box input[type=checkbox]:checked + label + .node-box__type {
  border-color: #4e73df;
}
.node-box:hover label, .node-box:hover .node-box__type {
  cursor: pointer;
  border-color: #4e73df;
}

.form-label {
  font-weight: bold;
}

.col-form-label {
  font-weight: bold;
}

.form-switch {
  padding-left: 2.5em;
}

.form-license {
  width: 125px;
  height: 150px;
}
.form-license:not(.form-license--disabled) label:hover {
  cursor: pointer;
  border-color: rgba(78, 115, 223, 0.5);
}
.form-license:not(.form-license--disabled) input[type=radio]:checked + label {
  border-color: #4e73df !important;
}

.ts-wrapper.multi .ts-control [data-value], .ts-wrapper.multi .ts-control [data-value].active {
  background-image: none !important;
}

.keytouch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin: 0 2px;
  background: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  color: #495057;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.keygroup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.hint {
  font-size: 0.7rem;
  opacity: 0.7;
}

.ts-wrapper.form-select.single .ts-control {
  padding: 0.25rem 0.5rem !important;
}
.ts-wrapper.form-select.single .ts-control:after {
  content: none;
}

.node {
  fill: #fff;
  stroke: #666;
  stroke-width: 2;
  cursor: default;
}
.node.draggable {
  cursor: grab;
}
.node.editable:not(.draggable--dragging) {
  cursor: pointer;
}
.node.draggable--dragging {
  cursor: grabbing;
}
.node .node__title {
  fill: #111111;
  text-anchor: middle;
}
.node .node__description {
  font-size: 0.8em;
  font-weight: normal;
  fill: gray;
  text-anchor: start;
}
.node.highlight rect {
  stroke: rgba(0, 0, 255, 0.4);
  stroke-width: 1;
}
.node--targeted {
  stroke: lightgreen;
  filter: drop-shadow(0px 0px 10px rgba(144, 238, 144, 0.5));
}
.node--active {
  stroke: black;
  stroke-width: 2;
  filter: drop-shadow(0px 0px 10px rgba(100, 100, 100, 0.8));
}
.node--ghost {
  fill: rgba(220, 220, 220, 0.8);
  stroke: #000;
  stroke-dasharray: 10, 10;
  opacity: 0.7;
  stroke-width: 3px;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 255, 0.8));
  z-index: 1000;
}
.node--call {
  fill: #EAFFEA;
}
.node--logical {
  fill: #D5F1F4;
}
.node--start {
  fill: #EEEEEE;
}

.link .link__path {
  stroke: grey;
  fill: none;
  stroke-width: 2;
}
.link .link__path--transparent {
  stroke: transparent !important;
}
.link--active .link__path {
  stroke: black;
  stroke-width: 2;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.7));
}
.link .link__point {
  fill: lightgray;
  stroke: grey;
  stroke-width: 1;
  transition: none;
}
.link .link__point--hoverable:hover, .link .link__point--dragging {
  transition: all 0.3s ease;
  width: 14px;
  height: 14px;
  x: -1px;
  y: -1px;
  rx: 4;
}
.link .link__point--transparent {
  fill: transparent;
}
.link .link__point--dragging {
  fill: lightgray;
}
.link .link__point--success {
  fill: lightgreen;
}
.link .link__point--failure {
  fill: lightcoral;
}
.link .link__point--timeout {
  fill: lightcoral;
}
.link .link__condition {
  stroke: grey;
  fill: white;
}
.link .link__condition > rect {
  stroke-width: 2;
}
.link .link__condition > text {
  stroke: grey;
  text-anchor: middle;
}
.link__path.link__clickable-area {
  stroke-width: 16;
}
.link.clickable:hover {
  cursor: pointer;
}
.link.clickable:hover .link__path {
  stroke: rgba(0, 0, 255, 0.4);
}
.link.clickable:hover text {
  fill: rgba(0, 0, 255, 0.4) !important;
}

.draggable--dragging {
  cursor: grabbing;
}

.clickable:hover > rect {
  stroke: rgba(0, 0, 255, 0.5);
  stroke-width: 1;
}
.clickable--active > rect {
  stroke: black;
  stroke-width: 2;
}

#canvas {
  min-height: 100%;
  min-width: 100%;
}

.canvas {
  cursor: grab;
}
.canvas text {
  stroke: none;
  fill: #111111;
  font-family: Inter, sans-serif;
  dominant-baseline: text-before-edge;
}
.canvas .icon {
  fill: #111111;
  font-weight: 400;
}
.canvas hr {
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.table-hover__hidden {
  display: none;
}
.table-hover tr {
  height: 55px;
}
.table-hover tr:hover .table-hover__hidden {
  display: inline-block;
}

.card-header {
  min-height: 64px;
}

.toolbox {
  cursor: grab;
  max-width: 200px;
}
.toolbox text {
  stroke: none;
  fill: #111111;
  font-family: Inter, sans-serif;
  dominant-baseline: text-before-edge;
}
.toolbox .icon {
  fill: #111111;
  font-weight: 400;
}
.toolbox hr {
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.node .node-badge__text {
  font-size: 18px;
  dominant-baseline: middle;
  text-anchor: middle;
}

.badge--disabled {
  position: relative;
  overflow: hidden;
}
.badge--disabled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  z-index: 1;
}
.badge--hoverable .badge__icon--hover-on {
  display: block;
}
.badge--hoverable .badge__icon--hover-off {
  display: none;
}
.badge--hoverable:hover {
  border-color: #4e73df !important;
}
.badge--hoverable:hover::after, .badge--hoverable:hover .badge--disabled::after {
  background-color: rgba(255, 255, 255, 0.25);
}
.badge--hoverable:hover .badge__icon--hover-on {
  display: none;
}
.badge--hoverable:hover .badge__icon--hover-off {
  display: block;
}

.form-collection__item {
  position: relative;
  transform-origin: top;
}
.form-collection__item--new {
  animation: slideDown 0.3s ease-out;
}
.form-collection__item--removing {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.loader {
  display: none;
  z-index: 1000;
}

.turbo-progress-bar {
  visibility: hidden;
}

.turbo-progress-bar + body > .loader {
  display: flex;
}

.offcanvas {
  min-width: 500px;
}

.digit {
  border: 2px solid transparent;
}
.digit--required {
  border-left: 0;
  border-right: 0;
  border-top: 2px solid gray;
  border-bottom: 2px solid gray;
}
.digit--required:first-of-type {
  border-left: 2px solid gray;
  border-radius: 4px 0 0 4px;
}
.digit--last {
  border-right: 2px solid gray;
  border-radius: 0 4px 4px 0;
  position: relative;
}
.digit--last:after {
  content: "requis";
  position: absolute;
  top: -12px;
  right: -10px;
  font-size: 8px;
  font-weight: 300;
  color: white;
  background: gray;
  border-radius: 4px;
  height: 13px;
  width: 32px;
  text-align: center;
}
.digit--alone {
  border-left: 2px solid gray;
  border-right: 2px solid gray;
  border-radius: 4px !important;
}
.digit--alone:after {
  content: "requis";
  position: absolute;
  top: -12px;
  right: -10px;
  font-size: 8px;
  font-weight: 300;
  color: white;
  background: gray;
  border-radius: 4px;
  height: 13px;
  width: 32px;
  text-align: center;
}

.dialpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  margin: 10px;
}
.dialpad .form-check {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dialpad .form-check label {
  cursor: pointer;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #adb5bd;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.dialpad .form-check input {
  display: none;
}
.dialpad .form-check input:checked + label {
  border-color: #0d6efd;
  color: #212529;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
}

.btn--circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.modal-header {
  align-items: center;
}

.day-progress {
  margin-bottom: 1rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.progress {
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Échelle */
.time-scale {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* toutes les 2h = 12 repères */
  font-size: 11px;
  color: #6b7280; /* gris doux */
  margin-top: 4px;
  position: relative;
}

.time-scale span {
  text-align: left;
  position: relative;
}

/* Traits discrets d'alignement (grille horaire) */
.time-scale::before {
  content: "";
  position: absolute;
  top: -28px; /* pile sur la progress bar */
  left: 0;
  right: 0;
  height: 20px;
  background: repeating-linear-gradient(to right, transparent 0, transparent calc(8.3333333333% - 1px), #e5e7eb calc(8.3333333333% - 1px), #e5e7eb 8.3333333333%);
  pointer-events: none;
  opacity: 0.6;
}

.time-scale {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  font-size: 0.75rem;
  color: #666;
}

.time-scale span {
  text-align: center;
}

.opacity-25 {
  opacity: 0.25;
}

.hidden {
  display: none;
}

#form-container turbo-frame {
  height: 100%;
}

.body--login {
  background-image: url("../images/security_bg-D6nuPxo.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.sidebar {
  background: linear-gradient(180deg, #876cba 0%, #7e89e1 50%, #33c0e3 100%);
  color: #ffffff;
}

.sidebar-dark .nav-item .nav-link {
  color: rgb(255, 255, 255) !important;
  font-weight: 500;
  transition: all 0.25s ease;
}

.sidebar a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.sidebar .active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
}

.sidebar .section-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.sidebar-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.sidebar-heading {
  font-size: 0.75rem !important;
}

.page-header {
  background: linear-gradient(150deg, rgba(102, 126, 234, 0.85) 10%, rgba(118, 75, 162, 0.85) 90%), linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
}

.card-header {
  background: linear-gradient(135deg, #f6f3ff, #ede9fe);
  border-bottom: 1px solid #e0e7ff;
}

.badge-context {
  color: #3a3b45;
  background-color: #f0ecfe;
  font-size: 0.9em;
}

.user-card-header {
  background: #7c91ed;
}

.user-item {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 8px;
}

.section-header {
  border-bottom: 4px solid #4e73df;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.tabs {
  position: relative;
}

button.active {
  background-color: white !important;
  color: #6e707e !important;
}

.add-card {
  transition: all 0.25s ease-in-out;
  border: 2px dashed #7d8de8;
  background-color: #f8f9fa;
  color: #7d8de8;
}

.add-card:hover {
  background-color: #e9f2ff;
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.15);
}

/*# sourceMappingURL=app.output.css.map */
