/* ==========================================================
   ARTIST SELECTION MODAL
   ========================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ff-artist-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 28, 0.8);
  z-index: 1000;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ff-artist-modal-overlay.ff-artist-modal-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ff-artist-modal {
  background: rgba(18, 18, 28, 0.85);
  border: 2px solid #ff7d4b;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  width: 90%;
  max-width: 440px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 125, 75, 0.15);
  animation: fadeInUp 0.35s ease both;
}

.ff-artist-modal-title {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ff-artist-modal-subtitle {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.ff-artist-search {
  width: 100%;
  padding: 0.625rem 0;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: #ffffff;
  font-size: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 1.25rem;
  outline: none;
  transition: border-bottom-color 0.2s ease;
}

.ff-artist-search:focus {
  border-bottom-color: #f9598a;
}

.ff-artist-search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ff-artist-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0;
  max-height: 22.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ff-artist-list::-webkit-scrollbar {
  width: 6px;
}

.ff-artist-list::-webkit-scrollbar-track {
  background: transparent;
}

.ff-artist-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.ff-artist-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ff-artist-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ff-artist-item:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.ff-artist-item:hover {
  background: rgba(255, 125, 75, 0.12);
}

.ff-artist-item.ff-artist-item-selected {
  background: rgba(255, 125, 75, 0.08);
  border-left: 3px solid #ff7d4b;
}

.ff-artist-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(249, 89, 138, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
}

.ff-artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-artist-info {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}

.ff-artist-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-artist-role {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  text-transform: capitalize;
}

.ff-artist-empty {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem 1rem;
}

.ff-artist-item-hidden {
  display: none;
}
