/**
 * Admin sign-in (/login) — standalone stylesheet (no Vite / public/build required).
 * Mirrors the welcome page approach for reliable styling behind proxies and minimal deploys.
 */
:root {
    color-scheme: light;
}

body.kn-auth-page {
    font-family: ui-sans-serif, system-ui, sans-serif;
    margin: 0;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f5;
    color: #18181b;
    padding: 1.5rem;
    -webkit-font-smoothing: antialiased;
}

.kn-auth-card {
    width: 100%;
    max-width: 28rem;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e4e4e7;
    padding: 2rem;
}

.kn-auth-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: #18181b;
}

.kn-auth-subtitle {
    font-size: 0.875rem;
    color: #71717a;
    margin: 0 0 1.5rem;
}

.kn-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kn-auth-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3f3f46;
    margin-bottom: 0.25rem;
}

.kn-auth-field input[type="email"],
.kn-auth-field input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0.375rem;
    border: 1px solid #d4d4d8;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.kn-auth-field input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #a1a1aa;
}

.kn-auth-error {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: #dc2626;
}

.kn-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #52525b;
}

.kn-auth-remember input[type="checkbox"] {
    border-radius: 0.25rem;
    border: 1px solid #d4d4d8;
    width: 1rem;
    height: 1rem;
}

.kn-auth-submit {
    width: 100%;
    border: none;
    border-radius: 0.375rem;
    background: #18181b;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.kn-auth-submit:hover {
    background: #27272a;
}
