:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #182126;
    background: #edf1f2;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
}

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

.login-panel {
    width: min(100%, 420px);
    padding: 28px;
    border: 1px solid #d8e1e5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgb(27 45 54 / 12%);
}

.eyebrow {
    margin: 0 0 6px;
    color: #47616f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 24px;
    font-size: 1.75rem;
    line-height: 1.2;
}

form {
    display: grid;
    gap: 10px;
}

label {
    color: #40515a;
    font-size: 0.86rem;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 44px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid #bdcbd2;
    border-radius: 6px;
    color: #17202a;
    background: #ffffff;
    font: inherit;
}

input:focus {
    border-color: #2e7d5b;
    outline: 3px solid rgba(46, 125, 91, 0.16);
}

button {
    min-height: 44px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    background: #17633f;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

button:hover {
    background: #104b30;
}

.login-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    color: #71828a;
    font-size: 0.78rem;
}

.login-separator::before,
.login-separator::after {
    height: 1px;
    flex: 1;
    background: #d8e1e5;
    content: "";
}

.google-login {
    display: grid;
    min-height: 44px;
    border: 1px solid #9eabb2;
    border-radius: 6px;
    color: #27363d;
    background: #ffffff;
    font-weight: 700;
    place-items: center;
    text-decoration: none;
}

.google-login:hover {
    border-color: #526a76;
    background: #f5f8f9;
}

.dashboard-link {
    display: block;
    margin-top: 18px;
    color: #47616f;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.dashboard-link:hover {
    color: #203038;
}

.message {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.error {
    color: #812323;
    background: #fff0ee;
}

.success {
    color: #17633f;
    background: #edf7f1;
}
