@charset "UTF-8";
.rh-container {
  padding: 1.5rem;
  min-height: calc(100vh - 60px);
}

.rh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rh-table-corner {
  flex: 0 0 150px;
  min-width: 150px;
  background-color: #0b4375;
  position: sticky;
  left: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
}

.rh-title {
  font-family: Muli, sans-serif;
  font-size: 1.8rem;
  color: rgb(10, 66, 117);
  margin: 0;
  font-weight: 600;
}

.rh-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #f7f9fb;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #3a70a1;
}

.rh-filters-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.rh-filters-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rh-filters-dropdown {
  position: relative;
}

.rh-filter-select {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #3a70a1;
  font-size: 0.9rem;
  background-color: white;
  color: rgb(10, 66, 117);
  cursor: pointer;
  transition: all 0.2s ease;
}
.rh-filter-select:hover {
  border-color: #0b4375;
  box-shadow: 0 0 0 2px rgba(11, 67, 117, 0.1);
}
.rh-filter-select:focus {
  outline: none;
  border-color: #0b4375;
  box-shadow: 0 0 0 3px rgba(11, 67, 117, 0.15);
}

.rh-filters-assignment {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.rh-assignment-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.7);
}
.rh-assignment-filter:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.rh-assignment-filter.active {
  border-color: #2c3e50;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rh-assignment-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.rh-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.rh-search-icon {
  position: absolute;
  left: 12px;
  color: #3a70a1;
  font-size: 0.9rem;
  pointer-events: none;
}

.rh-search-input {
  padding: 0.5rem 2.5rem 0.5rem 2.2rem;
  border-radius: 20px;
  border: 1px solid #3a70a1;
  font-size: 0.9rem;
  min-width: 280px;
  transition: all 0.2s ease;
  background-color: white;
}
.rh-search-input:focus {
  outline: none;
  border-color: #0b4375;
  box-shadow: 0 0 0 3px rgba(11, 67, 117, 0.15);
}
.rh-search-input::placeholder {
  color: #3a70a1;
  opacity: 0.7;
}

.rh-search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #3a70a1;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.rh-search-clear:hover {
  background-color: rgba(58, 112, 161, 0.2);
  color: rgb(10, 66, 117);
}
.rh-search-clear i {
  font-size: 0.8rem;
}

.rh-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: white;
  color: rgb(10, 66, 117);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #3a70a1;
  transition: all 0.2s ease;
}
.rh-filter-btn:hover {
  background-color: #3a70a1;
  color: white;
}
.rh-filter-btn.active {
  background-color: #0b4375;
  color: white;
  border-color: #0b4375;
}

.rh-available-mission-day {
  font-size: 0.8rem;
  color: rgb(10, 66, 117);
  font-weight: 400;
  text-transform: capitalize;
}

.rh-available-mission-time {
  font-size: 0.75rem;
  color: #3a70a1;
}

.rh-main-content {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  height: calc(100vh - 280px);
  min-height: 600px;
}

