/* =====================
   Farben & Variablen
   ===================== */
:root {
    --bg: #0f0f0f;
    --bg-soft: #161616;
    --card: #1e1e1e;
    --text: #ffffff;
    --muted: #b3b3b3;
    --accent: #1DB954;
    --accent-hover: #1ed760;
}

/* =====================
   Base Reset
   ===================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #1b1b1b, #0a0a0a);
    color: var(--text);
}

/* =====================
   Layout
   ===================== */
.container {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 20px;
}

h1,
h2 {
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    margin-top: 50px;
    font-size: 20px;
    color: var(--muted);
}

/* =====================
   Suche
   ===================== */
.search-wrapper {
    position: relative;
}

.search {
    width: 100%;
    height: 56px;                  /* feste Höhe */
    line-height: 56px;             /* Text exakt mittig */
    padding: 0 52px 0 22px;        /* Platz für ❌ */
    margin-bottom: 30px;

    border-radius: 999px;
    border: none;
    outline: none;

    font-size: 18px;
    background: #ffffff;
    color: #000;
}

/* Clear-Button (❌) */
.clear-btn {
    position: absolute;
    right: 16px;
    top: 0;
    height: 56px;
    width: 32px;

    display: none;
    align-items: center;
    justify-content: center;

    border: none;
    background: none;
    cursor: pointer;

    font-size: 18px;
    line-height: 1;
    color: #666;
}

.clear-btn:hover {
    color: #000;
}

/* =====================
   Listen
   ===================== */
.results,
.suggestions {
    display: grid;
    gap: 12px;
}

/* =====================
   Cards
   ===================== */
.card {
    background: var(--card);
    border-radius: 16px;
    padding: 14px 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card strong {
    font-size: 15px;
}

.card small {
    font-size: 13px;
    color: var(--muted);
}

/* =====================
   Buttons
   ===================== */
.button {
    background: var(--accent);
    color: #000;

    border: none;
    border-radius: 999px;
    padding: 8px 14px;

    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    cursor: pointer;
}

.button:hover {
    background: var(--accent-hover);
}

/* Admin Buttons */
.admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.button.reject {
    background: #444;
    color: #fff;
}

.button.reject:hover {
    background: #666;
}

/* =====================
   Meta / Status
   ===================== */
.votes {
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
}

.status {
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
}

.badge {
    background: rgba(29, 185, 84, 0.15);
    color: var(--accent);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

		@media (max-width: 600px) {

    .container {
        margin: 40px auto;
        padding: 0 14px;
    }

    h1 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    h2 {
        font-size: 16px;
        margin-top: 36px;
    }

    /* Suchfeld */
    .search {
        font-size: 16px;
        padding: 14px 18px;
        padding-right: 48px;
    }

    .clear-btn {
        height: 48px;
        right: 12px;
    }

    /* Karten */
    .card {
        padding: 12px 14px;
        border-radius: 14px;
        gap: 10px;
    }

    .card strong {
        font-size: 14px;
    }

    .card small {
        font-size: 12px;
    }

    /* Buttons */
    .button {
        padding: 8px 12px;
        font-size: 13px;
    }

    .badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .votes {
        font-size: 12px;
    }

    /* Admin Actions untereinander */
    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

}
