* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #080808;
    color: #fff;

    font-family:
        "Nunito",
        "Gotham",
        Arial,
        sans-serif;
}

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.auth-box {
    width: 100%;
    max-width: 420px;

    padding: 32px;

    background: #111;

    border: 1px solid #242424;
    border-radius: 14px;
}

.logo {
    display: inline-block;

    color: #fff;
    text-decoration: none;

    font-size: 21px;
    font-weight: 900;
}

.logo span {
    color: #888;
}

.auth-header {
    margin: 34px 0 26px;
}

.auth-header h1 {
    font-size: 29px;
    font-weight: 900;
}

.auth-header p {
    margin-top: 7px;

    color: #777;
    font-size: 13px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 14px 0 7px;

    color: #aaa;

    font-size: 12px;
    font-weight: 800;
}

input {
    width: 100%;

    padding: 13px 14px;

    background: #080808;
    color: #fff;

    border: 1px solid #292929;
    border-radius: 9px;

    outline: none;

    font-family: inherit;
    font-size: 14px;
}

input:focus {
    border-color: #555;
}

input::placeholder {
    color: #555;
}

.login-btn {
    margin-top: 22px;
    padding: 13px;

    background: #fff;
    color: #000;

    border: 1px solid #fff;
    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 900;

    cursor: pointer;
}

.login-btn:hover {
    background: #ddd;
}

.message {
    min-height: 18px;

    margin-top: 12px;

    color: #888;

    text-align: center;
    font-size: 12px;
}

.switch-auth {
    margin-top: 24px;

    color: #666;

    text-align: center;
    font-size: 13px;
}

.switch-auth a,
.back-home {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.switch-auth a:hover,
.back-home:hover {
    text-decoration: underline;
}

.back-home {
    display: block;

    margin-top: 20px;

    color: #666;

    text-align: center;
    font-size: 12px;
}

@media (max-width: 500px) {
    .auth-box {
        padding: 25px;
    }
}