/* ===============================
   MelodyStream — Profile Page
   =============================== */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
  padding: 3rem 1rem;
  gap: 2rem;
}


main h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-azul2);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}


#msg {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-azul1);
}


.perfil-foto-contenedor {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  padding: 0.7rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perfil-foto-contenedor:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(62, 154, 222, 0.3);
}

.perfil-foto-contenedor img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-azul2);
}


#uploadForm {
  width: 100%;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.8s ease-in-out;
}

#uploadForm h2 {
  color: var(--color-azul2);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

#uploadForm label {
  display: block;
  font-weight: 500;
  color: var(--color-blanco);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  text-align: left;
}

#uploadForm input[type="file"] {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.6rem;
  color: var(--color-blanco);
  cursor: pointer;
  transition: 0.3s ease border-color, box-shadow;
}

#uploadForm input[type="file"]:hover {
  border-color: var(--color-azul2);
}

#uploadForm button {
  margin-top: 1.2rem;
  width: 100%;
  background-color: var(--color-azul1);
  border: none;
  color: var(--color-blanco);
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#uploadForm button:hover {
  background-color: var(--color-azul2);
  transform: scale(1.03);
}


main a {
  color: var(--color-azul2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

main a:hover {
  color: var(--color-morado);
  text-decoration: underline;
}


@media (max-width: 600px) {
  main {
    padding: 2rem 1rem;
  }

  .perfil-foto-contenedor {
    width: 160px;
    height: 160px;
  }

  .perfil-foto-contenedor img {
    width: 140px;
    height: 140px;
  }

  #uploadForm {
    padding: 1.5rem;
  }

  main h1 {
    font-size: 2rem;
  }
}


#userData {
  display: none;
  margin-top: 2rem;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  color: var(--color-blanco);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

#userData h3 {
  color: var(--color-azul2);
  margin-bottom: 1rem;
  text-align: center;
}

#userData p {
  margin: 0.4rem 0;
  font-size: 1rem;
  color: var(--color-blanco);
}

#userData p strong {
  color: var(--color-azul1);
}


#goToChatBtn {
  background-color: var(--color-morado);
  border: none;
  color: var(--color-blanco);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s;
  width: 100%;
  max-width: 500px;
  cursor: pointer;
}

#goToChatBtn:hover {
  background-color: #4324a8;
  transform: scale(1.05);
}


#logOutBtn {
  background-color: var(--color-morado);
  border: none;
  color: var(--color-blanco);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s;
  width: 100%;
  max-width: 500px;
  cursor: pointer;
}

#logOutBtn:hover {
  background-color: #4324a8;
  transform: scale(1.05);
}

#headerProfileIm img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

#headerProfileIm {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

/* ===============================
   🎵 MY PODCASTS & FOLDERS SECTION
   =============================== */


.module-box {
    background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 16px; 
    padding: 2rem;
    margin-bottom: 40px; 

    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4), 
        
        0 0 15px rgba(62, 154, 222, 0.4); 
}

#userPodcasts, #userFolders {
    width: 100%;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}



.module-box h2,
.module-box h3 {
   
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
}

.profileInformation,
.uploadFoto {
  color: var(--color-azul2);
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 10px;
}

.saved-link {
    color: #007bff; 
    text-align: center;
    display: block;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
}

.saved-link:hover {
    color: #4da5ff;
}


.search-input {
    background-color: #2a2a35; 
    color: white;
    border: 1px solid #444;
    padding: 12px 15px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box; 
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #007bff;
    outline: none;
}

.search-input::placeholder {
    color: #a0a0a0;
}


.main-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    width: 100%;
    margin: 10px 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.1s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.main-button:hover {
    background-color: #0056b3; 
    transform: translateY(-1px);
}

.main-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


#folder-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.7); 
  
}

.podcast-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 10px;
    justify-content: center;
    justify-items: center;
    align-items: center;
    width: 100%;
}


.folder-item {
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem; 
    text-align: center;
    backdrop-filter: blur(6px); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 

    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: space-between; 
    
    color: var(--color-blanco); 
    font-size: 0.95rem;
}

