.jbplayer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
    position: relative;
    width: 600px;
    height: 200px;
    margin: 40px auto;
    background: linear-gradient(306.21deg, #0057A3 -2.82%, #002F58 58.55%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.jbplayer::before {
    content: '';
    position: absolute;
    width: 848.53px;
    height: 368.44px;
    left: -200px;
    top: -115px;
    background: url('../logo.png') no-repeat center center;
    background-size: 100% 100%;
    opacity: 0.03;
    transform: rotate(-5deg);
    z-index: 1;
    pointer-events: none;
}

/* We don't need the flex wrappers to do anything since everything is absolute */
.jbplayer__wrapper, .jbplayer__inner, .jbplayer__left, .jbplayer__right, .jbplayer__header, .jbplayer__titles { 
    position: static; 
}

/* Album Art */
.jbplayer__image {
    position: absolute;
    width: 122px;
    height: 120px;
    left: 18px;
    top: 19px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
.jbplayer.isPlaying .jbplayer__image { transform: scale(.95); }
.jbplayer__image img { width: 100%; height: 100%; object-fit: cover; }

/* Robot Head */
.jbplayer__robot-icon {
    position: absolute;
    width: 42px;
    height: 30px;
    left: 40px;
    top: 157px;
    z-index: 10;
}
.jbplayer__robot-icon img {
    position: absolute;
    width: 80px;
    height: 80px;
    left: -19px;
    top: -24px;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

/* Artist & Title */
.jbplayer__details--track-artist {
    position: absolute;
    width: 300px;
    height: 39px;
    left: 179px;
    top: 15px;
    font-weight: 500;
    font-size: 32px;
    line-height: 39px;
    color: #67B8FF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jbplayer__details--track-title {
    position: absolute;
    width: 300px;
    height: 15px;
    left: 179px;
    top: 54px;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #67B8FF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls */
.jbplayer__controls--shuffle, .jbplayer__controls--prev, .jbplayer__controls--next, .jbplayer__controls--repeat {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 95px;
    color: #67B8FF;
    cursor: pointer;
    transition: color 0.2s;
}
.jbplayer__controls--shuffle { left: 179px; }
.jbplayer__controls--prev { left: 229px; }
.jbplayer__controls--next { left: 349px; }
.jbplayer__controls--repeat { left: 399px; }

.jbplayer__controls--play {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 279px;
    top: 86px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #67B8FF;
}

.jbplayer__controls > div:hover { color: #a3d5ff; }

/* Icons inside controls */
.jbplayer__controls svg { width: 100%; height: 100%; stroke-width: 1.5; }
.jbplayer__controls--play .jbplayer__play-circle {
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
}
.jbplayer__controls--play svg { width: 20px; height: 20px; margin-left: 2px; stroke-width: 0; }

/* Progress Line */
.jbplayer__progress-container {
    position: absolute;
    width: 402px;
    height: 1px;
    left: 179px;
    top: 138px;
}
.jbplayer__progress {
    width: 100%; height: 2px;
    -webkit-appearance: none; appearance: none; background: transparent; border: none; display: block;
}
.jbplayer__progress::-webkit-progress-bar { background-color: rgba(38, 144, 237, 0.3); border-radius: 1px; }
.jbplayer__progress::-webkit-progress-value { background-color: #2690ED; border-radius: 1px; }
.jbplayer__progress::-moz-progress-bar { background-color: #2690ED; border-radius: 1px; }

/* Bottom Action Buttons */
.jbplayer__btn {
    position: absolute;
    width: 114.62px;
    height: 30px;
    top: 151px;
    background: #FFFFFF;
    border: 0.77px solid #2690ED;
    border-radius: 12.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    padding: 0;
    transition: transform 0.2s;
}
.jbplayer__btn:hover { transform: translateY(-1px); }

.jbplayer__btn--download { left: 179px; }
.jbplayer__btn--plays { left: 306px; }

.jbplayer__btn-icon { color: #2690ED; display: flex; align-items: center; justify-content: center; }
.jbplayer__btn-icon svg { width: 16px; height: 16px; }

.jbplayer__btn-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.jbplayer__btn-text strong, .jbplayer__btn-text small { 
    font-weight: 600; font-size: 8.46px; line-height: 10px; color: #2690ED; margin: 0; padding: 0;
}

/* Logo */
.jbplayer__logo {
    position: absolute;
    width: auto;
    max-width: 80px;
    height: 33px;
    right: 20px;
    top: 15px;
    z-index: 2;
}
.jbplayer__logo img { width: auto; height: 100%; object-fit: contain; }


