:root {
  --primary-color: #0917ba;
  --secondary-color: #04003d;
  --text-color: #3b3a3a;
  --background: #f4f4f4;
  --white: #fff;
  --deg: linear-gradient(180deg, rgba(9, 23, 186, 1) 0%, rgba(4, 0, 61, 1) 39%);
  --border-radius: 5px;
}
.titre{
  margin-bottom: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* color: var(--text-color); */
}

body {
  font-family: Arial, sans-serif;
  background: var(--deg);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.texte_center {
  text-align: center;
}

.gap {
  gap: 10px;
}

.gaps {
  gap: 30px;
}

.big_gap {
  gap: 50px;
}

.flexs {
  display: flex !important;
  align-items: center !important;
}

.flexs_align_center {
  align-items: center !important;
}

.deg {
  background: var(--deg);
}

.flexs-s {
  display: flex !important;
}

.flexs_space {
  justify-content: space-between;
}

.flexs_end {
  justify-content: flex-end;
}

.flexs_center {
  justify-content: center;
}

.flexs_wap {
  flex-wrap: wrap;
}

.flexs_column {
  flex-direction: column;
}

.flexs_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.flexs_grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bloc_page {
  width: 100%;
  max-width: 400px;
  margin: auto;
  position: relative;
}
/* menu */
.logo {
  padding: 5px 5px;
}

.logo img {
  width: 40px;
}

.logo h1 {
  color: var(--white);
  font-size: 15px;
}

.bar {
  margin: 4px auto;
  background: var(--white);
  width: 50%;
  height: 5px;
  border-radius: 50px;
}
.contents {
  background: var(--background);
  border-radius: 30px 30px 0px 0px;
  min-height: 100vh;
  padding: 10px 20px;
}



a {
  text-decoration: none;
}

.carte_menu {
  background: #ffffff;
  color: #04003d;
  min-height: 100px;
  border-radius: var(--border-radius);
  transition: all 1000ms ease-in-out;
}
.carte_menu:hover {
  /* box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; */
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset; */
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: all 100ms ease-in-out;
}
.carte_menu i {
  margin-bottom: 5px;
  font-size: 30px;
}

.carte_note {
  background: var(--white);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.carte_note h1{
  font-size: 18px;
  color: var(--primary-color);
}
/* menu */

.menu_footer {
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50px;
  max-width: 400px;
  margin: auto;
  border-radius: 10px 10px 0px 0px;
  background-color: var(--primary-color);
}
.menu_footer a {
  width: 100px;
  color: var(--white);
  font-size: 12px;
  text-align: center;
  display: block;
  padding: 10px;
  transition: all 100ms ease-in-out;
}
.menu_footer a:hover {
  background: var(--secondary-color);
  color: var(--white);
  transition: all 100ms ease-in-out;
}
.menu_footer a i {
  font-size: 20px;
  display: block;
  margin-bottom: 5px;
}
.menu_footer a span {
  font-size: 12px;
  display: block;
  margin-top: 5px;
}
.menu_footer a.active {
  color: #007bff; /* Couleur pour l'élément actif */
  font-weight: bold;
  transition: all 100ms ease-in-out;
  background: var(--secondary-color);
}
.profils {
  background: var(--white);
  padding: 10px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border-left: 3px solid var(--secondary-color);
}
.profil {
  background: var(--white);
  padding: 10px;
  border-radius: var(--border-radius);
}
.profil img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.profils h3 {
  margin-left: 5px;
  font-size: 20px;
  color: var(--text-color);
}
.profils p {
  /* font-size: 20px; */
  color: var(--text-color);
}

.bocks_info{
  background: var(--white);
  padding: 10px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

hr {
  width: 90%;
  border: 0;
  border-radius: 40px;
  height: 3px;
  background: var(--secondary-color);
  margin: 10px auto;
}

/* panel */

.accordion {
  background-color: var(--primary-color);
  color: var(--white);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: background-color 0.6s ease;
  margin-bottom: 2px;
  border-radius: 10px;
}

.accordion:hover, .active {
  background-color: var(--primary-color); /* ajoute une couleur au survol si tu veux */
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
  background: none; /* ou une autre couleur */
}


/* sleder */
.slider {
  display: flex;
  overflow-x: auto;
  /* padding: 10px; */
  margin-top: 10px;
  gap: 12px;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  -ms-overflow-style: none;  /* IE et Edge */
  scrollbar-width: none;     /* Firefox */
}
.slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari et Opera */
}
.slider a {
  flex: 0 0 auto;
  padding: 8px 16px;
  background-color: #e0e0e0;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  transition: background 2000ms;
}
.slider a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: bold;
  transition: all 100ms ease-in-out;
}
.slider::-webkit-scrollbar {
  height: 6px;
}
.slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.slider .active {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: bold;
  transition: all 100ms ease-in-out;
}

.slider .active:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: bold;
  transition: all 100ms ease-in-out;
}

/* times */

.carte_time{

}

.times{
  background-color: #007bff;
  color: var(--white);
  height: 50px;
  border-radius: var(--border-radius);
  padding: 10px;
  margin: 10px 0;
}

.times_p1 {
  width: 65%;
 
}

.times_p2{
  width: 30%;
}

/* prof */

.prof img{
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.prof p{
  font-size: 13px;
}

.prof .classe{
  background: var(--primary-color);
  color: var(--white);
  padding: 10px;
  border-radius: var(--border-radius);
  height: 40px;
}

/* payment */

.statu_icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
}

.true{
  background: #005A3F;
}

.false{
  background: #d20000;
}

/* home menu */
.menu_home a{
  background: var(--primary-color);
  width: 100%;
  color: var(--white);
  height: 100px;
  padding: 10px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  /* box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; */
}

.menu_home a:hover{
  background: var(--secondary-color);
  width: 100%;
  color: var(--white);
  height: 100px;
  padding: 10px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  /* box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; */
}

/* message */

.message-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  gap: 15px;
  max-width: 400px;
  width: 100%;
  transition: transform 0.2s ease;
  margin-bottom: 10px;
}

.message-card:hover {
  transform: scale(1.02);
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.message-content {
  flex: 1;
}

.username {
  font-weight: 600;
  margin: 0;
}

.message-text {
  margin: 5px 0;
  color: #555;
}

.timestamp {
  font-size: 0.8em;
  color: #aaa;
}