@font-face {
  font-family: Geist;
  src: url(/assets/GeistVF-6e508e2b1ae9c5a18c434dd58a341bb03fd04f81c66c615d0c39c7cd15a3aa66.ttf);
  font-display: swap;
}



legend {
  display: table;
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;

  + * {
    clear: both;
  }
}

fieldset {
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

#devise__aside__container {
  /* background-image: url(/assets/bg_devise_layout.jpg);
  background-size: cover;
  background-position: 40% 50%;
  background-repeat: no-repeat; */
}

.badge {
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  border-width: 1px;
  border-style: solid;
}

.badge__new {
  background-color: #f3f4f6;
  color: #1f2937;
  border-color: #4b5563;
}

.bg__new {
  background-color: #4b5563;
}

.bg__inprogress {
  background-color: #ca8a04;
}
.bg__completed {
  background-color: #16a34a;
}
.bg__due {
  background-color: #dc2626;
}

.badge__draft {
  background-color: #fef9c3;
  color: #854d0e;
  border-color: #ca8a04;
}

.badge__review {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: #9333ea;
}

.badge__approved {
  background-color: #dcfce7;
  color: #166534;
  border-color: #16a34a;
}

.badge__rejected {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #dc2626;
}
.badge__no {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #dc2626;
}

.badge__due {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #dc2626;
}

.badge__new_planning {
  background-color: #fef9c3;
  color: #854d0e;
  border-color: #ca8a04;
}

.badge__new_execution {
  background-color: #fef9c3;
  color: #854d0e;
  border-color: #ca8a04;
}

.badge__drafted_planning {
  background-color: #e2fcfe;
  color: #1b9991;
  border-color: #26dcd6;
}

.badge__drafted_execution {
  background-color: #e2fcfe;
  color: #1b9991;
  border-color: #26dcd6;
}

.badge__edited_planning {
  background-color: #e2f0fe;
  color: #1b6499;
  border-color: #266cdc;
}

.badge__draft_rejected {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #dc2626;
}

.badge__verify_rejected {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #dc2626;
}

.badge__validated_planning {
  background-color: #dcfce7;
  color: #166534;
  border-color: #16a34a;
}

.badge__drafted {
  background-color: #e2f0fe;
  color: #1b6499;
  border-color: #266cdc;
}

/* .badge__drafted {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #dc2626;
} */

.badge__verified {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: #9333ea;
}

.badge__verified_execution {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: #9333ea;
}
.badge__reviewed {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: #9333ea;
}
.badge__validated {
  background-color: #dcfce7;
  color: #166534;
  border-color: #16a34a;
}

.badge__validated_execution {
  background-color: #dcfce7;
  color: #166534;
  border-color: #16a34a;
}

.badge__dref {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: #a855f7;
}

.badge__implementation_structure {
  background-color: #dbeafe;
  color: #1e40af;
  border-color: #3b82f6;
}

.badge__partner {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}
.badge__yes {
  background-color: #dcfce7;
  color: #166534;
  border-color: #16a34a;
}
.badge__in_progress {
  background-color: #ffedd5;
  color: #9a3412;
  border-color: #d97706;
}

.bg__orange {
  background-color: #fed7aa;
}
.bg__green {
  background-color: #bbf7d0;
}
.bg__gray {
  background-color: #e5e7eb;
}
.bg__purple {
  background-color: #e9d5ff;
}
.bg__red {
  background-color: #fecaca;
}

.bg__blue {
  background-color: #bcd6ff;
}

.sov__file__border--border {
  border-color: hsl(217.2 32.6% 17.5);
}
.sov__file__border--green {
  border-color: #86efac;
}
.sov__file__border--purple {
  border-color: #d8b4fe;
}
.sov__file__border--red {
  border-color: #fca5a5;
}

.sov__file__arrow--primary {
  color: hsl(--primary);
}
.sov__file__arrow--green {
  color: #86efac;
}

.sov__file__arrow--purple {
  color: #d8b4fe;
}
.sov__file__arrow--red {
  color: #fca5a5;
}

