/* Styles spécifiques à la page CV */
.profile img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0058a3;
  flex-shrink: 0;
}

.info-perso {
  flex: 1;
  min-width: 250px;
}

.info-perso .download-wrapper {
  margin-top: 15px;
  justify-content: flex-start; /* Aligne le bouton à gauche */
}

.button {
  width: 180px; /* Un peu plus large pour s'adapter au texte */
}

.experience-list, .formation-list {
  list-style: none;
  padding-left: 1rem;
}

.experience-list li, .formation-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.experience-list li:before, .formation-list li:before {
  content: "•";
  color: #0058a3;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Styles pour le bouton de téléchargement */
.download-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.label {
  background-color: transparent;
  border: 2px solid rgb(91, 91, 240);
  display: flex;
  align-items: center;
  border-radius: 50px;
  width: 160px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

/* Styles pour le bouton de téléchargement */
.download-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0 40px;
}

.button {
  position: relative;
  width: 250px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid #004080;
  background-color: #007acc;
  overflow: hidden;
  border-radius: 5px;
}

.button, .button__icon, .button__text {
  transition: all 0.3s;
}

.button .button__text {
  transform: translateX(22px);
  color: #fff;
  font-weight: 600;
}

.button .button__icon {
  position: absolute;
  transform: translateX(209px);
  height: 100%;
  width: 39px;
  background-color: #004080;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button .svg {
  width: 20px;
  fill: #fff;
}

.button:hover {
  background: #004080;
}

.button:hover .button__text {
  color: transparent;
}

.button:hover .button__icon {
  width: 248px;
  transform: translateX(0);
}

.button:active .button__icon {
  background-color: #003366;
}

.button:active {
  border: 1px solid #003366;
}

/* Mode sombre */
.dark-mode .profile {
  background: #252545;
}

.dark-mode .profile img {
  border-color: #2196F3;
}

.dark-mode .experience-list li:before,
.dark-mode .formation-list li:before {
  color: #2196F3;
}

.dark-mode .button {
  border-color: #2196F3;
  background-color: #2196F3;
}

.dark-mode .button .button__icon {
  background-color: #1976D2;
}

.dark-mode .button:hover {
  background: #1976D2;
}

.dark-mode .button:active .button__icon {
  background-color: #0D47A1;
}

.dark-mode .button:active {
  border-color: #0D47A1;
}