@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --navy: #102b46;
    --blue: #174f78;
    --gold: #d7a84b;
    --bg: #f3f6f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    background: var(--bg);
    color: #26394a;
}

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.login-shell {
    width: min(950px, 100%);
    min-height: 570px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    box-shadow: 0 20px 60px #102b4620;
}

.brand-panel {
    background: linear-gradient(145deg, #102b46, #174f78);
    color: white;
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-mark {
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    background: white;
    color: var(--navy);
    border-bottom: 5px solid var(--gold);
    border-radius: 15px;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 35px;
}

.eyebrow {
    color: #e8c77e;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
}

.brand-panel h1 {
    font: 800 35px Manrope, sans-serif;
}

.brand-text {
    color: #d5e0e9;
    line-height: 1.8;
    font-size: 14px;
}

.gold-line {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 30px 0;
}

.form-panel {
    padding: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow.dark {
    color: #a77b2e;
}

.form-panel h2 {
    color: var(--navy);
    font: 800 32px Manrope, sans-serif;
    margin-bottom: 5px;
}

.muted {
    color: #718096;
    font-size: 13px;
    margin-bottom: 25px;
}

label {
    display: block;
    margin: 17px 0 8px;
    font-size: 12px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #dce4eb;
    border-radius: 8px;
    outline: none;
}

input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #174f781a;
}

.password-wrap {
    position: relative;
}

.password-wrap button {
    position: absolute;
    right: 8px;
    top: 7px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    height: 49px;
    margin-top: 25px;
    border: none;
    border-radius: 8px;
    background: var(--navy);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.submit-btn:hover {
    background: var(--blue);
}

.alert {
    padding: 12px;
    background: #fff1ef;
    color: #a33a2e;
    border-radius: 8px;
    font-size: 12px;
}

.security-note {
    color: #8493a1;
    font-size: 11px;
    margin: 22px 0;
}

.back-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

footer {
    padding: 25px;
    color: #98a5b1;
    font-size: 11px;
    text-align: center;
}

.dashboard-page {
    min-height: 100vh;
}

.topbar {
    background: white;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
}

.top-brand {
    text-decoration: none;
    color: var(--navy);
    font-weight: 800;
}

.top-brand span {
    background: var(--navy);
    color: white;
    padding: 9px;
    border-radius: 7px;
    margin-right: 8px;
}

.top-user {
    font-size: 12px;
}

.top-user a {
    color: var(--blue);
    text-decoration: none;
    margin-left: 15px;
}

.dash-container {
    max-width: 1100px;
    margin: 45px auto;
    padding: 0 20px;
}

.welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome h1 {
    color: var(--navy);
}

.status-pill {
    background: #e8f5ee;
    color: #28784c;
    padding: 10px;
    border-radius: 30px;
    font-size: 11px;
}

.notice {
    background: #fff8e9;
    border: 1px solid #f1dfb8;
    padding: 15px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.7;
    margin: 20px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-card, .panel {
    background: white;
    border: 1px solid #e5ebf1;
    border-radius: 12px;
    padding: 22px;
}

.stat-label, .stat-card small {
    display: block;
    color: #718096;
    font-size: 11px;
    margin-bottom: 12px;
}

.stat-card strong {
    color: var(--navy);
    font-size: 22px;
}

.panel h2 {
    color: var(--navy);
    font-size: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

th, td {
    padding: 13px;
    text-align: left;
    border-bottom: 1px solid #edf0f3;
}

th {
    color: #718096;
}

.setup-card {
    width: min(480px, 100%);
    background: white;
    padding: 35px;
    border-radius: 16px;
}

.mobile-mark {
    display: none;
}

@media(max-width:750px) {
    .login-shell {
        grid-template-columns: 1fr;
        max-width: 470px;
    }

    .brand-panel {
        display: none;
    }

    .form-panel {
        padding: 35px 25px;
    }

    .mobile-mark {
        display: grid;
        place-items: center;
        background: var(--navy);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 12px;
        margin-bottom: 25px;
        font-weight: 800;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .welcome {
        display: block;
    }

    .topbar {
        padding: 0 15px;
    }
}