/* Import a modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --primary-bg: #f5f7fa;
    --primary-color: #4f8cff;
    --primary-color-dark: #2563eb;
    --border-radius: 12px;
    --box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.login-outer {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #dde6ec;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-title {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary-color-dark);
    font-family: var(--font-family);
}

form {
    width: 100%;
}

.mb-3 {
    margin-bottom: 1.2rem;
    width: 100%;
}

label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: block;
    font-size: 1rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid #ced4da;
    margin-top: 0.2rem;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    transition: background 0.2s;
    cursor: pointer;
}

.login-btn:hover {
    background: var(--primary-color-dark);
}

.errorlist {
    color: #d32f2f;
    font-size: 0.97em;
    margin-top: 0.2rem;
}

.login-links {
    margin-top: 1.5em;
    text-align: center;
    width: 100%;
}

.login-links a {
    color: var(--primary-color-dark);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.login-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.login-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-logo {
    max-width: 48px;
    height: auto;
}