* {
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.parent{
    background-color: #333;
    padding: 8px;
    width: 390px;
    border-radius: 24px;
}

body {
    background-color: #ededed;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
}

#header-re {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 18px;
    background-color: #fff;
}

.back-arrow img {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

#padd{
    padding: 20px;
}

/* Onglets */
.tabs {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;  /* Pour centrer horizontalement */
    margin-bottom: 22px;
    background-color: #A583FF;
    border-radius: 26px;
    padding: 7px;
    width: 88%;  /* Largeur définie pour être plus petite que 100% */
}

.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #A583FF;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: bold;
    border-radius: 20px; /* Coins arrondis */
    margin-right: 5px; /* Espacement entre les onglets */
    padding: 7px;
}

.tab:last-child {
    margin-right: 0; /* Pas de marge après le dernier onglet */
}

.tab.active {
    background-color: #c2a6ff;
    color: #333;
}

.avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

/* Barre de recherche */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    border-radius: 13px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
    background-color: #F1F1F1;
}

.search-bar img{
    width: 22px;
    height: 22px;
    margin-left: 10px;
}

.search-bar input {
    width: 100%;
    padding: 12px;
    border: none;
    font-size: 14px;
    outline: none;
    background-color: #F1F1F1;
    border-radius: 13px;
}

/* Liste des utilisateurs */
.user :hover{
    cursor: pointer;
}

.users-section {
    margin-bottom: 30px;
}

.users-section h2 {
    margin-bottom: 22px;
    font-size: 18px;
}

.highlight {
    color: #A583FF;
}

.user-list {
    display: flex;
    flex-direction: column;
}

.user {
    display: flex;
    align-items: center;
    padding: 4px;
    transition: background-color 0.3s;
    border-radius: 13px;
}

.user:hover {
    background-color: #f1f1f1;
}

.avatar1 {
    width: 52px;
    height: 52px;
    border-radius: 50%; /* Avatar circulaire */
    margin-right: 10px;
}

.user-info p {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

.user-info span {
    font-size: 12px;
    color: #666;
}

.see-more {
    text-align: right;
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px; /* Coins arrondis pour le lien */
    padding: 5px 0;
    margin-top: 10px;
    text-decoration: underline;
    text-align: center;
}

/* Section coachs/spécialistes */
.coaches-section h2 {
    margin-bottom: 22px;
    font-size: 18px;
}

.coaches-container {
    display: flex; /* Les éléments enfants sont alignés sur une seule ligne */
    justify-content: space-between; /* Ajoute de l'espace entre les éléments */
    gap: 10px; /* Optionnel : espace entre les cartes */
    margin-top: 20px;
}

#coach1, #coach2 {
    position: relative;
    width: 48%; /* Ajusté pour mieux s'adapter avec les border-radius */
    height: 120px;
    padding: 15px;
    border-radius: 15px; /* Coins arrondis pour les cartes des coachs */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover; /* L'image couvre toute la div */
    background-repeat: no-repeat;
}

#coach1 {
    background-image: url('image/coach.jpg');
    width: 532%;
}

#coach2 {
    background-image: url('image/nutri.jpg');
    cursor: pointer;
}

#coach1:hover, #coach2:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

#description{
    display: flex;
}

#description div{
    margin-top: 5px;
}

.nom {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0;
}

.speciality {
    font-size: 14px;
    color: #A583FF;
    margin-top: 1px;
}

.bottom-nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
    padding-top: 10px;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

.nav-item :hover{
    cursor: pointer;
}
  
.nav-item-home-active{
    background-color: #A583FF;
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
    padding-top: 8px;
    padding-bottom: 13px;
    width: 16%;
    text-align: center;
}
  
.nav-item-home-active img {
    width: 32px;
    height: 32px;
}
  
.nav-item {
    padding-top: 8px;
    padding-bottom: 13px;
    width: 16%;
    text-align: center;
}
  
.nav-item img {
    width: 32px;
    height: 32px;
}







.parent{
    background-color: #333;
    padding: 8px;
    width: 390px;
    border-radius: 24px;
}

#pad{
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

#header-home {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: #000;
}

.highlight {
    color: #A583FF;
}

.profile-icon img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.statata{
    width: 100%;
    height: 70px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    margin-bottom: 13px;
    margin-top: 30px;
    background-image: url(image/calorie-03.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.statata:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-box {
    width: 48%;
    height: 140px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    background-image: url(image/calorie_Plan\ de\ travail\ 1.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box2 {
    width: 48%;
    height: 140px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    background-image: url(image/calorie-02.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.stat-box2:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.program, .meal {
    margin-bottom: 12px;
}

h2 {
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 23px;
    color: #000;
}

.exercise {
    height: 190px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    background-image: url(image/abs.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.exercise:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.meal-box, .meal-box3 {
    width: 48%;
    height: 140px;
    background-color: #fff;
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.meal-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.meal-box3:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.meal-box {
    background-image: url(image/buter.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.meal-box3 {
    background-image: url(image/sain.png);
    background-size: cover;
    background-repeat: no-repeat;
}


.meal-box2 {
    width: 100%;
    height: 70px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    margin-bottom: 13px;
    background-image: url(image/manger.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.meal-box2:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.meal {
    display: flex;
    justify-content: space-between;
}








  #body-ami {
    background-color: #ededed;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
  }
  
  .back-arrow img {
    width: 28px;
    height: 28px;
    cursor: pointer;
    margin-left: 13px;
  }
  
  .parent{
    padding: 8px;
    background-color:#333;
    width: 390px;
    border-radius: 24px;
  }
  
  .container-ami {
    position: relative;
    padding-top: 20px;
    height: 720px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background-image: url('image/coach.jpg');
    background-size: cover; /* L'image couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
  }
  
  .profile-card {
    position: absolute; /* Change from static to absolute */
    bottom: 0; /* Align the card to the bottom */
    width: 100%; /* Ensure the card takes up the full width */
    padding: 20px;
    padding-top: 30px;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .profile-card h2 {
    font-size: 20px;
    margin-bottom: 1px;
    margin-top: 0px;
    font-weight: bold;
  }
  
  .profile-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 28px;
  }
  
#couleur{
    color: #A583FF;
    margin-bottom: 20px;
    margin-top: 1px;
}
  
  .profile-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
  }
  
  #profile-btn {
    width: 130px;
    height: 33px;
    background-color: #A583FF;
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    background-image: url(image/ali.png);
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  #profile-btn:hover{
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  }
  
  #profile-btn2 {
    width:  180px;
    height: 33px;
    background-color: #A583FF;
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    background-image: url(image/masse.png);
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  #profile-btn2:hover{
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  }
  
  .action-buttons {
    display: flex;
    justify-content: space-evenly;
  }
  
  .action-btn {
    background-color: #fff;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    border: 2.5px solid #A583FF;
    color: #A583FF;
  }
  
  .action-btn:hover {
    background-color: #A583FF;
    color: white;
    border: 2.5px solid #A583FF;
  }
  