.folder-item:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 15px rgba(62, 154, 222, 0.4);
}

.folder-item img {
    width: 90px; 
    height: 90px;
    object-fit: cover;
    border-radius: 8px; 
    margin-bottom: 0.6rem;
    border: 2px solid var(--color-azul2); 
}

.folder-item p {
    color: var(--color-blanco);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.6rem; 
}


.folder-item .main-button {
    background-color: var(--color-azul1);
    color: var(--color-blanco);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    width: auto; 
    max-width: 120px;
    margin-top: auto; 

    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.folder-item .main-button:hover {
    background-color: var(--color-azul2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* PODCAST CARD */
.podcast-card { 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 12px; 
    padding: 1.2rem; 
    text-align: center;
    backdrop-filter: blur(6px); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 

    display: flex; 
    flex-direction: column;
    align-items: center; 
    gap: 0.8rem;
    
    color: var(--color-blanco); 
    font-size: 0.95rem; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); 
}

.podcast-card:hover {
    transform: scale(1.03); 
    box-shadow: 0 0 15px rgba(62, 154, 222, 0.4); 
}

.podcast-card img {
    width: 100px; 
    height: 100px;
    object-fit: cover;
    border-radius: 8px; 
    margin-bottom: 0.5rem;
    border: 2px solid var(--color-azul2); 
}

.podcast-card h4 { 
    color: var(--color-blanco);
    font-weight: 700; 
    margin: 0;
    font-size: 1.1rem; 
    line-height: 1.3;
}

.podcast-card p {
    color: #e0e0e0;
    font-weight: 400; 
    margin: 0;
    font-size: 0.9rem; 
}

.podcast-card audio {
    width: 100%; 
    margin-top: 0.5rem;
    border-radius: 6px; 
    outline: none;
    background-color: rgba(255, 255, 255, 0.15); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}


.podcast-card audio::-webkit-media-controls-panel {
    background-color: rgba(255, 255, 255, 0.15); 
    color: var(--color-blanco); 
}

.podcast-card audio::-webkit-media-controls-current-time-display,
.podcast-card audio::-webkit-media-controls-time-remaining-display {
    color: rgba(0, 0, 0, 0.85);
}

.podcast-card audio::-webkit-media-controls-play-button {
    color: var(--color-azul2); 
}

.podcast-card .folder-selection-container { 
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; 
    margin-top: 0.8rem; 
}

.podcast-card label { 
    font-size: 0.85rem;
    color: #c0c0c0;
    text-align: left; 
    margin-bottom: 0.2rem;
}

.podcast-card select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(62, 154, 222, 0.4);
    background-color: rgba(255, 255, 255, 0.1); 
    color: var(--color-blanco);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233e9ade' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); /* Icono de flecha personalizado */
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.podcast-card select:focus {
    outline: none;
    border-color: var(--color-azul2);
    box-shadow: 0 0 5px rgba(62, 154, 222, 0.5);
}

.podcast-card select option {
    background-color: #1e1e2e;
    color: var(--color-blanco);
}

/* Botón "Add to folder" */
.podcast-card .main-button.add-to-folder-btn { 
    width: 100%; 
    padding: 0.7rem;
    background-color: var(--color-azul1);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0; 
}

.podcast-card .main-button.add-to-folder-btn:hover {
    background-color: var(--color-azul2);
    transform: scale(1.02);
}


/* ===============================
   🎵 FAVOURITE ARTISTS SECTION
   =============================== */
#favArtistsSection {
  width: 100%;
  max-width: 700px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.8s ease-in-out;
  margin-top: 1rem;
}

#favArtistsSection h2,
#favArtistsSection h3,
.module-title {
  color: var(--color-azul2);
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 10px;

}

#artistSearch {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-blanco);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  transition: 0.3s ease border-color;
}

#artistSearch:focus {
  outline: none;
  border-color: var(--color-azul2);
}

#btnSearchArtist {
  width: 100%;
  background-color: var(--color-azul1);
  border: none;
  color: var(--color-blanco);
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnSearchArtist:hover {
  background-color: var(--color-azul2);
  transform: scale(1.03);
}

