/* section 2 et toute ces modification  */
* {
  padding: 0%;
}
.section2 {
  position: fixed;
  top: 80px;
  height: 100vh;
  width: 250px;
  z-index: 20;
  background-color: #fffffff7;
  transition: all 0.5s ease;
  border-right: 2px solid rgba(209, 209, 209, 0.478);
  overflow-y: auto !important;
}

.section2::-webkit-scrollbar {
  width: 5px;
}

.section2::-webkit-scrollbar-thumb {
  background-color: #afafaf;
  border-radius: 10px;
}

.section2 .liens {
  font-size: 12px;
  display: block;
  margin-top: 20px;
  color: rgb(0, 0, 0);
  transition: all 0.3s;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #0691dced;
  text-decoration: none;
  color: #ebebeb;
  width: 150px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section2 .liens:hover {
  background-color: #888888;
  transform: scale(1.02);
}
.section2 .img111 {
  position: absolute;
  top: 10px;
  right: 20px;
  height: 30px;
  width: 30px;
  cursor: pointer;
  background-color: #bababa;
  border-radius: 50%;
  display: none;
  z-index: 5;
}
.section2 .container {
  width: 100%;
  height: 100vh;
}
.section2 .box1 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  position: relative;
  margin-top: 10px !important;
}
.section2 .box1 .statut {
  padding: 3px 20px;
  border-radius: 7px;
  background-color: #000000;
  color: #ffffff;
  font-weight: 700;
  font-style: italic;
  font-size: 12px;
  box-shadow: 0 0 5px 2px;
  height: 30px;
  width: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.section2 .box1 .div_statut {
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #ffffff;
  top: 10px;
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  left: -200%;
}
.section2 .box1 .div_statut img {
  height: 20px;
  width: 20px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}
.section2 .box1 .div_statut .disp {
  border-radius: 7px;
  background-color: #03d014;
  color: #ffffff;
  font-weight: 700;
  font-style: italic;
  box-shadow: 0 0 2px 2px #00000071;
  border: none;
}
.section2 .box1 .div_statut .occ {
  border-radius: 7px;
  background-color: #020202;
  color: #ffffff;
  font-weight: 700;
  font-style: italic;
  margin-right: 10px;
  border: none;
  box-shadow: 0 0 2px 2px #00000071;
}

.section2 .box1 .statut-disp {
  height: 25px;
  width: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 7px;
  background-color: #01d212;
  color: #ffffff;
  font-weight: 700;
  font-style: italic;
  box-shadow: 0 0 2px 2px #00000071;
  border: none;
}
.section2 .box1 .statut-occ {
  height: 25px;
  width: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 7px;
  background-color: #020202;
  color: #ffffff;
  font-weight: 700;
  font-style: italic;
  box-shadow: 0 0 2px 2px #000000;
  margin-right: 10px;
  border: none;
}

.section2 .box1 img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(80, 80, 80, 0.375);
  box-shadow: 0px 0px 5px 1px #888888;
  margin-bottom: 10px;
}
.section2 .box1 span {
  height: 1px;
  width: 100%;
  background-color: rgba(46, 46, 46, 0.354);
  display: block;
  margin: 10px 0;
}
.section2 .box1 h2 {
  font-size: 12px;
  color: rgb(0, 0, 0);
  margin-top: -2px;
  color: #212121;
  text-align: center;
  margin-bottom: 5px;
  padding: 4px 20px;
  text-transform: capitalize;
}

.section2 .box2 {
  width: 100%;
}

.section2 .box2 h3 {
  margin-bottom: 35px;
  padding: 5px 17px;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  background-color: #949494;
}

.section2 .box3 {
  width: 100%;
}

.section2 .box3 ul {
  margin-top: -10px;
}

.section2 .box3 ul a {
  text-decoration: none;
}

.section2 .box3 ul li:hover {
  background-color: #212121;
  color: #ffffff;
  transform: scale(1.02);
  transition: all 0.3s;
  box-shadow: 0 0 5px 1px #b4b4b461;
}

.section2 .box3 ul li {
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #212121;
  padding-left: 5px;
  padding-top: 7px;
  padding-bottom: 7px;
  border: 1px solid #b4b4b461;
  box-shadow: 0 0 5px 1px #b4b4b461;
  border-radius: 10px;
  transition: all 0.4s;
  position: relative;
  width: 90%;
  margin-top: 7px;
  margin-left: auto;
  margin-right: auto;
}

.section2 .box3 ul li em {
  position: absolute;
  right: 10px;
  top: -5px;
  font-size: 11px;
  padding: 3px 7px;
  background-color: #e91919d7;
  color: #ffffff;
  border-radius: 50%;
}

.section2 .box3 ul li img {
  width: 28px;
  margin-right: 20px;
  padding-left: 5px;
}

.section2 .box3 .pcr {
  font-size: 14px;
  background-color: #020202;
}

.section2 .box3 .pcr img {
  width: 30px;
  height: 30px;
}

@media screen and (max-width: 1050px) {
  .ste {
    left: -100%;
  }
  .section2 .img111 {
    display: block;
  }
}

