/* ============================================
   WINAMP - Estilos
   ============================================ */

.winamp-container {
    margin: 40px auto;
    max-width: 600px;
    font-family: 'Arial', sans-serif;
}

.winamp-player {
    background: linear-gradient(to bottom, #4c4c4c, #2a2a2a);
    border: 2px solid #1a1a1a;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    overflow: hidden;
}

.winamp-title-bar {
    background: linear-gradient(to bottom, #3366cc, #1a4d99);
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid #0d2652;
}

.winamp-title-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.winamp-controls-mini {
    display: flex;
    gap: 3px;
}

.winamp-btn-mini {
    width: 14px;
    height: 14px;
    background: #ccc;
    border: 1px solid #999;
    cursor: pointer;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winamp-btn-mini:hover {
    background: #fff;
}

.winamp-display {
    background: #000;
    padding: 15px;
    border: 2px inset #1a1a1a;
}

.winamp-track-info {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 40px;
    line-height: 1.4;
}

.winamp-scrolling-text {
    animation: scroll-left 10s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.winamp-time {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.winamp-visualizer {
    height: 40px;
    background: #000;
    border: 1px inset #333;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 5px;
    gap: 2px;
}

.visualizer-bar {
    width: 8px;
    background: linear-gradient(to top, #00ff00, #00aa00);
    transition: height 0.1s;
    border-radius: 1px 1px 0 0;
}

.winamp-progress {
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #333;
    border: 1px inset #1a1a1a;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #00ff00, #00cc00);
    width: 0%;
    transition: width 0.1s linear;
}

.winamp-controls {
    background: #2a2a2a;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #444;
}

.winamp-btn {
    background: linear-gradient(to bottom, #666, #444);
    border: 2px outset #888;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.1s;
    border-radius: 2px;
    min-width: 50px;
}

.winamp-btn:hover {
    background: linear-gradient(to bottom, #777, #555);
}

.winamp-btn:active {
    border-style: inset;
    background: linear-gradient(to bottom, #444, #666);
}

.winamp-btn.play {
    background: linear-gradient(to bottom, #00cc00, #008800);
    border-color: #00ff00;
}

.winamp-btn.play:hover {
    background: linear-gradient(to bottom, #00dd00, #009900);
}

.winamp-playlist {
    background: #1a1a1a;
    border-top: 2px solid #000;
    max-height: 300px;
    overflow-y: auto;
}

.playlist-header {
    background: linear-gradient(to bottom, #3366cc, #1a4d99);
    padding: 6px 10px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid #0d2652;
}

.playlist-item {
    padding: 8px 12px;
    color: #ccc;
    font-size: 12px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlist-item:hover {
    background: #333;
    color: #fff;
}

.playlist-item.playing {
    background: #003366;
    color: #00ff00;
    font-weight: bold;
}

.playlist-track-info {
    flex: 1;
}

.playlist-artist {
    color: #999;
    font-size: 11px;
}

.playlist-duration {
    color: #666;
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

.winamp-volume {
    background: #2a2a2a;
    padding: 10px 15px;
    border-top: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-icon {
    color: #00ff00;
    font-size: 16px;
}

.volume-slider {
    flex: 1;
    height: 6px;
    background: #333;
    border: 1px inset #1a1a1a;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    height: 100%;
    background: linear-gradient(to right, #00ff00, #00cc00);
    width: 75%;
    border-radius: 3px;
}

.winamp-eq-button {
    background: linear-gradient(to bottom, #666, #444);
    border: 2px outset #888;
    color: #00ff00;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}

.winamp-eq-button:hover {
    background: linear-gradient(to bottom, #777, #555);
}

/* Scrollbar personalizado */
.winamp-playlist::-webkit-scrollbar {
    width: 12px;
}

.winamp-playlist::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.winamp-playlist::-webkit-scrollbar-thumb {
    background: #666;
    border: 1px solid #444;
}

.winamp-playlist::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.winamp-footer {
    background: #1a1a1a;
    padding: 8px 12px;
    text-align: center;
    color: #666;
    font-size: 10px;
    border-top: 1px solid #000;
}
