﻿@charset "UTF-8";
/* --- RESET --- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Chrome */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Opéra*/
input::-o-inner-spin-button,
input::-o-outer-spin-button {
  -o-appearance: none;
  margin: 0;
}

input[type=date] {
  position: relative;
}
input[type=date]:not(.originalDatepicker) + .form__picto {
  background-color: white;
}
input[type=date]:not(.originalDatepicker)::-webkit-inner-spin-button, input[type=date]:not(.originalDatepicker)::-webkit-calendar-picker-indicator {
  appearance: none;
  display: none;
}
input[type=date].originalDatepicker::-webkit-inner-spin-button, input[type=date].originalDatepicker::-webkit-calendar-picker-indicator {
  width: 54px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
}

textarea {
  resize: none;
}

button,
select,
option {
  cursor: pointer;
}

body {
  font-family: sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

button {
  outline: 0;
  border: 0;
}

img {
  max-width: 100%;
}

/* --- /RESET --- */
/* === Sora === */
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora/Sora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora/Sora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #FAFAFA;
  color: #404040;
  font-family: "Sora";
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}
body input,
body button,
body textarea {
  font-family: "Sora";
}

/* === Class globales === */
.hide {
  display: none !important;
}

.no-overflow {
  overflow: hidden !important;
}

.accordion {
  position: relative;
  overflow: hidden;
}
.accordion:has(.select--active) {
  overflow: visible;
}
.accordion--active .accordion__arrow {
  transform: rotate(-180deg);
}
.accordion--active .accordion__content {
  margin-top: 10px;
  grid-template-rows: 1fr;
}
.accordion__head {
  cursor: pointer;
}
.accordion__arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, margin-top 0.3s ease;
}
.accordion__desc, .accordion-list {
  overflow: hidden;
}
.accordion__desc:has(.select--active), .accordion-list:has(.select--active) {
  overflow: visible;
}

.select {
  border: 1px solid red;
  border-radius: 8px;
  background-color: white;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}
.select--active {
  border-radius: 8px 8px 0 0;
}
.select--active .select__arrow {
  transform: rotate(-180deg);
}
.select--active .select__content {
  border: 1px solid #bbbbbb;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0px 5px 20px 0px rgba(16, 31, 61, 0.1);
  grid-template-rows: 1fr;
  opacity: 1;
}
.select--active .select-list__label {
  border-top: 1px solid red;
}
.select--disabled {
  cursor: not-allowed;
  opacity: 0.8;
}
.select--scroll .select-list {
  overflow-y: scroll;
  max-height: 500px;
}
.select--scroll .select-list::-webkit-scrollbar {
  width: 10px;
}
.select--scroll .select-list::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #ededed;
  cursor: pointer;
}
.select--scroll .select-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #7e7e7e;
  cursor: pointer;
}
.select:has(input:checked) .select__result {
  color: green;
  font-weight: 400;
}
.select__head {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.select__result {
  color: red;
  font-size: 14px;
  line-height: 18px;
}
.select__arrow {
  transition: transform 0.3s ease;
}
.select__content {
  box-sizing: content-box;
  width: 100%;
  border: 0;
  border-color: #bbbbbb;
  background-color: white;
  display: grid;
  grid-template-rows: 0fr;
  position: absolute;
  left: -1px;
  z-index: 2;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}
.select-list {
  overflow: hidden;
}
.select-list__label {
  width: 100%;
  padding: 10px;
  display: block;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.select-list__label:hover {
  background-color: green;
  color: white;
}
.select-list__label--suggested .highlight {
  background-color: blue;
}
input:checked ~ .select-list__label {
  background-color: green;
  color: white;
}

.switch {
  width: 52px;
  height: 30px;
  border-radius: 50px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}
.switch:has(.switch__input:checked) {
  border-color: #FF5500;
}
.switch:has(.switch__input:checked) .switch__slider::before {
  background: linear-gradient(135deg, #FF8000 0%, #FF5500 100%);
  transform: translateX(22px);
}
.switch:has(.switch__input:checked) .switch__txt {
  background: linear-gradient(135deg, #FF8000 0%, #FF5500 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.switch__slider {
  width: 100%;
  height: 100%;
  border-radius: 48px;
  background-color: white;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s ease;
}
.switch__slider:before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 6px 0px rgba(16, 31, 61, 0.06);
  position: absolute;
  left: 2px;
  transition: all 0.2s ease;
}
.switch__txt {
  width: max-content;
  color: rgba(0, 0, 0, 0.2);
  font-size: 16px;
  position: absolute;
  top: 2px;
  left: 62px;
  transition: all 0.2 ease;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox__input {
  flex-shrink: 0;
  margin: 0;
  border: 1.5px solid red;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-self: center;
}
.checkbox__input::before {
  content: "✔";
  color: white;
  font-weight: 700;
  line-height: 16px;
  opacity: 0;
  -webkit-opacity: 0;
  transition: color 0.15s ease, opacity 0.15s ease, border 0.15s ease;
}
.checkbox__input:checked::before {
  color: blue;
  opacity: 1;
  -webkit-opacity: 1;
}
.checkbox__input--round {
  flex-shrink: 0;
  margin: 0;
  border: 1.5px solid red;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
}
.checkbox__input--round::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  transition: background-color 0.15s ease;
}
.checkbox__input--round:checked::before {
  background-color: blue;
}
.checkbox__input--round::before {
  width: 10px;
  height: 10px;
}
.checkbox__label {
  font-size: 14px;
  line-height: 15px;
  cursor: pointer;
}

.search {
  width: 100%;
  border-radius: 26px;
  background-color: white;
  box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.search__picto {
  position: absolute;
  left: 50px;
}
.search__input {
  width: 100%;
  border: 0;
  padding: 15px 15px 15px 84px;
  color: rgba(0, 0, 0, 0.2);
  font-size: 16px;
}
.search__input::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.popup {
  width: 100%;
  height: 100vh;
  padding: 20px;
  background-color: rgba(16, 31, 61, 0.33);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.popup__content {
  border-radius: 10px;
  padding: 50px;
  background-color: #fafafa;
}
