:root {
    --text-dark: #000000;
    --text-gray: #495470;
    --background-wihte: #FFFFFF;
    --background-yellow: #FFE682;
    --background-light-yellow: #FFF7D6;
    --background-light-gray: #F2F2F2;
}
body.dark-mode {
    --text-dark: #FFF066;
    --text-gray: #ECBE00;
    --background-wihte: #0F1419;
    --background-yellow: #151C23;
    --background-light-yellow: #464F68;
    --background-light-gray: #5F6B89;
}
html, body {
    background-color: var(--background-light-yellow);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}
#loading-overlay {
    width: 120px;
    height: 50%;
    background-color: var(--background-light-yellow);
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    z-index: 100;
}
.loading-logo {
    margin-top: 50px;
    margin-bottom: 40px;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}
.nav-item {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
}
.nav-item img {
    width: 24px;
    height: 24px;
    transition: 0.3s ease;
    filter: brightness(0);
}
.nav-item span {
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
}
.main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 20px 0;
    min-width: 0;
}
header {
    width: 100%;
}
.top-yellow-bar {
    width: 1580px;
    height: 288px;
    background-color: var(--background-yellow);
    z-index: 1;
    display: flex;
    align-items: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding-left: 100px;
    margin-top: -10px;
}
.header-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    margin-bottom: 0;
    color: var(--text-dark);
    margin-left: 80px;

}
.header-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 30px;
    margin-left: 80px;
}
.btn-voeg-toe {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--background-light-yellow);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 80px;
}
.btn-voeg-toe img {
    width: 20px;
}
#app-wrapper {
    margin-top: 0;
    background-color: var(--background-wihte);
    width: 1580px;
    min-height: auto;
    padding: 40px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 300px;
    align-items: center;
    border-bottom: 1px solid var(--background-light-gray);
    padding-bottom: 0;
    margin-bottom: 30px;
    width: 1200px;
    margin-left: 150px;
    margin-top: -40px;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-gray);
    cursor: pointer;
    padding: 15px 20px;
    position: relative;
    transition: color 0.3s;
}
.tab-btn:hover, .tab-btn.active {
    color: var(--text-dark);
}
.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 15%;
    width: 70%;
    height: 4px;
    background-color: var(--text-dark);
    border-radius: 10px 10px 0 0;
}
.settings-area {
    margin-top: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.btn-dark-mode {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.btn-dark-mode::after {
    content: "Dark";
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
}
.btn-dark-mode svg {
    width: 56px;
    height: 32px;
    display: block;
}
.fav-page .top-yellow-bar {
    height: 112px;
    transition: height 0.3s ease;
}
.fav-page #app-wrapper {
    min-height: auto;
}
.page-voeg #app-wrapper {
    min-height: auto;
}
.page-voeg {
    display: flex;
    flex-direction: column;
    padding-left: 150px;
    margin-top: 20px;
}
.input-group-item {
    background-color: var(--background-light-gray);
    border-radius: 8px;
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 788px;
    height: 56px;
    box-sizing: border-box;
}
.input-group-item label {
    font-size: 11px;
    color: #514970;
    font-weight: 700;
    margin-bottom: 2px;
}
.input-group-item input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    padding: 0;
    color: var(--text-dark);
}
.page-voeg .btn-voeg-toe-2 {
    background-color: var(--text-dark);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: fit-content;
    margin-top: 10px;
    margin-left: 0;
}
.page-voeg .btn-voeg-toe-2 img {
    width: 20px;
    height: 20px;
    filter: invert(88%) sepia(26%) saturate(858%) hue-rotate(21deg) brightness(107%) contrast(101%);
}
.page-voeg .btn-voeg-toe-2 span {
    color: #EAFF82;
    font-weight: bold;
    margin-left: 0;
}
.my-songs-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--background-light-gray);
    margin-left: -190px;
    padding-left: 190px;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: left;
}
@media screen and (max-width: 540px) {
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
    }
    .top-yellow-bar {
        width: 100% !important;
        max-width: 100vh !important;
        padding-left: 20px !important;
        box-sizing: border-box !important;
    }
    .main-container {
        padding: 0;
        width: 100%;
    }
    #loading-overlay {
        width: 100%;
        height: 75px;
        position: fixed;
        top: auto;
        bottom: 0;
        flex-direction: row;
        background-color: var(--background-light-yellow);
        border-top: 1px solid var(--background-light-gray);
        z-index: 1000;
    }
    .loading-logo, .settings-area {
        display: none;
    }
    .nav-list {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        margin: 0;
    }
    .top-yellow-bar {
        width: 100% !important;
        height: auto;
        border-radius: 0;
        padding: 20px;
        margin-top: 0;
        display: block;
        box-sizing: border-box;
    }
    #home-header-content::before {
        content: "";
        display: inline-block;
        width: 44px;
        height: 44px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='52' height='52' fill='%23000' rx='26'/%3E%3Cpath fill='%23FFE682' d='M26 7a19 19 0 1 0 19 19A19.02 19.02 0 0 0 26 7Zm0 35.077A16.078 16.078 0 1 1 42.077 26 16.095 16.095 0 0 1 26 42.077Zm0-26.308A10.241 10.241 0 0 0 15.77 26a1.462 1.462 0 1 1-2.924 0A13.168 13.168 0 0 1 26 12.846a1.462 1.462 0 1 1 0 2.923ZM39.154 26A13.169 13.169 0 0 1 26 39.154a1.462 1.462 0 1 1 0-2.923A10.242 10.242 0 0 0 36.23 26a1.462 1.462 0 0 1 2.924 0Zm-7.308 0a5.846 5.846 0 1 0-11.692 0 5.846 5.846 0 0 0 11.692 0Zm-8.77 0a2.923 2.923 0 1 1 5.847 0 2.923 2.923 0 0 1-5.846 0Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='52' height='52' fill='%23fff' rx='26'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        background-size: contain;
        vertical-align: middle;
        margin-bottom: 20px;
    }
    #home-header-content::after {
        content: "De Tijdloze";
        display: inline-block;
        font-weight: 800;
        font-size: 1.3rem;
        vertical-align: middle;
        margin-left: 55px;
        margin-top: -570px;
    }
    .header-content h1 {
        margin-left: 0;
        width: 100%;
        line-height: 1.1;
    }
    .header-content p {
        margin-left: 0;
        width: 100%;
        margin-top: 15px;
    }
    .btn-voeg-toe {
        margin-left: 0;
    }
    #app-wrapper {
        width: 100% !important;
        border-radius: 0;
        padding: 50px;
        margin-top: 0;
        margin-bottom: 75px;
        box-sizing: border-box;
        min-height: auto !important;
    }
    .tabs {
        width: 100%;
        margin-left: 0;
        margin-top: -60px;
        gap: 10px;
        justify-content: space-between;
    }
    .tab-btn {
        flex: 1;
        padding: 10px 0 !important;
        margin-top: 10px;
    }
    #songs-list {
        margin-top: -30px !important;
    }
    #songs-list .song-row {
        padding: 10px 15px 0 15px !important;
        justify-content: flex-start !important;
        gap: 10px;
    }
    #songs-list .divider {
        width: 80% !important;
        margin-left: 65px !important;
        margin-right: auto !important;
        margin-top: 0 !important;
    }
    .song-row {
        width: 100% !important;
        padding-right: 10px !important;
        justify-content: space-between !important;
    }
    .song-action {
        padding-right: 0 !important;
        margin-left: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        width: auto !important;
    }
    .fav-btn {
        margin-right: -70px !important;
        margin-top: -20px !important;
    }
    #favorieten-header-content h1 {
        margin-top: 20px !important;
        text-align: left;
    }
    #favorieten-header-content::after {
        content: "";
        display: block;
        width: 48px;
        height: 48px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='52' height='52' fill='%23000' rx='26'/%3E%3Cpath fill='%23FFE682' d='M26 7a19 19 0 1 0 19 19A19.02 19.02 0 0 0 26 7Zm0 35.077A16.078 16.078 0 1 1 42.077 26 16.095 16.095 0 0 1 26 42.077Zm0-26.308A10.241 10.241 0 0 0 15.77 26a1.462 1.462 0 1 1-2.924 0A13.168 13.168 0 0 1 26 12.846a1.462 1.462 0 1 1 0 2.923ZM39.154 26A13.169 13.169 0 0 1 26 39.154a1.462 1.462 0 1 1 0-2.923A10.242 10.242 0 0 0 36.23 26a1.462 1.462 0 0 1 2.924 0Zm-7.308 0a5.846 5.846 0 1 0-11.692 0 5.846 5.846 0 0 0 11.692 0Zm-8.77 0a2.923 2.923 0 1 1 5.847 0 2.923 2.923 0 0 1-5.846 0Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='52' height='52' fill='%23fff' rx='26'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: -42px;
        margin-left: 400px;
    }
    #favorieten-page-content {
        margin-top: -40px !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    #favorieten-page-content .song-row {
        padding: 10px 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #favorieten-page-content .song-actions {
        margin-left: auto !important;
        padding-right: 0 !important;
        width: auto !important;
    }
    .btn-delete {
        padding: 8px !important;
        min-width: 44px !important;
        height: 44px;
        border-radius: 50% !important;
        justify-content: center !important;
        margin-right: 0 !important;
    }
    .btn-delete span {
        display: none;
    }
    .btn-delete img {
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
    }
    #favorieten-page-content .divider {
        width: 90% !important;
        margin-left: 15px !important;
        margin-top: 5px !important;
    }
    .page-voeg::before {
        content: "";
        position: absolute;
        top: -120px;
        width: 48px;
        height: 48px;
        margin-left: 350px;
        z-index: 10;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='52' height='52' fill='%23000' rx='26'/%3E%3Cpath fill='%23FFE682' d='M26 7a19 19 0 1 0 19 19A19.02 19.02 0 0 0 26 7Zm0 35.077A16.078 16.078 0 1 1 42.077 26 16.095 16.095 0 0 1 26 42.077Zm0-26.308A10.241 10.241 0 0 0 15.77 26a1.462 1.462 0 1 1-2.924 0A13.168 13.168 0 0 1 26 12.846a1.462 1.462 0 1 1 0 2.923ZM39.154 26A13.169 13.169 0 0 1 26 39.154a1.462 1.462 0 1 1 0-2.923A10.242 10.242 0 0 0 36.23 26a1.462 1.462 0 0 1 2.924 0Zm-7.308 0a5.846 5.846 0 1 0-11.692 0 5.846 5.846 0 0 0 11.692 0Zm-8.77 0a2.923 2.923 0 1 1 5.847 0 2.923 2.923 0 0 1-5.846 0Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='52' height='52' fill='%23fff' rx='26'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }
        .page-voeg {
        padding: 20px;
        margin-top: 0;
        position: relative;
        display: block;
    }
    #add-song-header-content h1 {
        margin-top: 20px !important;
        margin-bottom: 30px !important;
        width: 80% !important;
        text-align: left !important;
    }
    .page-voeg .btn-voeg-toe-2 {
        margin-left: -50px !important;
    }
    .input-group-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: -50px !important;
    }
    .input-group-item:first-of-type {
        margin-top: -50px !important;
    }
    .my-songs-section {
        margin-left: -40px !important;
        padding-left: 0 !important;
        width: 100% !important;
    }
    #my-added-songs-list {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    #my-added-songs-list .song-row {
        margin-left: 0;
        padding: 5px 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #my-added-songs-list .song-row button span {
        display: none;
    }
    #my-added-songs-list .song-row button {
        margin-right: 40px;
    }
}
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}
.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: splashFadeIN 0.6 ease-out forwards;
}
.splash-logo {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='52' height='52' fill='%23000' rx='26'/%3E%3Cpath fill='%23FFE682' d='M26 7a19 19 0 1 0 19 19A19.02 19.02 0 0 0 26 7Zm0 35.077A16.078 16.078 0 1 1 42.077 26 16.095 16.095 0 0 1 26 42.077Zm0-26.308A10.241 10.241 0 0 0 15.77 26a1.462 1.462 0 1 1-2.924 0A13.168 13.168 0 0 1 26 12.846a1.462 1.462 0 1 1 0 2.923ZM39.154 26A13.169 13.169 0 0 1 26 39.154a1.462 1.462 0 1 1 0-2.923A10.242 10.242 0 0 0 36.23 26a1.462 1.462 0 0 1 2.924 0Zm-7.308 0a5.846 5.846 0 1 0-11.692 0 5.846 5.846 0 0 0 11.692 0Zm-8.77 0a2.923 2.923 0 1 1 5.847 0 2.923 2.923 0 0 1-5.846 0Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='52' height='52' fill='%23fff' rx='26'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: logoPop 0.8 cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}
.splash-content h2 {
    font-weight: 800;
    font-size: 30px;
    color: var(--text-dark);
    margin-top: -15px;
    animation: splashFadeIn 1 ease-out 1s forwards;
}
@keyframes logoPop {
    0% { transform: scale(0); opacity: 0;}
    100% { transform: scale(1); opacity: 1;}
}
@keyframes splashFadeIn {
    0% { transform: translateY(20px); opacity: 0;}
    100% { transform: translateY(0); opacity: 1;}
}
.splash-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}