.TrackListWidget_trackListGridContainer__RyUwR {
    background-color: #90df4b73 !important;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #baf68533 !important;
}

/* ── Layout ── */

.page-content {
    padding: 20px 0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container .logo {
    margin: 20px 10px 1px 10px;
}

.line {
    height: 1px;
    background-color: green;
    margin: 20px 10% 8px 10%;
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.yr {
    margin: 30px;
}

.sameline {
    width: 150%;
}

.section-title {
    margin: 20px 0px 50px 0px;
    color: #4c801fec;
}

.subs {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4c801fec;
    margin: 10px;
}

/* ── Header / Nav ── */

.header {
    width: 100%;
    background-color: transparent;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
}

.nav-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    gap: 12px;
}

.logo-link img {
    height: 48px;
    width: auto;
}

/* ── Search ── */

.nav-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 340px;
}

#nav-search {
    width: 100%;
    padding: 6px 14px;
    border: 1px solid #8dc44a;
    border-radius: 20px;
    background: #ffffff99;
    color: #2d5a0e;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#nav-search:focus {
    border-color: #4c801f;
    box-shadow: 0 0 0 3px #4c801f22;
}

#nav-search::placeholder {
    color: #88bb55;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fffffff0;
    border: 1px solid #c5e89a;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    list-style: none;
    padding: 6px 0;
    z-index: 2000;
    max-height: 300px;
    overflow-y: auto;
}

.search-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    color: #2d5a0e;
    transition: background 0.15s;
}

.search-dropdown li a:hover {
    background: #e8f7d4;
}

.search-acronym {
    font-weight: 700;
    color: #4c801f;
    min-width: 42px;
    font-size: 13px;
}

.search-full {
    flex: 1;
    font-size: 13px;
}

.search-year {
    font-size: 11px;
    color: #88bb55;
    font-weight: 600;
}

/* ── Hamburger ── */

.nav-hamburger {
    display: none;
    background: none;
    border: 1px solid #8dc44a;
    border-radius: 6px;
    color: #4c801f;
    padding: 6px 10px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.nav-hamburger:focus {
    outline: none;
    box-shadow: 0 0 0 3px #4c801f22;
}

/* ── Nav links ── */

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 4px 0;
}

.navbar-nav ul,
.navbar-nav li {
    list-style: none;
}

.nav-item {
    padding: 6px 20px;
    display: inline-block;
}

.nav-link {
    text-decoration: none !important;
    color: #4c801fec !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0 !important;
}

.nav-link:hover {
    color: rgb(4, 196, 4) !important;
}

.nav-link.active {
    color: rgb(6, 51, 24) !important;
}

.nav-divider-line {
    margin: 0 10%;
}

/* ── Download All button ── */

#download-all-btn {
    display: block;
    margin: 24px auto 8px;
    padding: 8px 22px;
    background: transparent;
    border: 1.5px solid #4c801f;
    border-radius: 20px;
    color: #4c801f;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}

#download-all-btn:hover {
    background: #4c801f;
    color: #fff;
}

#download-all-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#download-all-btn i {
    margin-right: 6px;
}

/* ── Footer ── */

.footer-basic {
    padding: 40px 0;
    color: #4c801fec;
}

.footer-basic ul {
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-basic li {
    padding: 0 10px;
}

.footer-basic ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer-basic ul a:hover {
    opacity: 1;
}

.footer-basic .social {
    text-align: center;
    padding-bottom: 25px;
}

.footer-basic .social > a {
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin: 0 8px;
    color: inherit;
    opacity: 0.75;
}

.footer-basic .social > a:hover {
    opacity: 0.9;
}

.footer-basic .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

/* ── GitHub link icon ── */

.github-icon {
    font-size: 48px;
    color: #4c801f;
    transition: color 0.2s, transform 0.15s;
    display: block;
}

.github-link:hover .github-icon {
    color: rgb(4, 196, 4);
    transform: scale(1.08);
}

/* ── Live projects card ── */

.liveproject-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid #c5e89a;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 16px;
    min-width: 200px;
    max-width: 240px;
    text-decoration: none;
    color: #2d5a0e;
    transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
}

.liveproject-card:hover {
    box-shadow: 0 6px 20px rgba(76, 128, 31, 0.2);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.92);
    color: #2d5a0e;
}

.liveproject-card i {
    font-size: 40px;
    color: #4c801f;
    margin-bottom: 10px;
}

.liveproject-card .lp-title {
    font-weight: 700;
    font-size: 15px;
    color: #4c801f;
    margin-bottom: 4px;
}

.liveproject-card .lp-desc {
    font-size: 12px;
    color: #88bb55;
    text-align: center;
}

/* ── Nav year dropdowns (desktop hover only) ── */

.nav-item-dropdown {
    position: relative;
}

.nav-dd-arrow {
    font-size: 9px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dd-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 300px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #c5e89a;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1500;
    backdrop-filter: blur(6px);
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    font-size: 12px;
    color: #2d5a0e;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

.nav-dropdown li a:hover {
    background: #e8f7d4;
}

.dd-acronym {
    font-weight: 700;
    color: #4c801f;
    min-width: 48px;
    font-size: 12px;
}

/* ── Subject page row layout fix ── */
/* .container is display:flex column; without explicit width .row shrinks.
   Force it to full width and center items horizontally. */
.container > .row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Folder entry + dropdown ── */

.folder-entry {
    position: relative;
    margin: 20px;
}

.folder-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: transform 0.15s;
}

.folder-toggle:hover {
    transform: scale(1.06);
}

.folder-toggle img {
    display: block;
}

.folder-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #c5e89a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 500;
    padding: 10px 0 6px;
    backdrop-filter: blur(6px);
}

.folder-panel.open {
    display: block;
}

.folder-dl-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 10px 8px;
    padding: 5px 14px;
    background: transparent;
    border: 1.5px solid #4c801f;
    border-radius: 16px;
    color: #4c801f;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    width: calc(100% - 20px);
    justify-content: center;
}

.folder-dl-btn:hover {
    background: #4c801f;
    color: #fff;
}

.folder-dl-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.folder-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 240px;
    overflow-y: auto;
}

.folder-file-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    color: #2d5a0e;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.folder-file-list li a:hover {
    background: #e8f7d4;
}

.folder-file-list li a i {
    color: #88bb55;
    min-width: 14px;
    font-size: 11px;
}

.folder-divider {
    height: 1px;
    background: #e0f0c4;
    margin: 6px 10px;
}

/* ── Mobile ── */

@media (max-width: 767.98px) {
    .nav-hamburger {
        display: block;
    }

    .nav-divider-line {
        display: none;
    }

    .navbar-nav {
        flex-direction: column;
        padding: 10px 0 16px;
    }

    .nav-item {
        padding: 4px 0;
        display: block;
        text-align: center;
    }

    .nav-search-wrapper {
        max-width: none;
        flex: 1;
    }

    #mainNav {
        border-top: 1px solid #c5e89a;
        margin-top: 4px;
    }

    .nav-dropdown {
        display: none !important;
    }

    .nav-dd-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-brand-row {
        padding: 10px 4%;
    }

    .logo-link img {
        height: 38px;
    }

    .yr {
        margin: 16px;
    }
}
