:root {
    --navy: #25476b;
    --text: #243447;
    --muted: #718096;
    --border: #dce3eb;
    --background: #f3f6fa;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont,
        "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-wrapper {
    width: 100%;
    max-width: 430px;
}

.brand {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo {
    display: inline-block;
    font-size: 44px;
    font-weight: 750;
    letter-spacing: 5px;
    color: var(--navy);
}

.brand h1 {
    font-size: 20px;
    margin: 10px 0 5px;
}

.brand p, .muted, footer {
    color: var(--muted);
}

.login-card, .panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.login-card {
    box-shadow: 0 8px 30px rgba(37,71,107,.06);
}

h1, h2, p { margin-top: 0; }

h2 { font-size: 19px; }

label {
    display: block;
    font-weight: 600;
    margin: 20px 0 7px;
}

input:not([type=hidden]) {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
    background: white;
}

input:focus {
    outline: 2px solid #9bb9d6;
}

button {
    background: var(--navy);
    color: white;
    border: 0;
    border-radius: 6px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.login-card button {
    width: 100%;
    margin-top: 24px;
}

.security-note {
    text-align: center;
    margin-top: 22px;
    font-size: 12px;
    color: var(--muted);
}

.error {
    background: #fff1f1;
    color: #a33b3b;
    border: 1px solid #efcccc;
    border-radius: 6px;
    padding: 12px;
}

footer {
    text-align: center;
    padding: 25px 0;
    font-size: 12px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 30px;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.top-logo {
    color: var(--navy);
    font-size: 24px;
    margin-right: 14px;
    letter-spacing: 2px;
}

.account {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard {
    max-width: 1600px;
    margin: auto;
    padding: 30px;
}

.page-heading h1 {
    font-size: 27px;
    margin-bottom: 8px;
}

.page-heading p {
    color: var(--muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 25px 0;
}

.number {
    font-size: 34px;
    font-weight: 650;
    color: var(--navy);
    margin-top: 12px;
}

.timeline-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: 8px;
    color: var(--muted);
}

.timeline-placeholder strong {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 12px;
}

@media (max-width: 700px) {
    .stats { grid-template-columns: 1fr; }
    .dashboard { padding: 16px; }
    .topbar { padding: 16px; }
}