.rh-table-container {
  flex: 0 0 80%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rh-table-wrapper {
  flex: 1;
  overflow: auto;
  position: relative;
}

.rh-table-inner {
  display: flex;
  flex-direction: column;
  min-width: max-content;
}

.rh-table-header {
  display: flex;
  background-color: #fec97f;
  border-bottom: 2px solid #fbbb50;
  position: sticky;
  top: 0;
  z-index: 20;
  min-width: max-content;
}

.rh-table-corner {
  flex: 0 0 150px;
  min-width: 150px;
  background-color: #0b4375;
  position: sticky;
  left: 0;
  z-index: 25;
}

.rh-hours-row {
  display: flex;
}

.rh-hour-cell {
  width: 80px;
  min-width: 80px;
  padding: 0.75rem 0.25rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(10, 66, 117);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  background-color: #fec97f;
  box-sizing: border-box;
}

.rh-table-body {
  min-width: max-content;
}

.rh-row {
  display: flex;
  border-bottom: 1px solid #eee;
  min-height: 60px;
  background-color: white;
}
.rh-row:nth-child(even) {
  background-color: #f9fafb;
}
.rh-row:hover {
  background-color: #f0f4f8;
}

.rh-person-cell {
  flex: 0 0 150px;
  min-width: 150px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  background-color: #f0f5fa;
  border-right: 2px solid #3a70a1;
  position: sticky;
  left: 0;
  z-index: 15;
}
.rh-row:nth-child(even) .rh-person-cell {
  background-color: #f4f5f6;
}
.rh-row:hover .rh-person-cell {
  background-color: #e8ecf0;
}

.rh-person-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgb(10, 66, 117);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-missions-row {
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: stretch;
  background-color: transparent;
}
.rh-missions-row.drag-over {
  background-color: rgba(149, 193, 31, 0.1);
}

.rh-grid-cell {
  width: 80px;
  min-width: 80px;
  border-left: 1px solid #e0e0e0;
  box-sizing: border-box;
}
.rh-grid-cell:first-child {
  border-left: none;
}

.rh-mission-block {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  z-index: 5;
}
.rh-mission-block:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 6;
}
.rh-mission-block:active {
  cursor: grabbing;
}
.rh-mission-block.dragging {
  opacity: 0.5;
}
.rh-mission-block.mission-overlap {
  border: 3px solid #ffffff;
}
.rh-mission-block.mission-overlapping {
  border: 3px dashed #ff0000 !important;
}
.rh-mission-block.mission-highlight {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

@keyframes overlap-pulse {
  0%, 100% {
    border-color: #ff0000;
    box-shadow: 0 0 8px 2px rgba(255, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  50% {
    border-color: #ffcc00;
    box-shadow: 0 0 12px 4px rgba(255, 204, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}
@keyframes pulse-highlight {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 4px rgb(255, 255, 255), 0 6px 16px rgba(0, 0, 0, 0.5);
  }
}
.rh-mission-name {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-mission-time {
  font-size: 0.65rem;
  opacity: 0.9;
}

.rh-missions-panel {
  flex: 0 0 20%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rh-missions-panel-title {
  background-color: #0b4375;
  color: white;
  padding: 1rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}

.rh-missions-search {
  position: relative;
  padding: 0.5rem 0.75rem;
  background-color: white;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.rh-missions-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #3a70a1;
  font-size: 0.8rem;
  pointer-events: none;
}

.rh-missions-search-input {
  width: 100%;
  padding: 0.4rem 0.5rem 0.4rem 2rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.rh-missions-search-input:focus {
  outline: none;
  border-color: #0b4375;
  box-shadow: 0 0 0 2px rgba(11, 67, 117, 0.1);
}
.rh-missions-search-input::placeholder {
  color: #3a70a1;
  opacity: 0.7;
}

.rh-missions-sort {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #f7f9fb;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0;
}

.rh-sort-btn {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  background-color: white;
  color: rgb(10, 66, 117);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  border: 1px solid #3a70a1;
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
}
.rh-sort-btn:hover {
  background-color: #3a70a1;
  color: white;
}
.rh-sort-btn.active {
  background-color: #0b4375;
  color: white;
  border-color: #0b4375;
}
.rh-sort-btn i {
  margin-left: 0.25rem;
}

.rh-missions-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.2s ease, border 0.2s ease;
}
.rh-missions-list.drag-over-unassign {
  background-color: rgba(231, 76, 60, 0.15);
  border: 2px dashed #e74c3c;
  border-radius: 4px;
}

.rh-available-mission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background-color: #f7f9fb;
  border-radius: 6px;
  border-left: 4px solid;
  cursor: grab;
  transition: all 0.2s ease;
}
.rh-available-mission:hover {
  background-color: #e8ecf0;
  transform: translateX(-3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.rh-available-mission:active {
  cursor: grabbing;
}
.rh-available-mission.dragging {
  opacity: 0.5;
}
.rh-available-mission.mission-filter-active {
  background-color: rgba(11, 67, 117, 0.2);
  border-left-width: 6px;
  box-shadow: 0 0 0 2px #0b4375;
  transform: scale(1.02);
}
.rh-available-mission.mission-filter-active::after {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 0.7rem;
  color: #0b4375;
  opacity: 0.7;
}

.rh-available-mission-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.rh-available-mission-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(10, 66, 117);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-mission-numero {
  color: #3a70a1;
  font-weight: 500;
  margin-right: 0.25rem;
}

.rh-available-mission-time {
  font-size: 0.75rem;
  color: #3a70a1;
}

.rh-available-mission-rh {
  font-size: 0.7rem;
  color: rgb(10, 66, 117);
  font-weight: 500;
}
.rh-available-mission-rh i {
  margin-right: 0.25rem;
  color: #3a70a1;
}

.rh-available-mission-type {
  font-size: 0.7rem;
  color: rgb(43, 153, 164);
  font-style: italic;
}

.rh-available-mission-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.rh-available-mission-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rh-notification {
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.rh-missions-filters {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: white;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0;
}

.rh-missions-filter-type {
  flex: 1;
}

.rh-grid-cell {
  width: 80px;
  min-width: 80px;
  border-left: 1px solid #e0e0e0;
  box-sizing: border-box;
  background-color: white;
  transition: background-color 0.2s ease;
}
.rh-grid-cell:first-child {
  border-left: none;
}
.rh-grid-cell.outside-hours {
  background-color: #f7f7f7;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0, 0, 0, 0.05) 5px, rgba(0, 0, 0, 0.05) 10px);
}
.rh-grid-cell.during-hours {
  background-color: white;
}

.rh-filter-select-small {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #3a70a1;
  font-size: 0.8rem;
  background-color: white;
  color: rgb(10, 66, 117);
  cursor: pointer;
  transition: all 0.2s ease;
}
.rh-filter-select-small:hover {
  border-color: #0b4375;
  box-shadow: 0 0 0 2px rgba(11, 67, 117, 0.1);
}
.rh-filter-select-small:focus {
  outline: none;
  border-color: #0b4375;
  box-shadow: 0 0 0 3px rgba(11, 67, 117, 0.15);
}

.rh-missions-filter-assignment {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.rh-assignment-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.7);
}
.rh-assignment-filter:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.rh-assignment-filter.active {
  border-color: #2c3e50;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rh-assignment-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
  .rh-main-content {
    flex-direction: column;
    height: auto;
  }
  .rh-table-container,
  .rh-missions-panel {
    flex: 1 1 auto;
  }
  .rh-table-container {
    min-height: 400px;
  }
  .rh-missions-panel {
    max-height: 300px;
  }
  .rh-missions-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .rh-available-mission {
    flex: 0 0 calc(50% - 0.5rem);
  }
  .rh-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .rh-filters-left {
    justify-content: center;
  }
  .rh-filters-right {
    justify-content: center;
    margin-top: 0.5rem;
  }
  .rh-search-input {
    min-width: 100%;
    width: 100%;
  }
}
.rh-row-available-organizer {
  background-color: rgba(255, 255, 255, 0.6);
}
.rh-row-available-organizer:nth-child(even) {
  background-color: rgba(249, 250, 251, 0.6);
}
.rh-row-available-organizer:hover {
  background-color: rgba(240, 244, 248, 0.7);
}
.rh-row-available-organizer .rh-person-cell {
  background-color: rgba(240, 245, 250, 0.8);
  opacity: 0.85;
}
.rh-row-available-organizer .rh-person-name {
  color: #555;
}

.rh-separator-available {
  border-top: 2px solid #0b4375;
  margin: 0.75rem 0;
}

@media (max-width: 768px) {
  .rh-container {
    padding: 1rem;
  }
  .rh-filters {
    justify-content: center;
  }
  .rh-person-cell {
    flex: 0 0 100px;
    min-width: 100px;
  }
  .rh-table-corner {
    flex: 0 0 100px;
    min-width: 100px;
  }
  .rh-hour-cell {
    width: 60px;
    min-width: 60px;
  }
  .rh-grid-cell {
    width: 60px;
    min-width: 60px;
    border-left: 1px solid #e0e0e0;
    box-sizing: border-box;
    background-color: white;
    transition: background-color 0.2s ease;
  }
  .rh-grid-cell:first-child {
    border-left: none;
  }
  .rh-grid-cell.outside-hours {
    background-color: #e8e8e8;
    opacity: 0.6;
  }
  .rh-grid-cell.during-hours {
    background-color: white;
  }
  .rh-available-mission {
    flex: 1 1 100%;
  }
  .rh-filters-assignment {
    gap: 0.35rem;
  }
  .rh-assignment-filter {
    width: 32px;
    height: 32px;
  }
  .rh-assignment-dot {
    width: 14px;
    height: 14px;
  }
}
.rh-calendar-container {
  position: relative;
}

.rh-calendar-btn {
  background-color: white;
  border: 1px solid #3a70a1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgb(10, 66, 117);
}
.rh-calendar-btn:hover {
  background-color: #0b4375;
  color: white;
  border-color: #0b4375;
}
.rh-calendar-btn i {
  font-size: 1rem;
}

.rh-calendar-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  z-index: 100;
  width: 280px;
  display: none;
}
.rh-calendar-popup.active {
  display: block;
}

.rh-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rh-calendar-nav {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  color: rgb(10, 66, 117);
  transition: all 0.2s ease;
}
.rh-calendar-nav:hover {
  background-color: #f7f9fb;
}

.rh-calendar-month-year {
  font-weight: 600;
  color: rgb(10, 66, 117);
  font-size: 1rem;
}

.rh-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}
.rh-calendar-weekdays span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3a70a1;
}

.rh-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.rh-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgb(10, 66, 117);
}
.rh-calendar-day.empty {
  cursor: default;
}
.rh-calendar-day:not(.empty):hover {
  background-color: #f7f9fb;
}
.rh-calendar-day.today {
  border: 2px solid #0b4375;
}
.rh-calendar-day.has-mission {
  background-color: rgba(142, 68, 173, 0.15);
  color: #8e44ad;
  font-weight: 700;
}
.rh-calendar-day.has-mission:hover {
  background-color: rgba(142, 68, 173, 0.3);
}

@media (max-width: 768px) {
  .rh-calendar-popup {
    width: 260px;
    right: -50px;
  }
}
body {
  color: white;
  font-family: "Sofia", sans-serif;
  background-color: #0b4375 !important;
  margin-right: 50px !important;
  font-size: 0.9rem !important;
}

h2 {
  color: #1a222c !important;
}

th {
  color: rgb(10, 66, 117) !important;
  padding-bottom: 0.5rem !important;
}

td {
  padding: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table, th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.flex-row {
  display: flex;
  flex-wrap: nowrap !important;
  flex-direction: row;
}

.btn {
  text-wrap: nowrap !important;
}

.bg-content {
  background-color: white !important;
  border-radius: 5px;
}

.dark-mode {
  background-color: #0b7572 !important;
}

.color-blue-scouts {
  color: #0b4375;
}

.color-turquoise {
  color: rgb(43, 153, 164);
}

.color-grey-link {
  color: #b2bac3 !important;
}

.color-grey-blue {
  color: #3a70a1 !important;
}

.color-light-blue {
  color: #728faa !important;
}

.color-green {
  color: #296f52 !important;
}

.color-green-75 {
  color: #296f52 !important;
}

.color-soft-green {
  color: #95C11E !important;
}

.color-yellow-75 {
  color: #fec97f;
}

.color-yellow-75:hover {
  color: #ef7a00;
}

.color-orange {
  color: #ef7a00;
}

.color-red-pi {
  color: rgb(214, 15, 60);
}

.bg-ls-blue-night {
  background-color: #0b7572 !important;
}

.bg-ls-dark-blue-night {
  background-color: #1a222c !important;
}

.bg-ls-blue-scouts {
  background-color: #0b4375 !important;
}

.bg-ls-blue-grey {
  background-color: #3a70a1 !important;
}

.bg-ls-turquoise {
  background-color: rgb(43, 153, 164);
}

.bg-ls-orange {
  background-color: #ef7a00 !important;
}

.bg-blue-scouts-75 {
  background-color: #6085a5 !important;
  border-color: #6085a5 !important;
}

.bg-Bleu-fonce {
  background-color: rgb(10, 66, 117);
}

.bg-vert-clair {
  background-color: rgb(149, 193, 31) !important;
}

.bg-rouge {
  background-color: rgb(214, 15, 60) !important;
}

.bg-Bleu-clair {
  background-color: #4aa3df;
}

.bg-ls-gris {
  background-color: lightgrey !important;
}

.white-space-nowrap {
  white-space: nowrap !important;
}

/**
btn component listing
 */
.bg-lc-blue-soft {
  background-color: rgba(113, 170, 204, 0.5411764706) !important;
  border-color: #0b4375 !important;
}

.bg-lc-blue-scouts {
  background-color: #0b4375 !important;
  border-color: #0b4375 !important;
}

.bg-main-index {
  background-image: url("../images/Logo_Les_Scouts_personnages_bleu_s-d5f10dd58a46248c48792830bb1ddb5a.jpg");
  height: 40vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.h1-main-index {
  color: #8e98a2;
  font-family: Muli, sans-serif;
}

.btn-green-soft {
  background-color: rgba(153, 193, 0, 0.3) !important;
  border-color: #99c100 !important;
  border: 3px solid;
}

.btn-red-soft {
  background-color: rgba(214, 15, 60, 0.3) !important;
  border-color: rgb(214, 15, 60) !important;
  border: 1px solid;
}

.btn-edit-listing {
  border-color: lightgrey !important;
  color: #0b4375 !important;
  background-color: white;
}

.btn-edit-listing:hover {
  color: darkgrey !important;
}

.btn-new-equipe {
  color: #0b4375 !important;
  border-color: rgb(149, 193, 31) !important;
}

.btn-new-equipe:hover {
  color: white !important;
  background-color: rgb(149, 193, 31) !important;
}

.border-edit {
  border-color: lightgrey !important;
}

.fs-8 {
  font-size: 0.8rem !important;
}

.fs-9 {
  font-size: 0.9rem;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.w-10 {
  width: 10% !important;
}

.w-30 {
  width: 30% !important;
}

.w-20 {
  width: 20% !important;
}

.w-40 {
  width: 40% !important;
}

.w-80 {
  width: 80% !important;
}

.w-90 {
  width: 90% !important;
}

.pb-08 {
  padding-bottom: 0.8rem !important;
}

.my-8 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.mr-2px {
  margin-right: 2px;
}

.mr-4px {
  margin-right: 4px;
}

.max-content {
  width: max-content;
}

.ts-control {
  white-space: nowrap !important;
  min-width: fit-content !important;
}

.ts-dropdown {
  white-space: nowrap !important;
  min-width: fit-content !important;
}

.ts-dropdown > * {
  border-bottom: 1px solid lightgrey !important;
}

.ts-dropdown > *:last-child {
  border-bottom: none !important;
}

.active-link {
  text-decoration: underline !important;
  text-underline-offset: 0.5em;
}

.logo-link {
  color: lightslategrey !important;
  display: flex;
  flex-direction: column;
  align-items: end;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  padding: 0.5rem 0.9rem;
}

.link-nav-header {
  color: lightslategrey !important;
  padding: 0.5rem 0.5rem 0.5rem 0 !important;
}

.nav-link {
  color: white !important;
}

.nav-sidebar .nav-link {
  display: flex;
  align-items: center;
}

.nav-sidebar .nav-link p {
  margin: 0;
  white-space: normal; /* autorise le retour à la ligne */
}

.nav-sidebar .nav-link i {
  width: 20px; /* largeur fixe */
  text-align: center; /* centre l’icône dans cette largeur */
  flex-shrink: 0; /* évite que ça rétrécisse */
  margin-top: 3px;
}

.link-nav-header::placeholder {
  color: lightslategrey !important;
}

.link-nav-white {
  color: #f7f9fb !important;
}

.link-top-right-header {
  background-color: #004f9e;
  padding: 0.5rem;
  border-radius: 25px;
}

.alert-warning {
  background-color: #fec97f !important;
  border-color: #fec97f !important;
}

.alert-warning-soft {
  background-color: rgba(254, 201, 127, 0.2901960784) !important;
  border-color: #fec97f !important;
}

.alert-warning-green-soft {
  background-color: rgba(153, 193, 0, 0.14) !important;
  border-color: #99c100 !important;
}

.btn-green-soft {
  background-color: rgba(153, 193, 0, 0.3) !important;
  border-color: #99c100 !important;
  border: 3px solid;
}

/** En fonction du type d'évènement */
.header-list-default {
  background-color: rgb(10, 66, 117);
  margin-bottom: 1.5rem;
  border: 1px solid white;
}

.header-list-baladins {
  background-color: rgb(0, 160, 222);
  margin-bottom: 1.5rem;
  border: 1px solid white;
}

.header-list-louveteaux {
  background-color: rgb(41, 111, 82);
  margin-bottom: 1.5rem;
  border: 1px solid white;
}

.header-list-eclaireurs {
  background-color: rgb(0, 79, 159);
  margin-bottom: 1.5rem;
  border: 1px solid white;
}

.header-list-pionniers {
  background-color: rgb(213, 19, 23);
  margin-bottom: 1.5rem;
  border: 1px solid white;
}

.header-list-federal {
  background-color: rgb(98, 37, 153);
  margin-bottom: 1.5rem;
  border: 1px solid white;
}

.header-new {
  background-image: url("../images/toppings/elements_federation_orange_header_small-619858628459b7b53435b8565edd2bc0.png");
  background-color: rgba(52, 152, 219, 0.5019607843);
  margin-bottom: 1.5rem;
}

.title-new {
  display: inline;
}

.header-nouveau-contenu {
  margin-bottom: 1.5rem;
  background-color: #fbbb50;
}

.bg-navbar {
  background-color: rgb(10, 66, 117) !important;
}

.input-group {
  align-items: center !important;
}

.form-search {
  background-color: #0b7572 !important;
  border: 0 !important;
  letter-spacing: 0.1rem;
}

.main-sidebar {
  background-color: white !important;
}

.those-who-dont-follow {
  width: fit-content;
  margin-left: auto;
}

/* Sidebar - hidden state */
.sidebar-closed {
  width: 0;
  overflow-x: hidden;
  transition: 0.3s;
}

/* Sidebar - open state */
.sidebar-open {
  width: 225px;
  transition: 0.3s;
}

#main-content {
  transition: margin-left 0.3s;
}

.sidebar-open + #main-content {
  margin-left: 225px;
}

.content-wrapper {
  margin-left: 225px !important;
  padding-bottom: 1rem;
  min-height: fit-content !important;
}

.content-wrapper-small {
  margin-left: 50px !important;
  transition: margin-left 0.3s;
}

.btn-menu {
  margin-left: 240px;
}

.btn-sync {
  margin-top: 4rem !important;
  margin-left: 4rem !important;
}

.btn-export {
  margin-left: 4.8rem !important;
}

.welcome {
  border: 8px solid #0a4275;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.title-h2 {
  font-family: Muli, sans-serif;
  font-size: 1.3rem;
}

.link-pax:hover {
  color: #0b4375 !important;
}

.bouton-plus {
  background-color: transparent !important;
}

.toggle-button {
  border: 0;
  background-color: transparent;
}

.color-square {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  margin-top: 5px;
  margin-left: 15px;
}

/* public/assets/styles/form.css */
.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1em;
}

.color-option {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.color-option.selected {
  border-color: #333;
}

.card {
  background-color: #f7f9fb !important;
}

.content-wrapper > .content {
  padding: 0 !important;
}

.content-header {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.page-link {
  color: #3a70a1 !important;
}

.dark-mode .card {
  background-color: #f7f9fb !important;
}

.dark-mode select {
  background-color: #f7f9fb !important;
}

.form-control:not(.form-control-navbar):not(.form-control-sidebar) {
  background-color: #f7f9fb !important;
}

.page-item.disabled .page-link,
.page-item.disabled button {
  background-color: #f7f9fb !important;
}

.form-config {
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  font-size: 0.8rem;
  display: block;
  width: 100%;
}

.form-config-datatable {
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

.input-group.input-group-sm {
  position: relative !important;
  z-index: 1000 !important;
}

/* Override DataTables scroll container if present */
.dt-layout-table {
  overflow: visible !important;
}

/* hauteur navbar, ajustée automatiquement par le JS ci-dessous */
:root {
  --nav-h: 56px; /* fallback si le JS ne s’exécute pas */
}

/* Assure que la navbar reste au-dessus */
.navbar {
  position: relative; /* ou sticky si tu veux */
  z-index: 1030;
}

/* Sidebar fixe à gauche, sous la navbar */
#sidebar {
  top: 0;
  bottom: 0;
  left: 0;
  padding-top: var(--nav-h); /* décale le contenu sous la navbar */
  overflow: hidden; /* le scroll se fait dans .sidebar-inner */
  z-index: 1020;
}

/* Zone réellement scrollable */
#sidebar .sidebar-inner {
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 2px 16px; /* respirations + espace de fin pour éviter que le dernier item colle au bas */
}

/* (Optionnel) Évite que le contenu principal passe sous la sidebar en desktop */
@media (min-width: 992px) {
  body {
    padding-left: 280px; /* même valeur que la largeur de la sidebar */
  }
}
/* (Optionnel) Scrollbar un peu plus propre sur WebKit */
#sidebar .sidebar-inner::-webkit-scrollbar {
  width: 8px;
}

#sidebar .sidebar-inner::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-clip: padding-box;
}

/* If you have DataTables scroll body */
.dataTables_scrollBody {
  overflow: visible !important;
  position: relative !important;
  z-index: 999 !important;
}

.ts-dropdown-content {
  position: absolute !important;
  z-index: 2000 !important;
  background: white; /* ensure visible background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: content-box; /* ensure padding doesn't shrink content */
}

/* Parent containers of the table */
.dt-layout-table,
.dataTables_scrollBody {
  overflow: visible !important;
  position: relative !important;
  z-index: 1;
}

.text-description {
  color: #1a222c;
}

#data-table_info {
  color: #3a70a1;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
  text-align: left !important;
}

.page-item.active .page-link {
  color: white !important;
  background-color: #3a70a1 !important;
  border-color: #3a70a1 !important;
}

.color-parameters {
  color: #fec97f !important;
}

.button-lieu-table {
  border: none;
  color: #296f52;
  font-weight: 500;
  width: max-content;
}

.button-lieu-table:hover {
  color: #ef7a00;
}

#status-icon {
  border: none !important;
  padding: 0 !important;
  background-color: transparent;
}

