.mini-spotify{
    margin-top:20px;
    background:#121212;
    border-radius:14px;
    padding:20px;
    color:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.ms-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.ms-cover{
    width:80px;
    height:80px;
    border-radius:10px;
    flex-shrink:0;
}

.ms-info{
    flex:1;
}

.ms-title{
    font-weight:bold;
    font-size:15px;
    margin-bottom:5px;
}

.ms-sub{
    font-size:13px;
    opacity:0.6;
}

.ms-controls{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    margin:15px 0;
}

.ms-controls button{
    background:none;
    border:none;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    transition:0.2s;
}

#msPlay{
    font-size:28px;
    background:#1db954;
    width:60px;
    height:60px;
    border-radius:50%;
}

.ms-controls button:hover{
    transform:scale(1.2);
}

/* ============================= */
/* PLAYLIST CONTAINER */
/* ============================= */
.ms-playlist-list {
    margin-top: 20px;
    background: #0f0f0f;
    border-radius: 14px;
    overflow: hidden;
    max-height: 350px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Custom Scrollbar */
.ms-playlist-list::-webkit-scrollbar {
    width: 6px;
}

.ms-playlist-list::-webkit-scrollbar-thumb {
    background: #1DB954;
    border-radius: 10px;
}

.ms-playlist-list::-webkit-scrollbar-track {
    background: transparent;
}

/* ============================= */
/* PLAYLIST ITEM */
/* ============================= */
.ms-playlist-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    color: #ccc;
    position: relative;
}

/* Hover effect */
.ms-playlist-item:hover {
    background: rgba(255,255,255,0.06);
}

/* Active track */
.ms-playlist-item.active {
    background: rgba(29,185,84,0.12);
}

/* Glow effect on active */
.ms-playlist-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #1DB954;
    box-shadow: 0 0 12px #1DB954;
}

/* ============================= */
/* TRACK NUMBER */
/* ============================= */
.ms-track-number {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: #777;
    transition: all 0.3s ease;
}

/* Hover change number to play icon */
.ms-playlist-item:hover .ms-track-number {
    color: #fff;
}

.ms-playlist-item:hover .ms-track-number::before {
    content: "▶";
    position: absolute;
    left: 28px;
    transform: translateX(-50%);
    font-size: 14px;
}

/* Hide original number on hover */
.ms-playlist-item:hover .ms-track-number {
    color: transparent;
}

/* Active track number color */
.ms-playlist-item.active .ms-track-number {
    color: #1DB954;
}

/* ============================= */
/* TRACK INFO */
/* ============================= */
.ms-track-info {
    flex: 1;
}

.ms-track-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s;
}

.ms-track-meta {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

/* Active title color */
.ms-playlist-item.active .ms-track-title {
    color: #1DB954;
}

/* ============================= */
/* DURATION */
/* ============================= */
.ms-track-duration {
    font-size: 13px;
    color: #888;
    width: 60px;
    text-align: right;
}

.ms-playlist-header,
.ms-header {
    display: none !important;
}
