/* Individual playlist item styling */
.playlist-item {
    display: flex;
    align-items: stretch;
    border: 0.5px solid #ddd;
    border-radius: 5px;
    margin-bottom: 5px; /* Adjusted margin-bottom */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-out;
    overflow: hidden;
    background-color: #e1e7ed;
}

.playlist-item:hover {
    background-color: #f0f0f0;
    transform: scaleX(1.03) scaleY(1.03) translateX(3px) translateY(3px);
}

/* Time styling */
.playlist-item time {
    display: inline-block;
    width: 110px;
    padding: 8px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border-radius: 5px 0 0 5px; /* Adjusted border-radius */
    margin-right: 15px;
    text-align: center;
}

.playlist-item:hover time {
    color: black;
}

/* Text styling */
.playlist-item div {
    flex: 1;
    padding: 8px; /* Adjusted padding */
    font-size: 14px;
    font-weight: 600;
    font-family: Sans-Serif;
    border-radius: 0 5px 5px 0; /* Adjusted border-radius */
    color: black;
}

/* Media query for smaller screens */
@media only screen and (max-width: 600px) {
    /* Container styling for smaller screens */
    .playlist-container {
        margin: 10px auto;
    }

    /* Individual playlist item styling for smaller screens */
    .playlist-item {
        margin-bottom: 10px;
        flex-direction: column;
    }

    .playlist-item:hover {
        transform: none;
    }

    /* Time styling for smaller screens */
    .playlist-item time {
        width: 100%;
        margin-right: 0;
        border-radius: 5px 5px 0 0;
        margin-bottom: 5px;
    }
}
