@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Nunito+Sans:wght@400;500;600;700&display=swap');

:root {
    --blue: #1e4d7b;
    --orange: #f5a623;
    --orange-dark: #e48f08;
    --ink: #1a2332;
    --muted: #6d7f90;
    --border: #d9e3ec;
    --panel: rgba(255, 255, 255, 0.94);
    --bg-top: #f6f9fc;
    --bg-bottom: #e9f2fa;
    --shadow: 0 28px 70px rgba(30, 77, 123, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.landing-page {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(83, 178, 63, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(245, 166, 35, 0.15), transparent 30%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.simple-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
}

.simple-login-card {
    width: 100%;
    max-width: 510px;
    padding: 2.2rem;
    border-radius: 28px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.brand-block {
    text-align: center;
    margin-bottom: 1.5rem;
}

.brand-logo {
    width: min(100%, 360px);
    height: auto;
    display: block;
    margin: 0 auto 0.85rem;
}

.brand-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.login-panel,
.user-state {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.35rem 1.15rem 1.2rem;
}

.login-card-title,
.user-state h2 {
    margin: 0 0 0.35rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.login-intro,
.user-state p {
    margin: 0 0 1.15rem;
    color: var(--muted);
    font-size: 0.96rem;
}

.landing-alerts {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.landing-alert {
    border-radius: 14px;
    padding: 0.8rem 0.95rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.landing-alert.info,
.landing-alert.success {
    background: #edf8ef;
    color: #2b7d3e;
}

.landing-alert.error,
.landing-alert.danger {
    background: #fdeeee;
    color: #bb3e3e;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.42rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.landing-page input[type="text"],
.landing-page input[type="password"],
.landing-page .form-control {
    display: block;
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f9fbfd;
    color: var(--ink);
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.landing-page input:focus {
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.14);
}

.field-error {
    margin-top: 0.4rem;
    color: #c24141;
    font-size: 0.84rem;
}

.btn-signin,
.btn-dashboard {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.98rem 1.2rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff9e19 100%);
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(245, 166, 35, 0.24);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-signin:hover,
.btn-dashboard:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--orange-dark) 0%, #f18c00 100%);
}

.login-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.login-links a {
    color: var(--blue);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.footnote {
    margin-top: 0.95rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .simple-login-card {
        padding: 1.45rem;
        border-radius: 22px;
    }

    .login-panel,
    .user-state {
        padding: 1.1rem;
    }
}
