body {
    margin: 0;
    min-height: 100vh;

    /* 100dvh = wysokość okna BEZ pasków przeglądarki na telefonie.
       (100vh na mobile liczy się do największej możliwej wysokości,
       co potrafi "ucinać" dół strony — dlatego dajemy obie wartości:
       starsze przeglądarki użyją 100vh, nowe nadpiszą je 100dvh.) */
    min-height: 100dvh;

    background-color: black;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;

    /* Blokuje poziome przewijanie: gdy jakiś element (np. długi kod)
       jest szerszy od ekranu, strona nie przesuwa się w bok. */
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo {
    margin: 0;
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -.7px;
    color: white;
}

.login-container {
    width: 380px;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-30px);
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.login-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form input {
    width: 100%;
    height: 52px;
    padding: 0 16px;

    background: #111;
    border: 1px solid #292929;
    border-radius: 22px;

    color: white;
    font-family: inherit;
    font-size: 14px;

    outline: none;
    transition: border .2s;
}

.login-form input::placeholder {
    color: #777;
}

.login-form button {
    align-items: center;
    height: 52px;
    margin-top: 5px;
    background: white;
    border: none;
    border-radius: 33px;

    color: black;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: .2s;
}

.login-form input,
.login-form button {
    width: 100%;
    box-sizing: border-box;
}

.login-links {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 111px;
    font-size: 13px;
}

.login-links a {
    color: white;
    text-decoration: none;
    transition: color .2s;
}

.login-links a:hover {
    color: white;
    text-decoration: underline;
}

.LoginMessage {
    color: red;
    font-size: 12px;
    margin: 0;
}