/* === Seção de música === */
.music-section {
    margin: 30px 0;
    background: #f0ffe1; /* cor estilo nota */
    padding: 20px;
    border-radius: 12px;
}

/* Player e campo de pesquisa */
.music-player {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.music-player input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #D2B48C;
    font-family: 'Roboto', sans-serif;
    background-color: #FFF8E1;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.music-player input:focus {
    border-color: #795548;
    box-shadow: 0 0 5px rgba(121, 85, 72, 0.3);
}

.music-player button {
    padding: 10px 20px;
    border: none;
    background-color: #795548;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.music-player button:hover {
    background-color: #5D4037;
    transform: translateY(-2px);
}

/* Container do vídeo embed */
.youtube-embed iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Lista de sugestões de vídeos */
#youtube-suggestions {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Cada sugestão de vídeo */
.youtube-suggestion {
    display: flex;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #F0E5D8;
    transition: background 0.2s, transform 0.2s;
}

.youtube-suggestion:last-child {
    border-bottom: none;
}

.youtube-suggestion:hover {
    background-color: #FFE8A1; /* destaque suave */
    transform: translateX(2px);
}

/* Miniatura do vídeo */
.youtube-suggestion img {
    width: 120px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
}

/* Informações do vídeo */
.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.video-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: #5D4037;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-channel {
    font-size: 0.85rem;
    color: #8D6E63;
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Scrollbar customizado */
#youtube-suggestions::-webkit-scrollbar {
    width: 6px;
}

#youtube-suggestions::-webkit-scrollbar-thumb {
    background-color: #D2B48C;
    border-radius: 3px;
}

#youtube-suggestions::-webkit-scrollbar-track {
    background-color: #FFF8E1;
}
