* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #17202a;
    background: #eef3f1;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-panel {
    width: min(420px, 100%);
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dbe4e0;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(23, 32, 42, 0.12);
}

.auth-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #257058;
    text-decoration: none;
    font-size: 14px;
}

h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
}

p {
    margin: 0 0 22px;
    color: #596963;
    line-height: 1.45;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-form[hidden] {
    display: none !important;
}

.auth-form input,
.auth-form button {
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
    font-size: 15px;
}

.auth-form input {
    border: 1px solid #cfdad6;
    padding: 0 12px;
}

.auth-form button {
    border: 0;
    background: #257058;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.auth-form button.auth-secondary {
    background: #e8efec;
    color: #1e4639;
}

.auth-form a {
    display: block;
    color: #257058;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}

.auth-form .auth-action-link {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #e8efec;
    color: #1e4639;
    font-weight: 700;
}

.auth-message {
    margin-top: 16px;
    min-height: 22px;
    line-height: 1.45;
    font-size: 14px;
}

.auth-message.ok {
    color: #147246;
}

.auth-message.error {
    color: #b42318;
}
