:root {
    --primary: #444;
    --secondary: #555;
    --highlight: #666;
    --text: #ddd;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--primary);
    font-family: 'Arial', sans-serif;
    text-size-adjust: none;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1280px;
    min-width: 0;
    margin: auto;
    padding: 20px;
    gap: 20px;
}

.col {
    background-color: var(--secondary);
    flex: 1;
    flex-basis: 400px;
    height: fit-content;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.searchbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.searchbar input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
}

.searchbar input:focus {
    outline: none;
}

.searchbar button {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    padding: 10px;
    background-color: var(--text);
}

.music-db-dropdown {
    display: inline-block;
    position: relative;
}

#music-db-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#music-db-dropdown-content {
    visibility: hidden;
    position: absolute;
    width: 100%;
    min-width: max-content;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#music-db-dropdown-content.show {
    visibility: visible;
}

.music-db-dropdown-item {
    padding: 10px;
    background-color: var(--secondary);
    color: var(--text);
    cursor: pointer;
}

.music-db-dropdown-item:hover {
    background-color: var(--highlight);
}

.music-db-dropdown-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.music-db-dropdown-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.album-dropdown-item {
    display: block;
    text-decoration: none;
    padding: 10px;
    border-bottom: 1px solid var(--highlight);
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
}

.album-dropdown-item:hover {
    background-color: var(--highlight);
}

.album-dropdown-item:last-child {
    border-bottom: none;
}

.album-dropdown-item:first-child {
    margin-top: 10px;
}

.album-dropdown-item-selected {
    background-color: var(--highlight);
}

.search-error {
    margin-top: 10px;
    padding: 10px;
    color: var(--text);
    font-size: 16px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 2px solid var(--highlight);
    height: 46px;
    margin-bottom: -2px;
    color: var(--text);
}

#copy-button {
    margin-left: auto;
    cursor: pointer;
}

#timestamps:not(:empty) {
    padding: 10px;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    color: var(--text);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--highlight);
    
}

::-webkit-scrollbar-thumb {
    background: var(--text);
}

#copy-toast {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: fit-content;
    margin: auto;
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    background-color: var(--text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#copy-toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.6s;
}

@keyframes fadein {
    from {top: -30px; opacity: 0;}
    to {top: 0; opacity: 1;}
}

@keyframes fadeout {
    from {top: 0; opacity: 1;}
    to {top: -30px; opacity: 0;}
}

.description {
    color: var(--text);
    text-align: center;
    font-size: 20px;
    padding: 20px;
}

.support {
    color: var(--text);
    text-align: center;
    padding: 20px;
}

.support a {
    color: #00e0e0;
    text-decoration: none;
}