body {
  padding-left: 10px;
  padding-right: 10px;
}


/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Make sure images, tables, and containers are responsive */
img, table, .download-container, .song-wrapper {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent table from overflowing */
.download-options {
  width: 100%;
  overflow-x: auto;
  display: block;
}


/* 🔹 Overall Download Page Styling */
.download-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
}

/* 🔹 Song Details: Image Left, Text Right */
.song-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start; /* ✅ Ensures image is left, text right */
}

/* 🔹 Song Cover Image */
.song-wrapper img {
    width: 340px;
    height: 240px;
    border-radius: 10px;
    margin-left: -80px;

}

/* 🔹 Song Info (Right Side) */
.song-info {
    display: flex;
    flex-direction: column;
    margin-left: 130px;
}

.song-info h1 {
    font-size: calc(1.3125rem + .75vw);
    margin: 0;
    font-weight: 700;
    color: var(--bs-heading-color);
}

.song-info span {
    font-size: 20px;
    color: #666;
}


.song-info p i {
    margin-right: 8px;
    color: #1e88e5; /* ✅ Styled clock icon */
}

/* 🔹 Share Icons */
.share-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.share-icons a {
    font-size: 24px;
    text-decoration: none;
}

.share-icons a:first-child {
    color: #25D366; /* ✅ WhatsApp Green */
}

.share-icons a:last-child {
    color: #1877F2; /* ✅ Facebook Blue */
}

/* 🔹 Download Table */
.download-options {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.download-options th, .download-options td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.download-options a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.download-options a:hover {
    color: #0D47A1;
}

/* 🔹 Mobile Optimization */
@media screen and (max-width: 768px) {
    .song-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .song-wrapper img {
        width: 100px;
        height: 100px;
    }

    .song-info {
        align-items: center;
    }

    .share-icons {
        justify-content: center;
    }
}

/* 🔹 Download Table */
.download-options {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.download-options th, .download-options td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* 🔹 Styled Download & Play Buttons */
.download-btn, .play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

/* 🔹 Download Button */
.download-btn {
    background-color: #28a745; /* ✅ Green background */
}

.download-btn:hover {
    background-color: #218838;
}

/* 🔹 Play Button */
.play-btn {
    background-color: #007bff; /* ✅ Blue background */
    color: white;
}

.play-btn:hover {
    background-color: #0056b3;
}

/* 🔹 Icons */
.download-btn i, .play-btn i {
    font-size: 18px;
}

.next-song {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start; /* ✅ Ensures proper alignment */
}

.next-song img {
    width: 100px;
    height: 100px;
    border-radius: 10px; /* Don't forget the px */
    padding: 0;           /* Remove internal spacing */
    margin: 0;            /* Remove external spacing */
    display: block;       /* Removes bottom whitespace caused by inline display */
}