.badge {
  min-width: 5rem !important;
  padding: 0.5em 0.4em !important;
}

.legend {
  min-width: 2rem !important;
  padding: 0.5em 0.4em !important;
  margin-right: 0.3rem;
  display: inline-block;
  font-size: 30%;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.box-legend {
  border-bottom: 1px solid darkgrey;
}

.badge-success {
  background-color: #4e997a !important;
}

.filter-input {
  display: block;
  margin-top: 0.5rem;
  width: 90%;
  font-size: 0.8rem;
  background-color: inherit;
  border-color: lightgray;
  border-width: thin;
  padding: 0.2rem;
  border-radius: 5px;
}

.table-profile {
  width: 90% !important;
}

.dt-layout-table {
  overflow: auto;
}

.cell-width {
  width: max-content;
}

input[type=checkbox]:checked {
  accent-color: rgb(149, 193, 31);
}

.custom-table {
  width: 90%;
  margin: 20px auto;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-table-an {
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
}

.custom-th, .custom-td {
  padding: 12px 15px;
  text-align: left;
}

.custom-th {
  background-color: #fec97f;
  color: white;
}

.custom-td {
  background-color: #fff;
}

.custom-table tbody tr:nth-child(even) .custom-td {
  background-color: #f4f6f7; /* Couleur pour les lignes paires */
}

.custom-table tbody tr:nth-child(odd) .custom-td {
  background-color: white; /* Couleur pour les lignes impaires */
}

/* Arrondir les coins extérieurs du tableau */
.custom-table {
  border-radius: 8px;
}

.custom-table thead .custom-th:first-child {
  border-top-left-radius: 8px;
}

.custom-table thead .custom-th:last-child {
  border-top-right-radius: 8px;
}

.custom-table tbody tr:last-child .custom-td:first-child {
  border-bottom-left-radius: 8px;
}

.custom-table tbody tr:last-child .custom-td:last-child {
  border-bottom-right-radius: 8px;
}

#table-mission {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-collapse: separate;
  padding: 0;
}

#table-mission th:first-child {
  border-top-left-radius: 12px;
}