.carousel__item {
  transition: all 1s linear;
}

html.dark .bg__pattern {
  background-blend-mode: multiply;
}
.bg__pattern {
  background-image: url(/assets/bg_pattern_13.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0% bottom 62%;
  /* color: #6e768206; */
  /* background-position: right 10% top 8.5%; */
  /* color: #94a3b807; */
  /* color: #7d7d7d91; */
}

.overview__grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.accordion__content {
  display: none;
}
.accordion__header {
  cursor: pointer;
}

.components__grid__cols {
  grid-template-columns: minmax(20px, 40px) 4fr 2fr 2fr 2fr minmax(0, 40px);
}
.components__general__grid__cols {
  grid-template-columns: minmax(20px, 40px) 4fr 2fr 2fr 2fr 2fr 3fr 1fr;
}

@media (max-width: 1536px) {
  .components__general__grid__cols {
    grid-template-columns: minmax(20px, 35px) 3fr 1.5fr 1.5fr 1.5fr 1.5fr 2fr 1fr;
  }
}

@media (max-width: 1280px) {
  .components__general__grid__cols {
    grid-template-columns: minmax(20px, 35px) 3fr 1.5fr 1.5fr 1.5fr 1.5fr 2fr 1fr;
  }
}

@media (max-width: 1024px) {
  .components__general__grid__cols {
    grid-template-columns: minmax(20px, 30px) 2.5fr 1.5fr 1.5fr 1.5fr 2fr 1fr;
  }
}

@media (max-width: 768px) {
  .components__general__grid__cols {
    grid-template-columns: minmax(20px, 30px) 2fr 1.5fr 1.5fr 1.5fr 1fr;
  }
}

@media (max-width: 640px) {
  .components__general__grid__cols {
    grid-template-columns: minmax(20px, 28px) 1.5fr 1fr 1fr 0.8fr;
  }
}

.triennuim__grid__cols {
  grid-template-columns: minmax(20px, 150px) 1fr 1fr 1fr;
}

.month__disabled {
  color: rgba(#98a0a6, 0.6);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  cursor: not-allowed;
}

.month__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: auto;
  grid-auto-rows: minmax(9rem, auto);
  overflow: auto;
}

.row__start__1 {
  grid-row-start: 1;
}

.row__start__2 {
  grid-row-start: 2;
}

.row__start__3 {
  grid-row-start: 3;
}

.row__start__4 {
  grid-row-start: 4;
}

.row__start__5 {
  grid-row-start: 5;
}

.row__start__6 {
  grid-row-start: 6;
}

.row__start__7 {
  grid-row-start: 7;
}

.row__start__8 {
  grid-row-start: 8;
}

.row__start__9 {
  grid-row-start: 9;
}

.row__start__10 {
  grid-row-start: 10;
}

.row__start__11 {
  grid-row-start: 11;
}

.row__end__1 {
  grid-row-end: 1;
}

.row__end__2 {
  grid-row-end: 2;
}

.row__end__3 {
  grid-row-end: 3;
}

.row__end__4 {
  grid-row-end: 4;
}

.row__end__5 {
  grid-row-end: 5;
}

.row__end__6 {
  grid-row-end: 6;
}

.row__end__7 {
  grid-row-end: 7;
}

.row__end__8 {
  grid-row-end: 8;
}

.row__end__9 {
  grid-row-end: 9;
}

.row__end__10 {
  grid-row-end: 10;
}

.row__end__11 {
  grid-row-end: 11;
}

.col__start__1 {
  grid-column-start: 1;
}

.col__start__2 {
  grid-column-start: 2;
}

.col__start__3 {
  grid-column-start: 3;
}

.col__start__4 {
  grid-column-start: 4;
}

.col__start__5 {
  grid-column-start: 5;
}

.col__start__6 {
  grid-column-start: 6;
}

.col__start__7 {
  grid-column-start: 7;
}

.col__start__8 {
  grid-column-start: 8;
}

.col__start__9 {
  grid-column-start: 9;
}

.col__start__10 {
  grid-column-start: 10;
}

.col__start__11 {
  grid-column-start: 11;
}

.col__end__1 {
  grid-column-end: 1;
}

.col__end__2 {
  grid-column-end: 2;
}

.col__end__3 {
  grid-column-end: 3;
}

.col__end__4 {
  grid-column-end: 4;
}

.col__end__5 {
  grid-column-end: 5;
}

.col__end__6 {
  grid-column-end: 6;
}

.col__end__7 {
  grid-column-end: 7;
}

.col__end__8 {
  grid-column-end: 8;
}

.col__end__9 {
  grid-column-end: 9;
}

.col__end__10 {
  grid-column-end: 10;
}

.col__end__11 {
  grid-column-end: 11;
}

.col__span__1 {
  grid-column-end: span 1;
}

.col__span__2 {
  grid-column-end: span 2;
}

.col__span__3 {
  grid-column-end: span 3;
}

.col__span__4 {
  grid-column-end: span 4;
}

.col__span__5 {
  grid-column-end: span 5;
}

.col__span__6 {
  grid-column-end: span 6;
}

.col__span__7 {
  grid-column-end: span 7;
}

.col__span__8 {
  grid-column-end: span 8;
}

.col__span__9 {
  grid-column-end: span 9;
}

.col__span__10 {
  grid-column-end: span 10;
}

.col__span__11 {
  grid-column-end: span 11;
}

.col__span__12 {
  grid-column-end: span 12;
}

/* .day {
  &:nth-of-type(n + 1):nth-of-type(-n + 7) {
    grid-row: 2;
  }

  &:nth-of-type(n + 8):nth-of-type(-n + 14) {
    grid-row: 3;
  }

  &:nth-of-type(n + 15):nth-of-type(-n + 21) {
    grid-row: 4;
  }

  &:nth-of-type(n + 22):nth-of-type(-n + 28) {
    grid-row: 5;
  }

  &:nth-of-type(n + 29):nth-of-type(-n + 35) {
    grid-row: 6;
  }

  &:nth-of-type(7n + 1) {
    grid-column: 1/1;
  }

  &:nth-of-type(7n + 2) {
    grid-column: 2/2;
  }

  &:nth-of-type(7n + 3) {
    grid-column: 3/3;
  }

  &:nth-of-type(7n + 4) {
    grid-column: 4/4;
  }

  &:nth-of-type(7n + 5) {
    grid-column: 5/5;
  }

  &:nth-of-type(7n + 6) {
    grid-column: 6/6;
  }
  &:nth-of-type(7n + 7) {
    grid-column: 7/7;
  }
}  */

/* 
  Event Calendar stylesheet
  
  Colors:
  #d5d5d5 - border (gray)
  #303030 - day names bg (gray)
  #444 - number (gray)
  #ecede2 - day header bg (light tan)
  ##d7d7ba - today header bg (tan)
  #ffffdd - today bg light (yellow)
  #777 - other month number (gray)
  #efefef - other month day header (gray)
  #2eac6a - hover (green)
*/

/* Outer most container */
/* .ec-calendar {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 11px;
  line-height: 14px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #d5d5d5;
} */

/* Month name header & links */
.ec-calendar-header {
  padding: 5px 0;
  width: 100%;
  table-layout: fixed;
}

.ec-month-name {
  font-size: 16px;
  font-weight: bold;
}

.ec-month-nav {
}

/* Containers */
/* .ec-body {
  position: relative;
  border-right: 1px solid #303030;
  white-space: nowrap;
} */

/* Day names */
/* .ec-day-names {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  table-layout: fixed;
  padding: 2px 0;
  background: #303030;
  color: white;
} */

/* .ec-day-name {
  font-weight: bold;
  text-transform: capitalize;
} */

/* Rows container and Row */
/* .ec-rows {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: white;
  overflow: hidden;
  border-right: 1px solid #d5d5d5;
} */

.ec-row {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
}

/* Background */
.ec-row-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  table-layout: fixed;
}

