
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&family=Roboto:ital,wght@0,100;1,100&display=swap');



body {
    font-family: "Roboto", serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #333333; /* Couleur par défaut du texte */
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}


h1, h2, h3, h4, h5{
    font-weight: 100;
    font-size: 2rem;
    color: #222222;
}

h8 {
	margin-top: 20px;
    font:600 16px/1.2 system-ui, sans-serif;
    color: #222222;
}

h7 {
	margin-top: 0px;
    font-weight: 900;
    font-size: 1.2rem;
    color: #222222;
}

h6 {
	margin: 0;
	margin-top: 20px;
    font-weight: 100;
    font-size: 2rem;
    color: #222222;
}

p {
    line-height: 1.6;
    margin: 0.5em 0;
    font-weight: 300;
}


.Normal {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-size: 2.5rem;
  font-variation-settings:
    "wdth" 100;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.container {
    max-width: 100%;
    margin: 0 auto;
}

/* Layout des div principales */
header {
    background-color: #fff;
    padding: 2px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	font:600 28px/1.2 system-ui, sans-serif;
}

main {
    flex: 1;
	text-align: center;
}


footer {  padding: 10px; text-align: center; display: block; }

    #main-box {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap; 
    }

    #box1, #box2 {
      width: 50%; 
	  padding: 10px;
      text-align: center;
	  box-sizing: border-box;
	  font-family: "Roboto", serif;
	  font-optical-sizing: auto;
	  font-weight: 100;
	  font-style: normal;
	  font-size: 1rem;
    }

    @media (max-width: 768px) {
      #box1, #box2 {
        width: 100%;
      }
    }

/*

.btn-1 {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;

}

.btn-1 a {
    width: 200px;
  min-width: 200px;
  max-width: 200px;
  text-decoration: none;
  border: 2px solid #010100;
  padding: 15px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

span {
  position: relative;
  z-index: 3;
}

.btn-1 a::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -2px;
  width: calc(100% + 6px);
  height: calc(100% - 10px);
  background-color: #ffffff;
  transition: all 0.5s ease-in-out;
  transform: scaleY(1);
}

.btn-1 a:hover::before {
  transform: scaleY(0);
}

.btn-1 a::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -5px;
  width: calc(100% - 10px);
  height: calc(100% + 10px);
  background-color: #ffffff;
  transition: all 0.5s ease-in-out;
  transform: scaleX(1);
}


.btn-1 a:hover::after {
  transform: scaleX(0);
}
*/

.btn {
    display: inline-block; /* Nécessaire pour styliser comme un bouton */
    width: 250px;
    height: 50px;
    line-height: 50px; /* Aligne le texte verticalement */
    text-align: center; /* Aligne le texte horizontalement */
    border: 1px solid #000;
    border-radius: 8px;
    background-color: #fff;
    color: #000;
    text-decoration: none; /* Supprime le soulignement */
	font-family: "Roboto", serif;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f0f0f0;
    color: #333;
    border-color: #333;
}

#div_inscription {
	width: 600px;
	margin : 0 auto;
	
}
@media (max-width: 768px) {
      #div_inscription {
        width: 99%;
      }
    }


#div_login {
	width: 600px;
	margin : 0 auto;
	
}
@media (max-width: 768px) {
      #div_login {
        width: 99%; 
      }
    }


#div_main {
	width: 600px;
	margin : 0 auto;
	
}
@media (max-width: 768px) {
      #div_main {
        width: 99%; 
      }
    }

// iOS Reset 
input {
	appearance: none;
	border-radius: 0;
}


.input {
	
	display: flex;
	flex-direction: column-reverse;
	position: relative;
	padding-top: 1.5rem;
	&+.input {
		margin-top: 1.5rem;
	}
}

.input-label {
	color: #8597a3;
	position: absolute;
	top: 1.5rem;
	transition: .25s ease;
	font-weight: 900;
	font-size: 16px;
}

.input-field {
	border: 0;
	z-index: 1;
	background-color: transparent;
	border-bottom: 2px solid #eee; 
	font: inherit;
	font-size: 1.125rem;
	padding: .25rem 0;

}

.input-field:focus,
.input-field:not(:placeholder-shown) {
    outline: 0;
    border-bottom-color: #6658d3;
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
    color: #6658d3;
    transform: translateY(-1.5rem);
}

.input-field[required] + .input-label::after {
    content: " *";
    color: red;
    font-size: 0.8em;
    margin-left: 3px;
}
/* Groupe radio intégré dans ton style */
.radio-group {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    position: relative;
}

/* Label principal (comme tes champs texte) */
.radio-group .input-label {
    color: #8597a3;
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 0.8rem;
    position: static;
    transform: none;
}

/* Conteneur des options */
.radio-options {
    display: flex;
    gap: 1.5rem;
}

/* Label autour d’une option */
.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    position: relative;
}

/* Masquer les radios natifs */
.radio-option input[type="radio"] {
    appearance: none;
    position: absolute;
    opacity: 0;
}

/* Cercle personnalisé */
.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #aaa;
    border-radius: 50%;
    margin-right: 0.5rem;
    display: inline-block;
    position: relative;
    transition: border-color 0.25s;
}

