html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background-color: #abae9b;
    color: white;
    font-family: verdana;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
}

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

a {
    color: white;
    text-decoration: none;
}

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

.login-overskrift {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 30px;
}

.login-popup {
    position: relative;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    padding: 24px 28px;
    min-width: 320px;
    text-align: left;
    color: #ffffff;
}

.login-popup-titel {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: center;
}

.login-popup-felt {
    margin-bottom: 14px;
}

.login-popup-felt label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 13px;
}

.login-popup-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #333333;
}

.login-popup-knapper {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.login-download-link {
    font-size: 13px;
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

.login-download-link:hover {
    color: #e6e6e6;
}

.popup-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 2px;
}

.popup-overlay.visible {
    display: flex;
}

.popup-boks {
    background-color: #abae9b;
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    padding: 24px 28px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
}

.popup-besked {
    font-size: 13px;
    margin-bottom: 18px;
}

.popup-knapper {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.jmhide {
    display: none;
}

.kategori-knap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #8a7a55;
    background-color: #f0ead8;
    color: #333333;
    font-size: 14px;
    cursor: pointer;
}

.kategori-knap:hover {
    background-color: #e2dac0;
}

.kategori-knap:disabled {
    opacity: 0.45;
    cursor: default;
}

.kategori-knap:disabled:hover {
    background-color: #f0ead8;
}

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

.sange-popup {
    position: relative;
    width: 900px;
    height: 670px;
    box-sizing: border-box;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    padding: 24px 28px 24px 10px;
    text-align: left;
    color: #ffffff;
}

.sange-popup-playlist {
    width: 810px;
    height: 830px;
    display: flex;
    flex-direction: column;
    padding: 24px 10px 24px 10px;
}

.sange-popup-playlist .sange-header {
    margin: -24px -10px 0 -10px;
}

.sange-popup-playlist .sange-indhold {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 10px;
}

.sange-popup-playlist .sange-kolonner {
    flex: 1;
    align-items: stretch;
    min-height: 0;
}

.sange-popup-playlist .sange-venstre {
    justify-content: flex-start;
    min-height: 0;
    flex: 350;
}

.sange-popup-playlist .sange-hoejre {
    justify-content: flex-start;
    min-height: 0;
    flex: 430;
}

.sange-popup-playlist .sange-overskrift {
    margin-bottom: 0;
}

.sange-popup-playlist .sange-venstre .sange-boks {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
    border: none;
    padding: 0;
}

.sange-popup-playlist .sange-hoejre .sange-boks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 677px;
    box-sizing: border-box;
    border: none;
    padding: 0;
}

.playlist-afspiller {
    padding-bottom: 5px;
    flex: none;
    margin-top: 10px;
}

.player-knapper-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
}

.player-automatisk {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding-bottom: 2px;
    margin-left: 10px;
}

.player-automatisk label {
    font-size: 13px;
    color: #ffffff;
}

.player-automatisk input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.player-pause-input {
    width: 24px;
    padding: 2px 4px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
    margin-left: 10px;
}

.player-pause-input:disabled {
    background-color: #e0e0e0;
}

.player-pause-label {
    font-size: 13px;
    color: #ffffff;
    margin-left: 5px;
    padding-bottom: 2px;
}

.playlist-liste {
    flex: 1;
    min-height: 0;
    height: auto;
}

.playlist-sange-liste {
    flex: 1;
    min-height: 0;
    height: auto;
}

.sange-popup-playlist .sange-footer {
    margin-top: 7px;
    padding-top: 8px;
}

.sange-popup-edit {
    width: 900px;
    height: 750px;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.sange-popup-edit .sange-header {
    margin-right: -10px;
}

.sange-popup-edit .sange-footer {
    margin-top: 5px;
}

.sange-popup-edit .sange-indhold {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 10px;
}

.edit-top {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 10px;
}

.edit-felt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit-felt span {
    font-size: 13px;
}

.edit-input {
    width: 300px;
    padding: 4px 6px;
    font-size: 13px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
}

.sange-popup-edit .sange-kolonner {
    flex: 1;
    align-items: stretch;
    min-height: 0;
}

.sange-popup-edit .sange-venstre,
.sange-popup-edit .sange-hoejre {
    justify-content: flex-start;
    min-height: 0;
    flex: 1 1 0;
    width: 0;
}

.sange-popup-edit .sange-venstre .sange-boks {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: none;
    padding: 0;
}

.edit-sange-liste {
    flex: 1;
    min-height: 0;
    height: auto;
}

.sange-popup-edit .edit-valgte-boks {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: none;
    padding: 0;
}

.edit-valgte-wrap {
    flex: 1;
    display: flex;
    gap: 10px;
    min-height: 0;
}

.sange-popup-edit .edit-valgte-liste {
    flex: 1;
    min-height: 0;
    height: auto;
}

#lstEditSongs,
#lstEditSelectedSongs {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#lstEditSongs thead th,
#lstEditSelectedSongs thead th {
    position: sticky;
    top: 0;
    background-color: #9a9d8c;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 4px 6px;
}

