:root {
    --structure-primary: #656508;
    --structure-primary-dark: #555500;
    --structure-secondary: #d28838;
    --structure-accent: #4b9999;
    --structure-light: #f7f7f2;
    --structure-border: rgba(101, 101, 8, 0.12);
    --structure-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --structure-radius: 18px;
}
.login-container {
    max-width: 2000px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.login-card {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--structure-border);
    border-radius: var(--structure-radius);
    box-shadow: var(--structure-shadow);
    padding: 2.5rem;
    background: white;
}
.login-card h1 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #292929;
    text-align: center;
    margin-bottom: 1.5rem;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 600;
    color: #444;
}
.form-group input {
    padding: 0.75rem;
    border: 1px solid var(--structure-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}
.form-group input:focus {
    border-color: var(--structure-primary);
    outline: none;
}
.login-button {
    border-radius: 10px;
    background-color: var(--structure-primary);
    border-color: var(--structure-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.login-button:hover {
    background-color: var(--structure-primary-dark);
    border-color: var(--structure-primary-dark);
}
.forgot-password {
    text-align: center;
    margin-top: 1rem;
}
.forgot-password a {
    color: var(--structure-secondary);
    text-decoration: none;
}
.forgot-password a:hover {
    text-decoration: underline;
}
.alert {
    border: 0;
    border-radius: 12px;
    box-shadow: var(--structure-shadow);
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}
.connected-message {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #444;
}
.connected-message a {
    color: var(--structure-primary);
    text-decoration: none;
}
.connected-message a:hover {
    text-decoration: underline;
}