#artistResults,
#savedArtists {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.artistCard {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artistCard:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(62, 154, 222, 0.4);
}

.artistCard img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.6rem;
  border: 2px solid var(--color-azul2);
}

.artistCard p {
  color: var(--color-blanco);
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.artistCard .removeArtistBtn,
.artistCard .removeSongBtn {
  margin-top: 0.5rem;
  background-color: #c62828;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.artistCard .removeArtistBtn:hover,
.artistCard .removeSongBtn:hover {
  background-color: #e53935;
}

.artistCard .shareArtistBtn,
.artistCard .shareSongBtn {
  margin-top: 0.5rem;
  background-color: var(--color-azul1);
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.artistCard .shareArtistBtn:hover,
.artistCard .shareSongBtn:hover {
  background-color: var(--color-azul2);
}

/* ===============================
   🎶 FAVOURITE SONGS SECTION
   =============================== */
#favSongsSection {
  width: 100%;
  max-width: 700px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.8s ease-in-out;
  margin-top: 2rem;
}

#favSongsSection h2,
#favSongsSection h3 {
  color: var(--color-azul2);
  text-align: center;
  margin-bottom: 1rem;

}

#songSearch {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-blanco);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  transition: 0.3s ease border-color;
}

#songSearch:focus {
  outline: none;
  border-color: var(--color-azul2);
}

#btnSearchSong {
  width: 100%;
  background-color: var(--color-azul1);
  border: none;
  color: var(--color-blanco);
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnSearchSong:hover {
  background-color: var(--color-azul2);
  transform: scale(1.03);
}

#songResults,
#savedSongs {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.songCard {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.songCard:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(62, 154, 222, 0.4);
}

.songCard img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.6rem;
  border: 2px solid var(--color-azul2);
}

.songCard p {
  color: var(--color-blanco);
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.songCard audio {
  width: 100%;
  margin-top: 0.8rem;
  border-radius: 6px;
  outline: none;
}

/* Share modals */
#shareArtistModal,
#shareSongModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#shareArtistModal > div,
#shareSongModal > div {
  background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#shareArtistModal h3,
#shareSongModal h3 {
  color: var(--color-azul2);
  margin-bottom: 1rem;
  text-align: center;
}

#shareArtistModal p,
#shareSongModal p {
  color: var(--color-blanco);
  text-align: center;
  margin-bottom: 1rem;
}

#shareArtistModal select,
#shareSongModal select {
  width: 100%;
  padding: 0.8rem;
  margin-top: 10px;
  background-color: #1e1e2e !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--color-blanco);
}

#shareArtistModal button,
#shareSongModal button {
  width: 100%;
  margin-top: 15px;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#shareArtistConfirm,
#shareSongConfirm {
  background-color: var(--color-azul1);
  color: var(--color-blanco);
}

#shareArtistConfirm:hover,
#shareSongConfirm:hover {
  background-color: var(--color-azul2);
  transform: scale(1.03);
}

#shareArtistCancel,
#shareSongCancel {
  background-color: #6c757d;
  color: var(--color-blanco);
  margin-top: 10px;
}

#shareArtistCancel:hover,
#shareSongCancel:hover {
  background-color: #5a6268;
}


#podcasts-content-wrapper,
#folders-content-wrapper,
#userFolders, 
#userPodcasts { 
    min-height: 150px; 
    
    display: flex;
    text-align: center;
}
#userPodcasts,
#userFolders { 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.empty-message {

    background-color: rgba(255, 255, 255, 0.1);    
    border-radius: 8px; 
    padding: 20px 30px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 350px; 
    
    width: 100%;
    font-size: 1.15rem;
    font-weight: 600; 
    text-align: center;

    color: #f0f0f0;

    border: 1px solid rgba(62, 154, 222, 0.5); 
    box-shadow: 
        0 0 10px rgba(62, 154, 222, 0.2), 
        0 2px 5px rgba(0, 0, 0, 0.5);    
}

.empty-message p {
    margin: 0;
    line-height: 1.4;

}

#folders-content-wrapper,
#podcasts-content-wrapper {
    min-height: 150px; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
}

