@charset "UTF-8";
h1, h2, h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.5;
}

h1 {
  font-size: 40px;
  font-weight: bold;
}

h2 {
  font-size: 24px;
  font-weight: semi-bold;
}

h3 {
  font-size: 16px;
  font-weight: normal;
}

.form-flex {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .form-flex {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
  }
}
.form-flex .form-item {
  flex: 1;
  width: 100%;
}
.form-flex .form-item-large {
  flex: 2;
  width: 100%;
}

.form-flex-start {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .form-flex-start {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

.zones__legend {
  font-size: 24px;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}
.zones__title {
  font-size: 20px;
}
.zones__fieldset {
  display: flex;
  gap: 1.5rem;
}
.zones__group {
  flex: 1;
  margin-bottom: 1.5rem;
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid #ecf0f1;
}
.zones__label {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form {
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  background: #ecf0f1;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(44, 62, 80, 0.1);
  flex: 1;
  /* Chaque case + label */
  /* Case à cocher custom */
  /* coche “✓” */
  /* Label associé */
}
.form__field {
  margin-bottom: 1.5rem;
}
.form__group {
  flex: 1;
  margin-bottom: 1.5rem;
}
.form__label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
  color: #2c3e50;
}
.form__input, .form__select, .form__textarea {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  background-color: #ffffff;
  color: #2c3e50;
  transition: border-color 0.2s ease-in-out;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: #1ABC9C;
}
.form__checkbox {
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
  margin-bottom: 1rem;
}
.form__select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg…%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  appearance: none;
}
.form__error {
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #e74c3c;
}
.form__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  background-color: #1ABC9C;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}
.form__button:hover {
  background-color: rgb(22.9018691589, 165.5981308411, 137.4112149533);
}
.form__button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}
.form__new_button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  background-color: #F1C40F;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}
.form__new_button:hover {
  background-color: rgb(22.9018691589, 165.5981308411, 137.4112149533);
}
.form__new_button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}
.form .checkbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* espace entre chaque ligne */
  align-items: flex-start;
}
.form .checkbox-container-block {
  display: block;
}
.form .checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form .styled-checkbox {
  /* on masque l’aspect natif */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #555;
  border-radius: 0.25em;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.form .styled-checkbox:checked {
  background-color: #1ABC9C;
  border-color: #1ABC9C;
}
.form .styled-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 0.1em;
  left: 0.38em;
  width: 0.25em;
  height: 0.65em;
  border: solid white;
  border-width: 0 0.2em 0.2em 0;
  transform: rotate(45deg);
}
.form .styled-label {
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}

.back_button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  background-color: #E67E22;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}
.back_button:hover {
  background-color: rgb(214.262195122, 113.4329268293, 24.237804878);
}

.delete_button {
  color: red;
  cursor: pointer;
}
.delete_button:hover {
  cursor: pointer;
}

.intro {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.intro__title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1ABC9C;
}
.intro__subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1ABC9C;
}
.intro__list {
  list-style: disc inside;
  margin: 1rem 0;
}
.intro__deadline {
  font-weight: bold;
  color: rgb(19.8037383178, 143.1962616822, 118.8224299065);
}
.intro__closing {
  margin-top: 1rem;
  font-style: italic;
}

.progress {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.green {
  background: #1ABC9C;
}

.activities-table {
  width: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  border-collapse: collapse;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.activities-table th,
.activities-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgb(145.5365853659, 77.0487804878, 16.4634146341);
}
.activities-table thead {
  background-color: #1ABC9C;
}
.activities-table thead th {
  color: #fff;
  font-weight: bold;
}
.activities-table tbody tr:nth-child(even) {
  background-color: rgb(250.7317073171, 232.9756097561, 217.2682926829);
}
.activities-table tbody tr:hover {
  background-color: rgb(174.1775700935, 243.8224299065, 230.0654205607);
}
@media (max-width: 600px) {
  .activities-table {
    display: block;
  }
  .activities-table thead {
    display: none;
  }
  .activities-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid white;
    border-radius: 0.5rem;
  }
  .activities-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
  }
  .activities-table td:before {
    content: attr(data-label);
    font-weight: bold;
  }
}

.alert {
  position: relative;
  padding: 1rem 1.5rem 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
}
.alert.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}
.alert.fade.show {
  opacity: 1;
}
.alert-success {
  background-color: #d1e7dd;
  border-color: #badbcc;
  color: #0f5132;
}
.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}
.alert-warning {
  background-color: #fff3cd;
  border-color: #ffecb5;
  color: #664d03;
}
.alert-info {
  background-color: #cff4fc;
  border-color: #b6effb;
  color: #055160;
}
.alert .btn-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1rem;
  height: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.alert .btn-close:hover {
  opacity: 0.75;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
  padding: 2rem;
}