.section1 {
  display: none;
}

.candidat-profile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 30px 0;
  position: relative;
  font-family: "Poppins", sans-serif;
}

.profile-header {
  width: 95%;
  max-width: 1000px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.profile-header:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.profile-background {
  height: 80px;
  width: 100%;
  background: linear-gradient(45deg, #4d7bf3, #5d3be8);
  position: relative;
  overflow: hidden;
}

.profile-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/image/pattern.svg") repeat;
  opacity: 0.1;
  animation: backgroundMove 60s linear infinite;
}

.profile-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(77, 123, 243, 0.7),
    rgba(93, 59, 232, 0.7)
  );
  z-index: 1;
}

@keyframes backgroundMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.profile-content {
  padding: 0 30px 30px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  z-index: 2;
}

.profile-image-container {
  margin-top: -50px;
  margin-right: 30px;
  position: relative;
  z-index: 3;
}

.profile-image-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 5px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-image-wrapper:hover {
  transform: scale(1.05);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  transition: filter 0.3s ease;
}

.profile-image-wrapper:hover .profile-image {
  filter: brightness(1.05);
}

.profile-status {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 4;
}

.profile-status.online {
  background-color: #2ecc71;
  box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.profile-info {
  flex: 1;
  padding-top: 20px;
  min-width: 250px;
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  line-height: 1.2;
  position: relative;
}

.first-name {
  color: #4d7bf3;
  position: relative;
}

.first-name::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(45deg, #4d7bf3, #5d3be8);
  transition: width 0.3s ease;
}

.profile-name:hover .first-name::after {
  width: 100%;
}

.profile-title {
  margin-bottom: 20px;
}

.profession {
  font-size: 18px;
  color: #666;
  font-weight: 500;
  background: linear-gradient(45deg, #4d7bf3, #5d3be8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(93, 59, 232, 0.2);
  display: inline-block;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.message-btn {
  background-color: #4d7bf3;
  color: white;
  box-shadow: 0 4px 10px rgba(77, 123, 243, 0.3);
}

.message-btn:hover {
  background-color: #3b6ae2;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(77, 123, 243, 0.4);
}

.save-btn {
  background-color: #ffffff;
  color: #4d7bf3;
  border: 2px solid #4d7bf3;
}

.save-btn:hover {
  background-color: #f0f5ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(77, 123, 243, 0.2);
}

.profile-metrics {
  display: flex;
  margin-top: 25px;
  gap: 20px;
  margin-left: auto;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 20px;
}

.metric::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background-color: #eee;
}

.metric:last-child::after {
  display: none;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.metric-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ajout d'un effet de survol élégant pour les métriques */
.metric:hover .metric-value {
  color: #4d7bf3;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

@media screen and (max-width: 900px) {
  .profile-content {
    padding: 0 20px 20px;
    flex-direction: column;
  }

  .profile-image-container {
    margin-right: 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
  }

  .profile-info {
    text-align: center;
  }

  .profile-name {
    justify-content: center;
  }

  .profile-actions {
    justify-content: center;
  }

  .profile-metrics {
    margin: 25px auto 0;
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .profile-header {
    width: 98%;
  }

  .profile-background {
    height: 120px;
  }

  .profile-image-wrapper {
    width: 110px;
    height: 110px;
  }

  .profile-name {
    font-size: 22px;
  }

  .profession {
    font-size: 16px;
  }

  .metric-value {
    font-size: 20px;
  }

  .metric-label {
    font-size: 10px;
  }

  .action-button {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Garder l'ancien style .candidat pour la compatibilité mais le cacher */
.candidat {
  display: none;
}

.menu {
  width: 50px;
  overflow: hidden;
  display: block;
  left: -400px;
  height: 60px;
  position: fixed;
  top: 10px;
  z-index: 20;
  top: 81px;
  background-color: #fffffff7;
  transition: all 0.5s ease;
  box-shadow: 0 0 5px 1px #888888;
  border-radius: 10px;
}

.menu .img23 {
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: block;
  margin: 0px auto;
}
.menu .span1 {
  font-size: 12px;
  color: #000000;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  margin: -4px auto;
  display: block;
  text-align: center;
  width: 100%;
}

.menu .box1 {
  margin-bottom: 50px;
}

.menu .box1 img {
  height: 40px;
  width: 45px;
  border-radius: 50%;
  border: 2px solid rgba(80, 80, 80, 0.375);
  box-shadow: 0px 0px 5px 1px #888888;
  border-radius: 10px;
}

.menu .box2 {
  margin-bottom: 50px;
}

.menu .box2 h3 {
  margin-bottom: 15px;
  padding-left: 45px;
  color: #0055c5;
  text-align: center;
  font-size: 11px;
}
@media screen and (max-width: 1050px) {
  .menu {
    left: 0;
  }
}

@media screen and (max-width: 700px) {
  #navigation {
    padding-left: 40px;
  }
  #navigation a {
    font-size: 13.5px;
    padding: 2px 5px;
    margin: 5px 7px;
  }
}

#candidat {
  margin-left: 5px !important;
  margin-right: 5px !important;
}