/* === Make folder modal podcast cards look exactly like podcast page === */

#folder-modal .podcast-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 8px rgba(62,154,222,0.3);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;

  color: var(--color-blanco);
  font-size: 0.95rem;

  max-width: 250px;
  width: 100%;
  justify-self: center;
}

#folder-modal .podcast-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-azul2);
  box-shadow: 0 6px 20px rgba(62,154,222,0.25), 0 0 12px rgba(62,154,222,0.5);
}

#folder-modal .podcast-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  border: 2px solid var(--color-azul2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#folder-modal .podcast-card h3,
#folder-modal .podcast-card h4 {
  color: var(--color-azul2);
  font-weight: 700;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

#folder-modal .podcast-card p {
  color: var(--color-blanco);
  opacity: 0.9;
  margin: 0;
  font-size: 0.95rem;
}

/* audio control full width */
#folder-modal .podcast-card audio {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.06);
}

#folder-modal > div #folder-podcast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}

#folder-modal .podcast-card .btn {
  width: 100%;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 0.6rem;
}


#shareArtistUserPicker,
#shareSongUserPicker {
  width: 100%;
  margin-top: 12px;
}

#shareArtistModal .user-select-search,
#shareSongModal .user-select-search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(62, 154, 222, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-blanco);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#shareArtistModal .user-select-search::placeholder,
#shareSongModal .user-select-search::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

#shareArtistModal .user-select-search:focus,
#shareSongModal .user-select-search:focus {
  border-color: rgba(62, 154, 222, 0.75);
  box-shadow: 0 0 0 3px rgba(62, 154, 222, 0.18);
  background: rgba(255, 255, 255, 0.10);
}

/* List */
#shareArtistModal .user-select-list,
#shareSongModal .user-select-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  max-height: 320px;
  overflow: auto;
}

/* Scrollbar (Chrome/Edge) */
#shareArtistModal .user-select-list::-webkit-scrollbar,
#shareSongModal .user-select-list::-webkit-scrollbar {
  width: 10px;
}
#shareArtistModal .user-select-list::-webkit-scrollbar-thumb,
#shareSongModal .user-select-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
#shareArtistModal .user-select-list::-webkit-scrollbar-thumb:hover,
#shareSongModal .user-select-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Item */
#shareArtistModal .user-select-item,
#shareSongModal .user-select-item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

#shareArtistModal .user-select-item:hover,
#shareSongModal .user-select-item:hover {
  transform: translateY(-1px);
  border-color: rgba(62, 154, 222, 0.45);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

/* Info */
#shareArtistModal .user-select-info,
#shareSongModal .user-select-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

#shareArtistModal .user-select-info strong,
#shareSongModal .user-select-info strong {
  color: var(--color-blanco);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px; 
}

#shareArtistModal .user-select-email,
#shareSongModal .user-select-email {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}


#shareArtistModal .user-select-btn,
#shareSongModal .user-select-btn {
  width: auto !important;
  margin-top: 0 !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 10px;
  background: var(--color-azul1);
  color: var(--color-blanco);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
  flex: 0 0 auto;
}

#shareArtistModal .user-select-btn:hover,
#shareSongModal .user-select-btn:hover {
  background: var(--color-azul2);
  transform: scale(1.03);
}


#shareArtistModal .user-select-item.is-selected,
#shareSongModal .user-select-item.is-selected {
  border-color: rgba(62, 154, 222, 0.90);
  box-shadow: 0 0 0 3px rgba(62, 154, 222, 0.22);
}


#shareArtistModal .user-select-empty,
#shareSongModal .user-select-empty {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.70);
  text-align: center;
}

/* Responsive */
@media (max-width: 520px) {
  #shareArtistModal .user-select-item,
  #shareSongModal .user-select-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #shareArtistModal .user-select-btn,
  #shareSongModal .user-select-btn {
    width: 100% !important;
  }

  #shareArtistModal .user-select-info strong,
  #shareSongModal .user-select-info strong,
  #shareArtistModal .user-select-email,
  #shareSongModal .user-select-email {
    max-width: 100%;
  }
}