#table-mission th:last-child {
  border-top-right-radius: 12px;
}

#table-mission tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

#table-mission tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

#passage-table {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-collapse: separate;
  padding: 0;
}

#passage-table th:first-child {
  border-top-left-radius: 12px;
}

#passage-table th:last-child {
  border-top-right-radius: 12px;
}

#passage-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

#passage-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

#listing1 table {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  border-collapse: separate;
  padding: 0;
}

.participant-icon {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  margin-left: 8px;
}

.participant-item:hover .participant-icon {
  opacity: 1;
}

.participant-item {
  transition: background-color 0.5s ease;
}

.participant-item.added {
  background-color: lightgreen;
}

.ql-snow .ql-toolbar {
  border: 1px solid #ddd;
  background: #f9f9f9;
}

.ql-snow .ql-toolbar .ql-redacted {
  color: red; /* Exemple pour personnaliser le bouton 'redacted' */
}

.card-header {
  background-image: url("../images/toppings/topping_Eclaireurs_bleu_400-cccfd5849786c32e6011e8b14d8e23b5.png");
  background-color: #0b4375 !important;
  padding: 0.2rem 1.25rem !important;
}

.card-header-yellow {
  background-image: url("../images/toppings/topping_Eclaireurs_bleu_400-cccfd5849786c32e6011e8b14d8e23b5.png");
  background-color: #0b4375 !important;
  padding: 0.2rem 1.25rem !important;
}