#lstEditSongs tbody td,
#lstEditSelectedSongs tbody td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

#lstEditSongs tbody tr:nth-child(even) td,
#lstEditSelectedSongs tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.08);
}

#lstEditSongs tbody tr:nth-child(odd) td,
#lstEditSelectedSongs tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.03);
}

#lstEditSongs tbody tr.markert td,
#lstEditSelectedSongs tbody tr.markert td {
    background-color: rgba(173, 216, 230, 0.6);
    color: #000000;
}

#lstEditSongs tbody tr:hover td,
#lstEditSelectedSongs tbody tr:hover td {
    background-color: #e2dac0;
}

#lstEditSongs tbody tr.dragvis td {
    opacity: 0.4;
}

#lstEditSelectedSongs tbody tr.dragvis td {
    opacity: 0.4;
}

#lstEditSelectedSongs tbody tr.dropvis td {
    border-top: 2px solid #ffffff;
}

.edit-valgte-liste.drop-aktiv {
    box-shadow: inset 0 0 0 2px #ffffff;
}

#lstEditSongs th:first-child,
#lstEditSongs td:first-child,
#lstEditSelectedSongs th:first-child,
#lstEditSelectedSongs td:first-child {
    width: 40px;
    text-align: right;
}

#lstEditSongs th:first-child,
#lstEditSelectedSongs th:first-child {
    text-align: center;
}

.sange-popup-titel {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: center;
}

.sange-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    margin: -24px -28px 0 -10px;
    padding: 0 10px;
    background-color: #9a9d8c;
    box-sizing: border-box;
}

.sange-header-titel {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.sange-menu-knap {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 40px;
    justify-content: center;
}

.sange-menu-knap span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
}

.sange-menu-wrap {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.sange-menu {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    width: 170px;
    background-color: #9a9d8c;
    border: 2px solid #ffffff;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.sange-menu-wrap:hover .sange-menu {
    display: block;
}

.sange-menu.visible {
    display: block;
}

.sange-menu-punkt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #ffffff;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.sange-menu-ikon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
}

.sange-menu-punkt:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.sange-menu-eksit {
    color: #c62828;
}

.sange-indhold {
    margin-top: 24px;
}

.sange-kolonner {
    display: flex;
    gap: 10px;
}

.sange-venstre {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sange-hoejre {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sange-overskrift {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 31px;
    box-sizing: border-box;
}

.sange-overskrift span {
    display: inline-flex;
    align-items: flex-end;
    min-height: inherit;
}

.sange-combo {
    width: 200px;
    height: 23px;
    padding: 3px;
    font-size: 12px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
}

.sange-boks {
    border: 1px solid #ffffff;
    padding: 5px;
}

.sange-sogeboks {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.sange-sogeboks .kategori-knap {
    flex-shrink: 0;
}

#btnShowQueue {
    align-self: flex-start;
}

.sange-knap-ikon,
.knap-ikon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
}

.sange-sogefelt {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.sange-soeg-input {
    flex: 1;
    min-width: 0;
    padding: 4px 6px;
    font-size: 12px;
    border: 1px solid #8a7a55;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
}

.sange-liste {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ffffff;
}

#lstSongs {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#lstSongs thead th {
    position: sticky;
    top: 0;
    background-color: #9a9d8c;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid #ffffff;
    cursor: pointer;
    user-select: none;
}

#lstSongs .sange-kol-nr {
    width: 40px;
    text-align: center;
}

#lstSongs tbody td:first-child {
    text-align: right;
}

#lstSongs tbody td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

#lstSongs tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.08);
}

#lstSongs tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.03);
}

#lstSongs tbody tr.markert td {
    background-color: rgba(173, 216, 230, 0.6);
    color: #000000;
}

.site-wrapper {
    display: inline-block;
    text-align: left;
    vertical-align: top;
}

.copyright {
    margin: 10px 0 0 0;
    font-size: 12px;
}

.sange-player-boks {
    display: flex;
    flex-direction: column;
    height: 490px;
    overflow: hidden;
    box-sizing: border-box;
    color: #ffffff;
    gap: 4px;
}

.player-status {
    font-size: 12px;
    margin: 2px 0 4px;
}

.player-titel {
    font-weight: bold;
    font-size: 14px;
    background-color: transparent;
    color: #ffffff;
    padding: 3px 6px;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #ffffff;
}

.player-progress {
    margin-bottom: 4px;
}

.player-progress input[type=range] {
    width: 100%;
    height: 6px;
    cursor: pointer;
    accent-color: #9a9d8c;
}

