.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.checkbox input {
  display: none; /* cache la checkbox native */
}

.checkbox span {
  position: relative;
  padding-left: 30px;
}

/* Carré */
.checkbox span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 4px;
}

/* Check */
.checkbox input:checked + span::after {
  content: "✔";
  position: absolute;
  left: 3px;
  top: -1px;
  font-size: 18px;
  color: #007bff;
}

/*Checkbox stylées (harmonie contact)*/

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.checkbox {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #ddd;
    padding-left: 36px;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid aquamarine;
    background: transparent;
    transition: all 0.3s ease;
    visibility: hidden;
}

.checkbox::after {
    content: "✔";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 14px;
    color: #0f2027;
    transition: transform 0.2s ease;
}

.checkbox input:checked + span ~ ::before {
    background: aquamarine;
}

.checkbox input:checked + span ~ ::after {
    transform: translateY(-50%) scale(1);
}

.checkbox input:checked + span {
    color: aquamarine;
    font-weight: 500;
}

/* footer agrandir le texte */

#mentions {
    /*text-decoration : none;*/
    color: var(--main-color);
}

#manage-cookies {
    text-decoration : none;
    
}

.cookie-link {
    background: none;
    border: none;
    color: aquamarine;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}
.cookie-link:hover {
    text-decoration: underline;
}

/* bandeau cookies */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1f2933;
    color: #fff;
    padding: 15px 20px;
    display: none;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

#cookie-banner p {
    margin: 0;
    font-size: 14px;
}

#cookie-banner a {
    color: aquamarine;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

#accept-cookies {
    background: aquamarine;
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

#reject-cookies {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
}
