/* Botão de Baixar Música */
.btn-baixar-circular {
    background: linear-gradient(135deg, #f77810, #d35400);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(247, 120, 16, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-baixar-circular:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(247, 120, 16, 0.8);
}
.btn-baixar-circular .material-icons {
    font-size: 16px;
}

/* Container de Comentários da Música */
.music-comments-section {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #333;
    overflow: hidden;
}

.mc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    background: linear-gradient(90deg, #111, #222);
}
.mc-header:hover {
    background: #2a2a2a;
}

.mc-body {
    padding: 15px;
    border-top: 1px solid #333;
}

/* Área de Envio */
.mc-input-area {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.mc-input-area input {
    flex: 1;
    background: #111;
    border: 1px solid #444;
    border-radius: 20px;
    padding: 10px 15px;
    color: white;
    font-size: 13px;
    outline: none;
}
.mc-input-area input:focus {
    border-color: #f77810;
}
.mc-input-area button {
    background: #f77810;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.mc-input-area button:hover {
    transform: scale(1.1);
}

/* Lista de Comentários com Rolagem Personalizada */
.mc-list {
    max-height: 250px; /* Suficiente para cerca de 5 comentários visíveis */
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #f77810 #1a1a1a;
}
.mc-list::-webkit-scrollbar { width: 6px; }
.mc-list::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 4px; }
.mc-list::-webkit-scrollbar-thumb { background-color: #f77810; border-radius: 4px; }

/* Item Individual */
.mc-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #333;
}
.mc-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.mc-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #555;
}
.mc-content { flex: 1; }
.mc-content strong {
    color: #e2894a;
    font-size: 13px;
    display: block;
    margin-bottom: 3px;
}
.mc-content p {
    color: #ddd;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* --- JANELA FLUTUANTE DE AVISO (LOGIN) --- */
.modal-overlay-musica {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fundo escuro transparente */
    z-index: 3000;
    display: none; /* Começa escondido */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); /* Efeito de desfoque no fundo */
    animation: fadeInModal 0.3s ease-out forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box-musica {
    background: linear-gradient(145deg, #1e1e1e, #111);
    padding: 30px 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    border: 1px solid #444;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(247, 120, 16, 0.2);
    transform: translateY(20px);
    animation: slideUpModal 0.3s ease-out forwards;
}

@keyframes slideUpModal {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-box-musica h3 {
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    margin: 15px 0 25px 0;
    line-height: 1.4;
}

.modal-botoes-musica {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-login-musica {
    background: linear-gradient(90deg, #f77810, #d35400);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login-musica:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(247, 120, 16, 0.5);
}

.btn-fechar-musica {
    background: #333;
    color: #ccc;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-fechar-musica:hover {
    background: #444;
    color: #fff;
}