/* Stili aggiuntivi per profili con blur e scroll orizzontale */

/* Scroll orizzontale per i profili */
.profiles-scroll {
  display: flex !important;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ef5a66 #f0f0f0;
  padding-bottom: 10px;
}

.profiles-scroll::-webkit-scrollbar {
  height: 8px;
}

.profiles-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.profiles-scroll::-webkit-scrollbar-thumb {
  background: #ef5a66;
  border-radius: 10px;
}

.profiles-scroll::-webkit-scrollbar-thumb:hover {
  background: #d94a55;
}

.profiles-scroll .profile {
  flex: 0 0 280px;
  scroll-snap-align: start;
  min-width: 280px;
}

/* Blur per profili non registrati */
.profile-blur {
  position: relative;
}

.profile-blur img {
  filter: blur(12px);
  -webkit-filter: blur(12px);
}

.blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  text-align: center;
  gap: 8px;
  padding: 20px;
}

.blur-overlay svg {
  width: 40px;
  height: 40px;
  color: white;
  stroke-width: 2.5;
}

.blur-overlay span {
  font-weight: 700;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: Poppins, Inter, sans-serif;
}

/* Mobile ottimizzato */
@media (max-width: 860px) {
  .profiles-scroll {
    margin-left: -28px;
    margin-right: -28px;
    padding-left: 28px;
    padding-right: 28px;
  }
  
  .profiles-scroll .profile {
    flex: 0 0 260px;
    min-width: 260px;
  }
}

@media (max-width: 560px) {
  .profiles-scroll {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .profiles-scroll .profile {
    flex: 0 0 240px;
    min-width: 240px;
  }
  
  .blur-overlay svg {
    width: 32px;
    height: 32px;
  }
  
  .blur-overlay span {
    font-size: 13px;
  }
}

/* Pulsante disabilitato stile */
button[disabled] {
  cursor: not-allowed !important;
  pointer-events: none;
}

button[disabled]:hover {
  transform: none !important;
  background: inherit !important;
  border-color: inherit !important;
}
