/* Lydbølge Player - Simpel version der VIRKER */

.lydbolge-player {
    background: #1c383f;
    border-radius: 12px;
    margin: 32px 0;
    overflow: hidden;
}

/* Current Track */
.lydbolge-current {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
}

.lydbolge-cover {
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
}

.lydbolge-cover img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
}

.lydbolge-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lydbolge-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff !important;
}

.lydbolge-info p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Controls */
.lydbolge-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(0,0,0,0.3);
}

/* PLAY BUTTON - ORDENTLIG */
#lydbolge-play {
    width: 52px;
    height: 52px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    outline: none;
}

#lydbolge-play:hover {
    transform: scale(1.05);
}

#lydbolge-play svg {
    display: none;
}

#lydbolge-play::after {
    content: '▶';
    font-size: 20px;
    color: #1c383f;
    display: block;
    padding-left: 3px;
}

#lydbolge-play.playing::after {
    content: '❚❚';
    padding-left: 0;
}

/* VOLUME BUTTON */
#lydbolge-volume {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    outline: none;
    padding: 0;
}

#lydbolge-volume svg {
    display: none;
}

#lydbolge-volume::after {
    content: '🔊';
    font-size: 16px;
}

#lydbolge-volume.muted::after {
    content: '🔇';
}

/* Progress */
.lydbolge-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lydbolge-progress {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    cursor: pointer;
}

.lydbolge-progress-bar {
    height: 100%;
    background: #1db954;
    border-radius: 3px;
    width: 0%;
}

.lydbolge-time {
    font-size: 13px;
    color: #fff;
    opacity: 0.8;
    min-width: 45px;
    text-align: center;
}

/* Volume Control */
.lydbolge-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.lydbolge-volume-control svg {
    color: #fff;
    opacity: 0.8;
    flex-shrink: 0;
}

#lydbolge-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#lydbolge-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

#lydbolge-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#lydbolge-volume-slider:hover::-webkit-slider-thumb {
    background: #1db954;
}

#lydbolge-volume-slider:hover::-moz-range-thumb {
    background: #1db954;
}

/* Tracklist */
.lydbolge-tracklist {
    padding: 12px 0;
}

.lydbolge-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    cursor: pointer;
}

.lydbolge-track:hover {
    background: rgba(255,255,255,0.05);
}

.lydbolge-track.playing {
    background: rgba(29,185,84,0.15);
}

.lydbolge-track-number {
    width: 20px;
    text-align: center;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 600;
}

.lydbolge-track-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
}

.lydbolge-track-info {
    flex: 1;
}

.lydbolge-track-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 3px 0;
    color: #fff;
}

.lydbolge-track-artist {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
}

/* TRACK PLAY BUTTON */
.lydbolge-track-play {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.lydbolge-track-play svg {
    display: none;
}

.lydbolge-track-play::after {
    content: '▶';
    font-size: 16px;
    color: #1c383f;
    padding-left: 2px;
}

.lydbolge-track-play:hover {
    background: #fff;
    transform: scale(1.05);
}

.lydbolge-track.playing .lydbolge-track-play {
    background: #1db954;
}

.lydbolge-track.playing .lydbolge-track-play::after {
    content: '❚❚';
    color: #fff;
    padding-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lydbolge-player {
        margin: 16px 0;
        border-radius: 8px;
    }
    
    .lydbolge-current {
        flex-direction: column;
        align-items: center;
        padding: 20px 16px;
    }
    
    .lydbolge-cover {
        border-radius: 12px;
    }
    
    .lydbolge-cover img {
        width: 100px;
        height: 100px;
    }
    
    .lydbolge-info {
        width: 100%;
        text-align: center;
    }
    
    .lydbolge-info h3 {
        font-size: 20px;
    }
    
    .lydbolge-info p {
        font-size: 15px;
    }
    
    .lydbolge-controls {
        padding: 14px 16px;
        gap: 10px;
    }
    
    #lydbolge-play {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    #lydbolge-play::after {
        font-size: 18px;
    }
    
    #lydbolge-volume {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .lydbolge-time {
        font-size: 13px;
        min-width: 38px;
    }
    
    .lydbolge-volume-control {
        display: none;
    }
    
    .lydbolge-track {
        padding: 8px 16px;
        gap: 10px;
    }
    
    .lydbolge-track-number {
        width: 18px;
        font-size: 13px;
    }
    
    .lydbolge-track-thumb {
        width: 36px;
        height: 36px;
    }
    
    .lydbolge-track-title {
        font-size: 14px;
    }
    
    .lydbolge-track-artist {
        font-size: 13px;
    }
    
    .lydbolge-track-play {
        width: 44px;
        height: 44px;
    }
    
    .lydbolge-track-play::after {
        font-size: 13px;
    }
    
    .lydbolge-footer {
        padding: 10px 16px !important;
    }
    
    .lydbolge-logo {
        height: 13px !important;
    }
}

/* Footer with logo */
.lydbolge-footer {
    padding: 12px 32px !important;
    text-align: center;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.lydbolge-logo {
    height: 16px !important;
    max-height: 16px !important;
    width: auto !important;
    opacity: 1 !important;
    transition: opacity 0.2s;
}

.lydbolge-logo:hover {
    opacity: 0.8 !important;
}
