input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

body {
    background-color: #191414;
    color: white;
    font-family: "Liberation Sans", sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin: 0;
}

body > * {
    flex-shrink: 0;
}

h1 {
    font-size: 4rem;
    margin: 0 0 40px;
    text-shadow: 0 2px 10px rgba(31, 25, 25, 0.5);
}

.current_container, .search_container {
    margin-bottom: 50px;
}

.current_container {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #1DB954;
    padding: 50px 0;
    z-index: 2;
}

.current_container > * {
    flex-shrink: 0;
}

.current_container img {
    max-height: 350px;
    max-width: 250px;
    box-shadow: 0 0 15px 5px rgba(31, 25, 25, 0.5);
}

.current_text_container {
    max-width: calc(100% - 400px);
    padding: 30px 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-direction: column;
    font-size: 3rem;
    color: lightgray;
    text-overflow: ellipsis;
    overflow: hidden;
}

.current_text_container > * {
    flex-shrink: 0;
}

.current_text_container p {
    cursor: default;
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(31, 25, 25, 0.5);
}

.current_text_container p:last-child {
    font-size: .8em;
}

.current_container a {
    text-decoration: none;
    background-color: lightgray;
    border-radius: 5px;
    color: #1DB954;
    padding: 10px;
    margin-left: 10px;
    font-size: 1.4rem;
    box-shadow: 0 0 5px 1px rgba(31, 25, 25, 0.3);
    transition: box-shadow ease-in-out .1s;
}

.current_container a:hover {
    box-shadow: 0 0 10px 5px rgba(31, 25, 25, 0.3)
}

.search_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 700px;
    background-color: #1F1919;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

.search_box {
    padding: 10px 20px;
    margin: 0 40px 0 40px;
    width: 580px;
    font-size: 3rem;
    background: transparent;
    border: none;
    color: lightgray;
}

.search_box:focus, .search_box:focus-visible {
    border: none;
    outline: none;
}

.search_container svg {
    position: absolute;
    right: 20px;
    top: calc(50% - 20px);
    height: 40px;
    fill: lightgray;
}

.result_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 700px;
    padding: 10px 20px;
    overflow: auto;
    overflow-x: hidden;
    max-height: max-content;
}

.result {
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: #1F1919;
    border: none;
    width: 700px;
    padding: 20px 40px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    color: lightgray;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(31, 25, 25, 0.5);
}

.result > * {
    flex-shrink: 0;
}

.result:hover {
    background-color: #1DB954;
    transition: background-color .2s ease-in-out;
}

.result img {
    max-height: 200px;
    max-width: 140px;
    box-shadow: 0 0 15px 5px rgba(31, 25, 25, 0.5)
}

.result_text_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 20px 20px 20px 80px;
}

.result_text_container > * {
    flex-shrink: 0;
}

.result_text_container span {
    margin: 10px;
    max-width: 400px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.result_text_container span:last-child {
    font-size: .7em;
}

.alt_result:hover {
    cursor: default;
    background-color: #1F1919;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: .8rem;
}

.footer > * {
    flex-shrink: 0;
}

.footer a, .footer button {
    margin: 20px;
    cursor: pointer;
    color: lightgray;
    text-decoration: none;
    border: none;
    background: transparent;
}

.footer a:hover, .footer button:hover {
    text-decoration: underline;
}

.footer p {
    color: lightgray;
    margin: 20px;
}

/* ---------- Login – neues Layout ---------- */

.login_container {
    min-height: 100vh;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.login_card {
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, #ffffff10 0, #121212 40%, #000000 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header mit Icons und Überschrift */

.login_header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login_icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login_icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1db954, #1ed760);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.login_icon svg {
    width: 26px;
    height: 26px;
}

/* Kopfhörer-Linie weiß */

.login_icon--headphones svg path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Spotify-Kreis mit Wellen */

.login_icon--spotify svg circle {
    fill: #ffffff;
}

.login_icon--spotify svg path {
    fill: none;
    stroke: #191414;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login_header h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

/* Formular */

.login_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login_field_group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login_input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.login_input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.login_input:focus {
    border-color: #1db954;
    box-shadow: 0 0 0 1px #1db95455;
    background: rgba(0, 0, 0, 0.8);
}

/* Fehlermeldungen & Flash-Messages */

.login_error {
    color: #ff6b6b;
    font-size: 0.8rem;
}

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

/* Remember + Button in einer Reihe */

.login_footer_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.login_remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #b3b3b3;
    cursor: pointer;
}

.login_remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Button */

.login_button {
    border: none;
    border-radius: 999px;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.login_button--primary {
    background-color: #1db954;
    color: #000000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.login_button--primary:hover {
    background-color: #1ed760;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
}

.login_button--primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* Responsive: auf schmalen Screens schönes Padding */

@media (max-width: 600px) {
    .login_container {
        padding: 24px 16px;
    }

    .login_card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .login_header h1 {
        font-size: 1.7rem;
    }
}