.player-tider {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 12px;
    color: #ffffff;
}

.player-volume {
    margin-bottom: 6px;
}

.player-volume-label {
    display: flex;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 4px;
}

.player-peakmeter {
    height: 7px;
    background-color: #ffffff;
    margin-bottom: 4px;
    overflow: hidden;
}

.player-peakmeter-fyld {
    height: 100%;
    width: 0;
    background-color: #1a237e;
    transition: width 0.08s linear;
}

.player-volume input[type=range] {
    width: 100%;
    height: 6px;
    cursor: pointer;
    accent-color: #9a9d8c;
}

.player-knapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.player-knapper .kategori-knap {
    flex-shrink: 0;
}

.player-flip {
    margin-top: 30px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.flip-titel {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}

.flip-raekker {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 8px;
}

.flip-raekke {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flip-input {
    width: 50px;
    text-align: center;
    padding: 3px;
    border: 1px solid #8a7a55;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
}

.flip-knap,
.flip-nulstil {
    margin-top: 6px;
    align-self: flex-start;
}

.flip-rediger {
    margin-top: 6px;
    align-self: flex-end;
}

.flip-gem {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.flip-respons {
    font-weight: bold;
    margin-top: 8px;
    font-size: 13px;
}

#sangeAudio {
    display: none;
}

.queue-dimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 10000;
}

.queue-popup {
    position: fixed;
    z-index: 10001;
    background-color: #abae9b;
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    padding: 16px;
    color: #ffffff;
    min-width: 300px;
    max-width: 90vw;
    width: fit-content;
}

.queue-popup-skinne {
    display: flex;
    flex-direction: column;
}

.queue-popup-titel {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
}

.queue-liste {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ffffff;
    margin-bottom: 8px;
}

#lstQueue {
    width: auto;
    border-collapse: collapse;
    table-layout: auto;
}

#lstQueue thead th {
    background-color: #9a9d8c;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 4px 6px;
    border-bottom: 1px solid #ffffff;
    position: sticky;
    top: 0;
}

#lstQueue thead th.sange-kol-nr {
    text-align: center;
}

#lstQueue tbody td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

#lstQueue tbody td:first-child {
    text-align: right;
}

#lstQueue tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.08);
}

#lstQueue tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.03);
}

#lstQueue tbody tr.markert td {
    background-color: rgba(173, 216, 230, 0.6);
    color: #000000;
}

#lstQueue tbody tr:hover td {
    background-color: #e2dac0;
}

#lstQueue tbody tr.dragvis td {
    opacity: 0.4;
}

.queue-geist {
    position: fixed;
    z-index: 20000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background-color: #e2dac0;
    border: 1px solid #ffffff;
    border-radius: 6px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-family: verdana;
    font-size: 13px;
    font-weight: normal;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.queue-geist-nr {
    min-width: 30px;
    text-align: right;
}

.queue-geist-fjern {
    background-color: #e2dac0;
    border-color: #ffffff;
    color: #ffffff;
}

#lstQueue tbody tr.dropvis td {
    border-top: 2px solid #ffffff;
}

.queue-knapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 4px;
}

.queue-kontekstmenu {
    position: fixed;
    z-index: 10002;
    background-color: #ffffff;
    border: 2px solid #9a9d8c;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    padding: 4px 0;
    min-width: 180px;
}

.queue-menu-punkt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #333333;
    cursor: pointer;
}

.queue-menu-punkt:hover {
    background-color: #e2dac0;
}

.sange-footer {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 10px;
    border-top: 1px solid #ffffff;
}

.sange-footer-space {
    flex: 1;
}

.gem-besked {
    display: none;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 20px;
    align-self: flex-end;
}

#lstPlaylists,
#lstPlaylistSongs {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#lstPlaylists thead th,
#lstPlaylistSongs thead th {
    position: sticky;
    top: 0;
    background-color: #9a9d8c;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 4px 6px;
}

#lstPlaylists tbody td,
#lstPlaylistSongs tbody td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

#lstPlaylists tbody tr:nth-child(even) td,
#lstPlaylistSongs tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.08);
}

#lstPlaylists tbody tr:nth-child(odd) td,
#lstPlaylistSongs tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.03);
}

#lstPlaylists tbody tr.markert td,
#lstPlaylistSongs tbody tr.markert td {
    background-color: rgba(173, 216, 230, 0.6);
    color: #000000;
}

#lstPlaylists tbody tr:hover td,
#lstPlaylistSongs tbody tr:hover td {
    background-color: #e2dac0;
}

#lstPlaylists th:first-child,
#lstPlaylists td:first-child {
    width: 90px;
}

#lstPlaylistSongs th:first-child,
#lstPlaylistSongs td:first-child {
    width: 40px;
    text-align: right;
}

#lstPlaylistSongs th:first-child {
    text-align: center;
}