.oc-avatar {
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  width: auto;
  max-width: 100%;
}

.oc-edit-profile-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: #9b1952;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.oc-edit-profile-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.oc-profil {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 600px;
  margin-bottom: 2rem;
}

.oc-profil .profil-ligne {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* ICONES */
.oc-social-icons {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.oc-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.oc-social-icon i {
  color: #fff;
  font-size: 16px;
}

/* Animation au survol */
.oc-social-icon:hover {
  transform: scale(1.05);
}

/* Couleurs spécifiques aux réseaux */
.oc-social-icon.facebook {
  background-color: #3b5998;
}

.oc-social-icon.instagram {
  background-color: #e4405f;
}

.oc-social-icon.linkedin {
  background-color: #0077b5;
}

.oc-social-icon.pinterest {
  background-color: #bd081c;
}

.oc-social-icon.soundcloud {
  background-color: #ff5500;
}

.oc-social-icon.tumblr {
  background-color: #35465c;
}

.oc-social-icon.wikipedia {
  background-color: #000;
}

.oc-social-icon.youtube {
  background-color: #ff0000;
}

.oc-social-icon.myspace {
  background-color: #003366;
}


/* BADGES */
/* Standard */
.oc-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1rem;
}

.oc-badge {
  width: 100px;
  text-align: center;
  font-size: 13px;
  color: #444;
  margin: 0.5rem;
}

.oc-badge.badge-gained {
  margin-bottom: 1rem;
}

h2.oc-badge-text, h3.oc-badge-text{
  margin-bottom: .5rem;
}

.oc-badge img {
  width: 100%;
  max-width: 100px;
  height: auto;
  border-radius: 8px;
}

.oc-badge.badge-locked img {
  filter: grayscale(100%);
  opacity: 0.4;
}

.badge-name {
  display: block;
  font-weight: bold;
  line-height: 1.2rem;
  font-size: 0.8rem;
}

.oc-badge-display {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.oc-badge-link {
  display: none;
}

/* Sur la page profil */
.oc-user-badges.is-profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 250px));
  gap: 1.2rem;
  padding: 1rem;
  max-width: 1000px;
  margin: 1rem auto;
}

.oc-user-badges.is-profile .oc-badge {
  width: 100%;
  /* background-color: #f9f9f9; */
  /* box-shadow: inset 3px 3px 6px #ddd; */
  /* border-radius: 8px; */
  padding: 1.5rem;
  transition: transform 0.2s ease;
  margin: 0;
}

.oc-user-badges.is-profile .oc-badge img{
  padding: 1rem;
  box-shadow: 3px 3px 6px #ddd;
  border-radius: 100%;
  background-color: #f9f9f9;
}

.oc-user-badges.is-profile .oc-badge-link {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  background-color: transparent;
  color: #9b1952;
  font-size: 0.7rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.oc-user-badges.is-profile .oc-badge-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