.card-header-show {
  background-image: url("../images/toppings/topping_Eclaireurs_bleu_400-cccfd5849786c32e6011e8b14d8e23b5.png");
  background-color: #0b4375 !important;
  padding: 0.2rem 1.25rem !important;
  position: relative;
  border: 1px solid white;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.card-cdz {
  background-color: #fec97f;
  background-image: url("../images/toppings/topping_Federation_blanc_75-29e8a2c46578d841c00f7c67ebee2e94.png");
  font-weight: 500;
  color: #0b4375;
  padding: 0.2rem 1.25rem !important;
}

.card-champLibre {
  background-color: rgb(140, 172, 197);
  background-image: url("../images/toppings/topping_Federation_blanc_75-29e8a2c46578d841c00f7c67ebee2e94.png");
  font-weight: 500;
  color: #0b4375;
  padding: 0.2rem 1.25rem !important;
}

.title-config {
  background-color: #f7f9fb;
  border-top-left-radius: 0.25rem;
  padding: 0.8rem 1.25rem 0.8rem 1.25rem;
  width: 13rem;
  margin-bottom: 0 !important;
}

.icon-cdz {
  color: #0b4375;
}

.card-disabled {
  opacity: 0.5;
  pointer-events: none; /* Désactiver les interactions si nécessaire */
}

.btn-primary {
  background-color: rgba(105, 145, 181, 0) !important; /*invisible*/
  border: 0 !important;
}

#ajout-propriete:hover svg {
  color: #ef7a00 !important;
}

