@font-face {
    font-family: 'Inter';
    src: url('/app/fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/app/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #FFFFFF;
    font-weight: 900;

}

strong {
    font-weight: 700;
}

.hidden {
    display: none !important;
}

#mobile-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #111;
    cursor: default;
}

#status {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    color: #ffffff;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
}

.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #222;
    padding: 10px;
    border-radius: 8px;
    overflow-y: auto;
}

.inputs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.inputg {
    flex: 1;
    min-width: 300px;
}

.inputg label {
    display: block;
    margin-bottom: 5px;
}

.inputg input[type="file"],
.inputg input[type="text"] {
    width: 100%;
    padding: 8px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: white;
}

#player {
    width: 100%;
    max-width: 400px;
}

.metadata {
    display: flex;
    gap: 20px;
    align-items: center;
}

#cover-art {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    cursor: pointer;
}

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

.controls button {
    padding: 10px 20px;
    background: #333;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.controls button:hover {
    background: #555;
}

.sliders {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.slidez {
    flex: 1;
    min-width: 150px;
}

.slidez label {
    display: block;
    margin-bottom: 5px;
}

.main_slide {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    background: #222;
    padding: 4px 8px;
    border-radius: 4px;
}

.main_slide span {
    white-space: nowrap;
    font-size: 14px;
}

.range-wrapper {
    position: relative;
    flex: 1;
}

.main_slide input[type="range"] {
    width: 100%;
    height: 6px;
    background: #444;
    border-radius: 3px;
    appearance: none;
    outline: none;
    margin: 0 8px;
}

.main_slide input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #e4e4e4;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.main_slide input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.main_slide input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #e9e9e9;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.main_slide input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.eq_sec {
    background: #222;
    padding: 10px;
    border-radius: 8px;
}

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

.eq_sec select {
    padding: 8px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: white;
    width: 100%;
}

.viz_sec {
    flex: 1;
}

#visualizer {
    width: 100%;
    height: 200px;
    background: #000;
    border-radius: 8px;
}

.viz_cons {
    margin-top: 10px;
}

.viz_cons select {
    padding: 8px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: white;
}

.lyrics-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    color: #d4d4d4;
}

.lyrics-container p {
    margin: 5px 0;
    font-size: 16px;
    transition: color 0.2s;
}

.lyrics-container .active {
    color: #ffffff;
    font-weight: bold;
}

.error-box {
    position: relative;
    background: #a00;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 1s ease;
}

#statusbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #061f3040;
    padding: 10px 20px;
    border-radius: 4px;
}

#confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#confirm-dialog p {
    margin: 0 0 10px;
}

#confirm-dialog button {
    padding: 8px 16px;
    background: #444;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin: 0 5px;
}

#confirm-dialog button:hover {
    background: #555;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 4px solid #061f30;
    border-top-color: #1d9bf0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.track {
    margin-top: 14px;
    padding: 18px 24px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 240px;
    transition: box-shadow 0.2s;
    outline: none;
}

.track-title {
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px #2228;
}

.track-artist {
    font-size: 1.2em;
    color: #dadada;
    margin: 0 0 4px 0;
    font-weight: 500;
    text-shadow: 0 1px 2px #2226;
}

.track-album {
    font-size: 1em;
    color: #bbbbbb;
    margin: 0;
    font-style: italic;
    opacity: 0.85;
}

a, a:visited, a:active, a:hover {
    color: #1d9bf0;
    text-decoration: none;
    transition: color 0.2s;
}

.pop {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center; 
}

.pop button {
    padding: 10px 20px;
    background: #333;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.pop button:hover {
    background: #555;
}

a, a:visited, a:active, a:hover {
    color: #cfcfcf;
    text-decoration: none;
    transition: color 0.2s;
}