* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f6f8;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #202124;
}

.login {
    width: 100%;
    max-width: 360px;

    padding: 40px;

    background: #ffffff;
    border: 1px solid #e4e6e8;
    border-radius: 12px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.05);
}

.brand {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo {
    width: 48px;
    height: 48px;

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

    border-radius: 12px;

    background: #202124;
    color: white;

    font-weight: 600;
    font-size: 18px;
}

h1 {
    margin: 0;
    text-align: center;

    font-size: 24px;
    font-weight: 600;
}

.subtitle {
    margin: 8px 0 28px;

    text-align: center;
    color: #73777d;

    font-size: 14px;
}

label {
    display: block;

    margin: 16px 0 6px;

    font-size: 13px;
    font-weight: 500;
}

input {
    width: 100%;
    height: 44px;

    padding: 0 12px;

    border: 1px solid #d9dcdf;
    border-radius: 7px;

    background: white;

    font-size: 15px;
    outline: none;
}

input:focus {
    border-color: #777d84;
}

button {
    width: 100%;
    height: 44px;

    margin-top: 24px;

    border: 0;
    border-radius: 7px;

    background: #202124;
    color: white;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}

button:hover {
    background: #303134;
}

.error {
    margin-top: 20px;
    padding: 10px 12px;

    border-radius: 6px;

    background: #f8eeee;
    color: #a33131;

    font-size: 13px;
}