/* Cercle intérieur quand coché */
.radio-option input[type="radio"]:checked + .custom-radio::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #6658d3;
    border-radius: 50%;
}

/* Effet focus */
.radio-option input[type="radio"]:focus + .custom-radio {
    border-color: #6658d3;
}

.action {
	margin-top: 2rem;
}

.action-button {
	font: inherit;
	font-size: 1.25rem;
	padding: 1em;
	width: 100%;
	font-weight: bold;
	background-color: #6658d3;
	border-radius: 6px;
	color: #FFF;
	border: 0;
	&:focus {
		outline: 0;
	}

}

.action-button:disabled {
	background-color: red !important;
	color: white !important;
	cursor: not-allowed;
	opacity: 0.9;
	border: none;
}

.card-info {
	padding: 1rem 1rem;
	text-align: center;
	font-size: .875rem;
	color: #8597a3;
	a {
		display: block;
		color: #6658d3;
		text-decoration: none;
	}
}


.link-button {
	font: inherit;
	font-size: 1.25rem;
	padding: 1em;
	font-weight: 500;
	background-color: #6658d3;
	border-radius: 6px;
	color: #FFF;
	cursor: pointer;
	border: 0;
	&:focus {
		outline: 0;
	}
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; 
  justify-content: flex-start; 
}

.box-menu {
  flex: 0 0 calc(33.33% - 10px); 
  min-width: 200px;
  max-width: 200px;
  background-color: #ddd;
  padding: 20px;
  text-align: center;
  border: 1px solid #aaa;
  box-sizing: border-box;
}


@media (max-width: 650px) {
  .menu {
    justify-content: center;
  }
  .box-menu {
    flex: 0 0 90%; 
    max-width: 300px;
  }
}


#div_decompte {
	width: 600px;
	margin : 0 auto;
	text-align: left;
}

#div_decompte_cat {
	width: 590px;
	margin: 0 auto;
	text-align: left;
	background: #add8e6; /* bleu clair */
	padding: 10px;       /* un peu d’espace intérieur */
	border-radius: 5px;  /* optionnel : coins arrondis pour plus de douceur */
	margin-top: 5px;
	font-weight: bold;
}

#div_decompte_cat_1 {
	width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 10px;
	border-radius: 5px;
	margin-top: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 245px 100px 100px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_1 > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

#div_decompte_cat_1_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 245px 100px 100px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_1_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

.div_decompte_cat_1_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns:  245px 100px 100px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

.div_decompte_cat_1_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}


#div_decompte_cat_2 {
	width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 145px 90px 80px 80px 50px 80px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_2 > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

#div_decompte_cat_2_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 145px 90px 80px 80px 50px 80px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_2_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}


.div_decompte_cat_2_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 145px 90px 80px 80px 50px 80px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

.div_decompte_cat_2_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

#div_decompte_cat_3 {
	width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 468px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_3 > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

#div_decompte_cat_3_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 468px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_3_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}


.div_decompte_cat_3_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 468px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

.div_decompte_cat_3_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

#div_decompte_cat_4 {
	width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 468px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_4 > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

#div_decompte_cat_4_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 468px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

#div_decompte_cat_4_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

.div_decompte_cat_4_d {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	border-radius: 5px;
	margin-top: 5px;
	font-weight: bold;
	font-size: 12px;

	display: grid;
	grid-template-columns: 468px 100px 20px; /* 4 colonnes égales */
	gap: 10px; /* espace entre colonnes */
}

.div_decompte_cat_4_d > div {
	border: 1px solid #000; /* bordure noire fine pour chaque case */
	padding: 5px;
	border-radius: 3px; /* optionnel : coins légèrement arrondis */
	background: #fff;   /* optionnel : fond blanc pour contraste */
}

.btn-form { padding:6px 8px; border:1px solid #999; background:#f5f5f5; border-radius:4px; cursor:pointer; }
.btn-form:hover { background:#eee; }
.input-form { padding:6px 8px; border:1px solid #ccc; border-radius:4px; }
.badge {
  display:inline-flex; align-items:center; gap:6px;
  background:#eef; border:1px solid #ccd; border-radius:999px; padding:2px 8px;
  margin:2px 0;
}
.badge button { border:0; background:transparent; cursor:pointer; font-weight:700; }







.decompte-list-wrap {
  max-width: 900px;
  margin: 20px auto;
  padding: 8px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Une ligne = une "carte" */
.card {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transform: scale(0.50);
  opacity: .5;
  transition: transform .28s ease, opacity .28s ease, box-shadow .28s ease;
  will-change: transform, opacity;
}

/* En vue -> zoom in */
.card.in-view {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.card .line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  margin: 4px 0;
  font-size: 14px;
}
.card .line b { text-align: right; color: #333; }

.card .title {
  display:flex; justify-content:space-between; align-items:center;
  font-weight: 700; margin-bottom: 6px;
}
.badge {
  font-size: 12px; border-radius: 999px; padding: 2px 8px;
  background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe;
}

.loader {
  text-align: center;
  margin: 16px 0;
  color: #555;
}

.sentinel {
  height: 1px;
}