.small-block {
  font-size: 0.875rem; /* Réduit la taille de la police */
  margin-bottom: 1rem; /* Ajoute un peu d'espace entre les blocs */
}

.col-4 {
  width: 30%; /* Ajuste la largeur des colonnes de gauche */
}

.col-8 {
  width: 65%; /* Ajuste la largeur de la colonne de droite */
}

.row-jc-sb {
  display: flex;
  justify-content: space-between; /* Assure que les colonnes sont espacées */
}

.card-primary-mb {
  margin-bottom: 1.5rem; /* Espace entre les cartes */
}

.toggle-visibility-icon {
  width: 20px;
  height: 20px;
  color: #0b4375 !important;
  margin: auto 0;
}

.toggle-visibility-icon svg {
  vertical-align: baseline;
}

.geoloc-icon {
  color: #0b4375 !important;
  margin: auto 0.2rem auto 0.6rem;
}

.down-icon svg {
  vertical-align: sub !important;
}

.entre-ligne {
  border-bottom: solid 1px lightgrey;
}

.entre-bloc {
  background-color: #f7f9fb;
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid #0b4375;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
}

.button-select-lieux:hover {
  color: #ef7a00;
}

.bloc-container {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
}

.bloc-passe-passe {
  width: fit-content;
  position: sticky;
  top: 80px;
  height: max-content;
  margin-top: 2rem;
  margin-left: 1rem;
}

