﻿/* =====================
   Universal Alphabet Scroll
   ===================== */
.library-nav {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
}

.letter-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Use auto so it only shows when needed */
    /* Forces the container to respect the parent's width */
    min-width: 0;
    padding: 12px 15px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
}

   

.letter-btn {
    flex: 0 0 40px; /* CRITICAL: Prevents letters from shrinking */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    transition: all 0.2s ease;
}

    .letter-btn.active {
        color: #fff !important;
        background-color: #0165b0; /* Your brand blue from screenshot */
    }

    .letter-btn:hover:not(.active) {
        background-color: #333;
        color: #fff;
    }



/* =====================
   Cool Jamtab Scrollbar 
   ===================== */
/* 1. Target the specific container */
.letter-scroll-container::-webkit-scrollbar {
    height: 6px; /* Slim and modern */
}

/* 2. The Track (background) */
.letter-scroll-container::-webkit-scrollbar-track {
    background: #121212;
    border-radius: 10px;
    margin: 0 10px;
}

/* 3. The Thumb (the blue bar) */
.letter-scroll-container::-webkit-scrollbar-thumb {
    background: #0165b0; /* Your brand blue */
    border-radius: 10px;
    border: 1px solid #121212; /* "Floating" effect */
}

    .letter-scroll-container::-webkit-scrollbar-thumb:hover {
        background: #0078d4; /* Brighter blue on hover */
        box-shadow: 0 0 8px rgba(1, 101, 176, 0.5);
    }

/* Firefox Support */
.letter-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #0165b0 #121212;
}



/* =====================
   Song Video Toggle
   ===================== */

#songVideoToggle {
    text-align: center;
    background-color: #2c2c2e; /* Deep charcoal backdrop */
    padding: 8px 12px;
    border-radius: 40px; /* Pill shape for the container */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0; /* Prevents the toggle from squishing on small screens */
}

    #songVideoToggle i {
        cursor: pointer;
        width: 52px; /* Fixed size for perfect circles */
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px; /* Punchy icon size */
        border-radius: 50%;
        transition: all 0.2s ease-in-out;
        color: #8e8e93; /* Muted grey for inactive icons */
    }

        /* THE ACTIVE STATE (Match your image) */
        #songVideoToggle i.active {
            background-color: #d1d1d6 !important; /* Bright light-grey circle */
            color: #1c1c1e !important; /* Black icon color */
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }

        /* Hover effect for the inactive icon only */
        #songVideoToggle i:not(.active):hover {
            background-color: #3a3a3c;
            color: #ffffff !important;
        }




/* =====================
   Main Section
   ===================== */

.index-container {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    overflow-x: hidden;
}

.index-contents {
    position: relative;
    margin-top: 0px;
    width: 100%;
    height: auto;
    z-index: 0;
    background: red;
}






/* =====================
   Video Container
   ===================== */
#videoContainer {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    padding: 20px;
}

/*
.thumbnail-list {
    display: inline-block;
    width: 250px;
    margin-bottom: 20px;
}

.thumbnail-wrapper {
    display: flex;
    flex-direction: column;
    background-color: #121212;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 10px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}
*/

    /* Apply hover effect immediately, no transition needed on size */
    .thumbnail-wrapper:hover {
        border-color: #282828; /* Grey border color on hover */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7); /* Darker shadow */
    }

