:root {
    --bg: rgb(0, 0, 0);
    --surface: #181818;
    --text-primary: #fff;
    --text-secondary: #b3b3b3;
    --accent: #1db954;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'Segoe UI', sans-serif;
}

.login-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}

.login-box h1 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.login-box form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    background: #282828;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.login-box form button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.login-box form button:hover {
    opacity: 0.9;
}

.error {
    color: #ff4c4c;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.profile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-link img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    background: #282828;
    /* Platzhalter-Hintergrund */
}

.profile-link a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.profile-link a:hover {
    text-decoration: underline;
}

/* Logo über der Box */
.login-box .logo {
    display: block;
    margin: 0 auto 1.5rem;
    /* zentriert, Abstand unten */
    width: 100%;
    /* gewünschte Breite */
    height: auto;
    /* Höhe passt sich automatisch an */
}