.bloc-listing {
  width: 80%;
  padding-left: 2rem;
}

.bloc-passe-passe li {
  list-style: none;
  font-size: 0.8rem;
  color: black;
}

.bloc-passe-passe a:hover {
  color: #0b4375;
}

.bloc-passe-passe a {
  color: rgb(149, 193, 31);
}

.border-green-scouts {
  border: 2px solid rgb(149, 193, 31);
}

.chart-container:hover .chart-detail {
  display: block !important;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chart-detail {
  width: 330% !important;
}

.chart-detail-box {
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.chart-detail-box.show {
  opacity: 1;
}

.img-bkground-pos {
  position: absolute;
  top: 30px;
  width: 40%;
}

.img-bkground-pos-2 {
  position: absolute;
  top: -80px;
  width: 40%;
  left: 880px;
  transform: rotate(45deg);
}

.bg-Jaune {
  background-color: #fbbb50;
}

.bg-Orange {
  background-color: #ef7a00;
}

.bg-Turquoise {
  background-color: rgb(43, 153, 164);
}

.bg-Vert {
  background-color: rgb(149, 193, 31);
}

.bg-vert-louveteaux {
  background-color: #296f52 !important;
}

.bg-Prune {
  background-color: rgb(78, 29, 79);
}

.bg-Bleu_foncé {
  background-color: #0b4375;
}

.bg-Rose {
  background-color: rgb(224, 63, 123);
}

.bg-Bleu_clair {
  background-color: rgb(21, 173, 234);
}

.bg-ls-blue-grey {
  background-color: #3a70a1;
}

.title-scouts {
  color: rgb(149, 193, 31);
}

.toggle-button {
  border: 0;
  background-color: transparent;
}

.form-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.left-column, .right-column {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.date-group {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.date-group .form-group {
  flex: 1;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

form input, form textarea, form select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form input[type=submit] {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
}

form input[type=submit]:hover {
  background-color: #0056b3;
}

.tag-option {
  display: inline-block;
  border-radius: 10px;
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  transition: border 0.3s;
  margin-right: 1rem;
}

.tag-option.selected {
  border: 2px solid blue;
}

.tag-selected {
  border: 2px solid blue;
}

.tag-selection {
  margin-bottom: 1rem;
}

.eye-more {
  color: white;
  float: right;
}

.eye-more:hover {
  color: #ef7a00 !important;
}

#remarque_boTags {
  border: 0;
  overflow: hidden;
  height: 3rem;
  padding: 0;
}

#remarque_isPrivate {
  width: 10px !important;
  margin-left: 1rem;
  margin-bottom: 0.2rem;
}

.btn-isprivate {
  width: 10px !important;
  margin-left: 1rem;
  margin-bottom: 0.2rem;
}

.popover {
  font-size: 0.9rem;
  background-color: #f8f9fa;
  color: #333;
  border-radius: 0.25rem;
}

.popover .popover-arrow {
  border-top-color: #f8f9fa;
}

.tooltip-icon {
  color: rgb(43, 153, 164);
}

.tooltip-content {
  display: none;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  pointer-events: all; /* Permet de copier-coller */
  position: absolute;
  white-space: nowrap;
}

.tooltip-trigger {
  position: relative;
}

.tooltip-content:hover {
  display: block; /* Permet au tooltip de rester visible quand la souris est dessus */
}

/* Styles de Quill.js */
.ql-container {
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 13px;
  height: auto;
  margin: 0;
  position: relative;
}

.ql-editor {
  box-sizing: border-box;
  line-height: 1.42;
  height: auto;
  outline: none;
  overflow-y: auto;
  padding: 12px 15px;
  tab-size: 4;
  -moz-tab-size: 4;
}

.ql-toolbar {
  box-sizing: border-box;
  padding: 8px;
}

.description {
  font-family: "Helvetica", "Arial", sans-serif;
  line-height: 1.42;
  padding: 12px;
}

.description ol {
  list-style-type: decimal;
  margin-left: 20px;
}

.description ul {
  list-style-type: disc;
  margin-left: 20px;
}

.description strong {
  font-weight: bold;
}

.description em {
  font-style: italic;
}

.description u {
  text-decoration: underline;
}

.tooltip-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  opacity: 0;
}

.tooltip-trigger:hover .tooltip-content,
.tooltip-content:hover {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 0;
}

.container-vueFiche {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bloc {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #ccc;
}

.bloc-primary {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.bloc-primary .left, .bloc-primary .right {
  display: flex;
  flex-direction: column;
}

.bloc-primary .left {
  flex: 2;
}

.bloc-primary .right {
  flex: 1;
  align-items: flex-end;
}

.bloc-secondary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
}

.bloc-secondary .left, .bloc-secondary .right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bloc-tertiary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bloc-tertiary .sub-bloc {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 10px;
}

.option-color {
  color: white;
}

.option-color:hover {
  background-color: white;
  color: #0b4375;
}

.modal-dialog {
  max-width: 1000px !important;
}

.btn-remarque {
  background-color: rgb(43, 153, 164);
  border-radius: 10px;
  border: 0 !important;
}

.btn-login {
  background-color: rgb(149, 193, 31);
  border-radius: 10px;
  border: 0 !important;
}

.btn-new-entity {
  background-color: #0b4375;
  border-radius: 10px;
  border: 0 !important;
  width: fit-content;
  color: white !important;
}

.btn-new-entity:hover {
  background-color: #0b7572;
}

.btn-remarque-blue {
  background-color: #0b4375;
  border-radius: 10px;
  border: 0 !important;
}

.btn-remarque-vert {
  background-color: #296f52;
  border-radius: 10px;
  border: 0 !important;
  color: white;
}

.btn-remarque-vert:hover {
  background-color: #4e826d;
  color: white;
}

.btn-remarque-vertclair {
  background-color: rgb(149, 193, 31);
  border-radius: 10px;
  border: 0 !important;
  color: white;
}

.btn-remarque-blue-grey {
  background-color: #3a70a1;
  border-radius: 10px;
  border: 0 !important;
}

.btn-remarque-blue-grey:hover {
  background-color: #587d9e;
}

.btn-remarque:hover {
  background-color: #ef7a00;
}

.btn-remarque-blue:hover {
  background-color: #3a70a1;
}

.btn-lire-plus {
  border: 0;
  background-color: transparent;
  color: #0b4375;
  float: right;
  padding-bottom: 1rem;
}

.btn-lire-plus:hover {
  color: #ef7a00;
}

.icon-cross {
  color: #0b4375 !important;
}

/****************************/
/*                          */
/*        Chargement        */
/*                          */
/****************************/
#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh; /* Hauteur égale à la vue du navigateur */
}

.loader {
  border: 8px solid #f3f3f3; /* Couleur de fond du cercle */
  border-top: 8px solid #3498db; /* Couleur de l'animation (le bord supérieur) */
  border-radius: 50%; /* Pour rendre le cercle */
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite; /* Animation continue */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.config-table th, .table td {
  white-space: nowrap;
}

.col-min {
  width: 1%;
  white-space: nowrap;
}

.col-wide {
  width: 100%;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grab:active {
  cursor: grabbing;
}

/* Le container doit être en flex */
.select-edit-multiple {
  display: flex;
  align-items: stretch;
  gap: 0.25rem; /* optionnel */
}

/* Le wrapper du TomSelect doit prendre la place dispo */
.select-edit-multiple .select-ts {
  flex: 1 1 auto;
  min-width: 0; /* SUPER important pour que l'ellipsis marche en flex */
}

/* TomSelect a plusieurs wrappers : on force la largeur */
.select-edit-multiple .select-ts .ts-wrapper,
.select-edit-multiple .select-ts .ts-control {
  width: 100%;
}

/* Empêche le texte sélectionné d'étirer le layout */
.select-edit-multiple .select-ts .ts-control {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Le bouton ne doit jamais rétrécir */
.select-edit-multiple .select-save {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* prend toute la place dispo de la cellule, stable */
.select-edit-multiple {
  width: 100%;
}

.select-edit-multiple .select-ts {
  flex: 1 1 auto;
  min-width: 0;
}

/* ton bouton/valeur en mode lecture prend la même empreinte */
.btn-edit-listing {
  display: inline-flex;
  width: 100%;
  justify-content: flex-start;
}

.config-table th, .table td {
  white-space: nowrap;
}

.col-min {
  width: 1%;
  white-space: nowrap;
}

.col-wide {
  width: 100%;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grab:active {
  cursor: grabbing;
}

.offline-banner {
  background-color: #ffc107;
  color: #000;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 8000;
  width: 100%;
  display: block;
}
.offline-banner.d-none {
  display: none !important;
}
.offline-banner i {
  margin-right: 10px;
}

.simple-edit-container .edit-form.d-none, .simple-edit-container .edit-view.d-none {
  display: none !important;
}

.offline-pending {
  position: relative;
  opacity: 0.7;
}
.offline-pending::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 193, 7, 0.2);
  border: 2px dashed #ffc107;
  border-radius: inherit;
  pointer-events: none;
  animation: pulse-offline 2s infinite;
  z-index: 10;
}

@keyframes pulse-offline {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

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