/* Thumbnail item container inside the wrapper */
.thumbnail-item-container {
    display: flex;
    flex-direction: column;
    background-color: #121212;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Thumbnail image */
.thumbnail-image-container {
    width: 100%;
    height: 150px;
    position: relative;
}

/*
.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
*/

.avatar-container {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .avatar-container img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .avatar-container i {
        color: white;
    }

.text-content {
    padding: 5px; /* Reduced padding for closer separation */
    color: white;
}

.video-title {
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 3px; /* Reduced margin for closer separation */
    text-decoration: none; /* Prevent underlines on text */
}

.video-attr {
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 3px; /* Reduced margin for closer separation */
    text-decoration: none; /* Prevent underlines on text */
}

/* Ensuring text truncation */
.video-title, .video-attr {
    max-width: 230px; /* Adjust the width to suit your design */
}

/* Remove text underline on hover */
.thumbnail-wrapper:hover .video-title,
.thumbnail-wrapper:hover .video-attr {
    text-decoration: none;
}

/* Hover effects for the image */
.thumbnail-wrapper:hover .thumbnail-image {
    opacity: 0.8;
}

/* Views Section */
.views-container {
    padding: 5px; /* Reduced padding for closer separation */
    text-align: center;
    color: #ddd; /* Light grey color for the views text */
}

.views-text {
    font-size: 12px;
    font-weight: bold;
}








/* =====================
   Song Container
   ===================== */

#songVideoToggleHeader {
    text-align:center;
    border-bottom: 2px solid #888;
    width:100%;
}

#songContainer {
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-table {
    border-collapse: collapse;
    border-radius: 15px;
    font-size: 14px;
    color: #111;
    table-layout: fixed;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

    .result-table th, .result-table td {
        text-align: left;
        padding-top: 6px;
        padding-bottom: 6px;
        padding-left: 3px;
        padding-right: 3px;
        word-wrap: break-word;
    }

    .result-table tr {
        border-bottom: 1px solid #000;
        color: #fff;
    }

    .result-table tr.header, .result-table tr.header:hover {
        background: #111;
        color: #fff;
        border-bottom: 1px solid #000;
        font-size: 14px;
    }

    .result-table tr:hover {
        color: #0165b0;
        background: #050505;
    }

    .result-table thead {
        background-color: #282828;
        color: #fff;
    }

    .result-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #282828;
        padding: 10px;
        text-align: left;
    }

.result-table .song-row:hover {
    cursor: pointer;
}

.result-table .col1 {
    display: flex;
    align-items: center;
}

.result-table .fa-play {
    margin-right: 8px;
    cursor: pointer;
}

.song-row {
}

.details-row {
    background-color: rgb(35, 35, 35);
    color: #fff;
    height:45px;
}

    .details-row.even {
        background-color: #111;
    }

    .details-row.odd {
        background-color: #151515;
    }


.instrument-wrapper {
    padding-left:15px;
}

    .details-row .view-link a, .details-row .edit-link a {
        background-color: #0165b0;
        color: #fff;
        padding: 8px 16px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.3s ease;
    }

        .details-row .view-link a:hover, .details-row .edit-link a:hover {
            background-color: #0d83dd;
        }

    .details-row td {
        padding-left: 15px;
    }

@media (max-width: 768px) {
    .result-table th, .result-table td {
        padding: 10px;
    }

    .result-table .col1 {
        font-size: 14px;
    }

    .details-row .view-link a, .details-row .edit-link a {
        padding: 6px 12px;
    }
}



/*Verified Button and Checkbox*/

.checkedin-btn {
    background-color: #a71d2a; /* Bootstrap red */
    color: white;
    font-weight: 500;
    padding: 3px 8px;
    margin-left: 15px;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: default;
    user-select: none;
}

.checkedin-check {
    color: #a71d2a;
    font-weight: bold;
    margin-left: 5px;
}



.published-btn {
    background-color: #28a745; /* Bootstrap green */
    color: white;
    font-weight: 500;
    padding: 3px 8px;
    margin-left: 15px;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: default;
    user-select: none;
}

.published-check {
    color: #28a745;
    font-weight: bold;
    margin-left: 5px;
}



@media (max-width: 768px) {
    .checkedin-btn,
    .published-btn
    {
        display: none !important;
    }
}





/*Load More Button*/

/* Deep Charcoal Pill Button */
.load-more-flex {
    background-color: #2c2c2e !important; /* Deep dark grey */
    color: #ffffff !important; /* Pure white text */
    border: none !important;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase; /* Matches your image style */
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

    .load-more-flex:hover {
        background-color: #3a3a3c !important;
        transform: translateY(-1px);
    }

    .load-more-flex:active {
        transform: translateY(1px);
    }

    /* Icon Spacing */
    .load-more-flex i {
        margin-left: 10px;
        font-size: 14px;
        color: #ffffff !important;
    }






/*Video Cards*/

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
}