/* ==========================================================================
   DESIGN COLLABORATIONS - FUNKY (BADGES AVEC ICONES)
   ========================================================================== */

/* Fond jaune Funky */
body.page-template-template-collaborations,
.page-template-template-collaborations{
  background: #FBBD40 !important;
  background-image: none !important;
  min-height: 100vh;
}

html body.page-template-template-collaborations{
  background: #FBBD40 !important;
  background-image: none !important;
}

/* Layout */
.funky-collab-main{
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Titre */
.funky-title-container{
  background: rgba(255,255,255,.95);
  padding: 15px 40px;
  border-radius: 50px;
  display: table;
  margin: 0 auto 60px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.funky-main-title{
  font-family: 'Fredoka One', cursive;
  font-size: clamp(22px, 4vw, 32px);
  color: #333;
  text-align: center;
}

/* Ligne (carte + boutons) */
.funky-request-row{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  justify-content: center;
  transition: all .4s ease;
}

/* Carte pilule */
.funky-request-card{
  background: rgba(255,255,255,.95);
  border-radius: 100px;
  padding: 10px 30px 10px 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  max-width: 700px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);

  transition: transform .35s cubic-bezier(.175,.885,.32,1.275),
              box-shadow .35s ease;
  will-change: transform;
  cursor: pointer;
}

.funky-request-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

/* Avatar */
.funky-avatar{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  transition: transform .35s ease;
  will-change: transform;
}

.funky-request-card:hover .funky-avatar{
  transform: scale(1.10);
}

/* Texte */
.funky-card-info{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.funky-user-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.funky-name{
  font-weight: 900;
  font-size: 18px;
  color: #222;
}

.funky-action-text{
  color: #666;
  font-size: 14px;
  font-style: italic;
}

/* Nom cliquable */
.funky-name-link{
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  cursor: pointer;
}
.funky-name-link:hover{
  font-weight: 900;
}
.funky-request-card:hover .funky-name,
.funky-request-card:hover .funky-name-link{
  font-weight: 900 !important;
}

/* =========================
   BADGES (AVEC ICONES)
========================= */
.funky-badges{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* badge pill */
.funky-badge{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  line-height: 1;
}

/* icône dans le badge */
.funky-badge-icon{
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Boutons externes */
.funky-buttons-external{
  display: flex;
  gap: 12px;
}

/* Boutons */
.funky-btn-action{
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s cubic-bezier(.175,.885,.32,1.275);
}

.funky-btn-action.accept{ color: #2ecc71; }
.funky-btn-action.decline{ color: #e74c3c; }

.funky-btn-action:hover{
  transform: scale(1.15);
}
.funky-btn-action.accept:hover{ background: #2ecc71; color: #fff; }
.funky-btn-action.decline:hover{ background: #e74c3c; color: #fff; }

/* Message vide */
.funky-empty{
  text-align: center;
  font-family: 'Lato', sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 1px 1px 5px rgba(0,0,0,.2);
}

/* Mobile / tactile : désactiver hover */
@media (hover: none){
  .funky-request-card:hover{
    transform: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .funky-request-card:hover .funky-avatar{
    transform: none;
  }
}

/* Responsive */
@media (max-width: 768px){
  .funky-request-row{
    flex-direction: column;
    gap: 15px;
  }

  .funky-request-card{
    border-radius: 30px;
    padding: 15px;
    width: 100%;
  }

  .funky-avatar{
    width: 60px;
    height: 60px;
  }

  .funky-title-container{
    padding: 10px 25px;
  }

  .funky-badge{
    font-size: 11px;
    padding: 6px 10px;
  }

  .funky-badge-icon{
    width: 15px;
    height: 15px;
  }
}
