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

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

    overflow-x: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

#registerView {
    width: 380px;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* Pola formularza */
.login-form input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    box-sizing: border-box;

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

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

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

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

.login-form input:focus {
    border-color: #666;
    background: #141414;
}

/* Przycisk rejestracji */
.login-form button {
    width: 100%;
    height: 52px;
    margin-top: 5px;

    background: white;
    border: none;
    border-radius: 33px;

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

    cursor: pointer;
    transition: .2s;
}

.login-form button:hover {
    background: #dedede;
}

.login-form button:active {
    transform: scale(.98);
}

/* Komunikat */
.RegisterMessage {
    color: #ff5555;
    font-size: 12px;
    margin: 0;
    min-height: 0;
}

.RegisterMessage:empty {
    display: none;
}

/* Link do logowania */
.login-links {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 13px;
    gap: 5px;
}

.login-links p {
    margin: 0;
    color: #888;
}

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

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

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

.input-with-action {
    position: relative;
    width: 100%;
}

.input-with-action input {
    width: 100%;
    padding-right: 105px;
}

.input-with-action a {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);

    color: #aaa;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;

    transition: color .2s;
}

.input-with-action a:hover {
    color: white;
}

#passwordError {
    color: #ff4d4d;
    font-size: 12px;
    margin: -12px 0;
}

/* Responsywność */
@media (max-width: 480px) {
    #registerView {
        max-width: calc(100% - 36px);
    }

    .login-form {
        gap: 13px;
    }
}