/* .ec-day-bg {
  border-left: 1px solid #d5d5d5;
} */

/* .ec-today-bg {
  background-color: #ffffdd;
} */

.ec-row-table {
  position: relative;
  width: 100%;
  table-layout: fixed;
}

.ec-month-row-table {
  position: relative;
  width: 100%;
  table-layout: fixed;
}

/* Day header */
/* .ec-day-header {
  color: #444;
  text-align: right;
  padding: 0 5px;
  line-height: 16px;
  border-top: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  border-bottom: 1px dotted #bbbbbb;
  background-color: #ecede2;
  overflow: hidden;
}

a.ec-day-link {
  color: #444;
}

.ec-today-header {
  background-color: #d7d7ba;
}

.ec-weekend-day-header {
  
} */

/* .ec-other-month-header {
  background-color: #efefef;
  color: #777;
}

.ec-other-month-bg {
  
} */

/* Event cell and container */
.ec-event-cell {
  cursor: pointer;
  vertical-align: top;
  padding-right: 1px;
  padding-left: 2px;
}

/* .ec-event-cell a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
} */

.ec-no-event-cell {
  cursor: default;
}

/* .ec-event {
  color: white;
  padding-right: 1px;
  padding-left: 11px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  overflow: hidden;
  white-space: nowrap;
} */

