* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body.auth-page {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f3f3;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: #efefef;
    border: 2px solid #d7d7d7;
    border-radius: 28px;
    padding: 34px 32px 30px;
}

.auth-card h1 {
    margin: 0 0 14px;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
}

.muted {
    margin: 0 0 28px;
    color: #5f5f5f;
    font-size: 21px;
    line-height: 1.45;
}

.stack > div + div,
.stack > button,
.stack > p {
    margin-top: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    color: #111;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    height: 52px;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    background: #ffffff;
    padding: 0 14px;
    font-size: 20px;
    color: #111;
    outline: none;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #999;
}

.btn {
    display: inline-block;
    min-width: 180px;
    height: 52px;
    border: 1px solid #111;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0 18px;
}

.btn:hover {
    opacity: 0.92;
}

.small {
    margin-top: 22px;
    font-size: 18px;
    color: #4f4f4f;
}

.small a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 1px;
}

.alert {
    margin-bottom: 18px;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.45;
}

.alert.error {
    background: #f8dede;
    color: #8c1c1c;
}

.alert.success {
    background: #dff3e3;
    color: #1f6b31;
}