@font-face {
    font-family: 'Manrope';
    src: url('./fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --background: #f5f5ef;
    --surface: #ffffff;
    --primary: #263e35;
    --accent: #648374;
    --highlight: #dce8df;
    --border: #d5ddd4;
    --text-primary: #263e35;
    --text-secondary: #53685b;
    --error: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100dvh;
    background: var(--background);
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-header {
    margin-bottom: 32px;
}

.login-header h1 {
    margin: 0;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -3px;
}

.login-header span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}

.login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

.login-card h2 {
    margin: 0 0 24px;
    font-size: 24px;
}

.login-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--background);
    color: var(--text-primary);
    font: inherit;
}

input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button {
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: var(--surface);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: var(--accent);
}

button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.login-notice {
    margin: 24px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

.login-error {
    margin: 16px 0 0;
    color: var(--error);
    font-size: 14px;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .login-card {
        padding: 24px;
    }

    .login-header h1 {
        font-size: 48px;
    }
}