.ec-event :hover {
  /* doesn't look as good as js highlighting */
  /* background-color: #2eac6a; */
}

/* .ec-event-bg a {
  color: white;
} */

/* used to distinguish non-all_day events */
.ec-event-no-bg {
  position: relative;
  /* padding-left: 5px; */
}

.ec-event-no-bg a {
  /* isn't implemented in all browsers */
  color: inherit;
}

.ec-event-time {
  font-size: 85%;
  font-weight: bold;
  padding-right: 3px;
}

/* Left and right arrows */
/* Doesn't work in IE6, use bg images instead */
/* .ec-left-arrow, .ec-right-arrow {
  position: relative;
  top: 3px;
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  margin-bottom: -8px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
} */

/* .ec-left-arrow {
  margin-left: -7px;
  margin-right: auto;
  border-right: 4px solid white;
}

.ec-right-arrow {
  margin-left: auto;
  margin-right: 3px;
  border-left: 4px solid white;
} */

/* remove this to not have a bullet */
/* don't look as good in ie */
.ec-bullet {
  position: absolute;
  top: 7px;
  width: 4px;
  height: 4px;
  margin-left: -7px;
  margin-right: auto;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  -moz-border-radius: 2px;
}

/* Trix Editor Styles */
trix-editor {
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0.75rem;
  min-height: 150px;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

trix-editor:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

trix-toolbar {
  background-color: hsl(var(--card));
  border-radius: 0.375rem 0.375rem 0 0;
  padding: 0.25rem;
}

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

trix-toolbar .trix-button-group {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  margin-bottom: 0;
}

trix-toolbar .trix-button-group:not(:first-child) {
  margin-left: 0.25rem;
}

trix-toolbar .trix-button {
  background-color: transparent;
  color: hsl(var(--foreground));
  border: none;
  border-bottom: none;
  padding: 0.5rem;
}

trix-toolbar .trix-button::before {
  filter: none;
}

/* Dark mode: invert the button icons */
html.dark trix-toolbar .trix-button::before {
  filter: invert(1);
}

trix-toolbar .trix-button:hover {
  background-color: hsl(var(--muted));
}

trix-toolbar .trix-button.trix-active {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Dark mode: keep icons visible when button is active */
html.dark trix-toolbar .trix-button.trix-active::before {
  filter: invert(0);
}

trix-toolbar .trix-button:not(:disabled) {
  background-color: transparent;
}

trix-toolbar .trix-button:disabled {
  opacity: 0.5;
}

/* Trix dialogs */
trix-toolbar .trix-dialogs {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
}

trix-toolbar .trix-dialog {
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  padding: 0.5rem;
}

trix-toolbar .trix-dialog input[type="text"],
trix-toolbar .trix-dialog input[type="url"] {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

trix-toolbar .trix-dialog .trix-button-group {
  margin-top: 0.5rem;
}

trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
