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

:root {
    --navy: #10283d;
    --navy-light: #183b55;
    --gold: #c5a46d;
    --gold-light: #e5d2ae;
    --white: #ffffff;
    --bg: #f5f7f9;
    --text: #263746;
    --muted: #7b8792;
    --border: #e7ebef;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

.auth-header {
    height: 82px;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
}

.auth-logo {
    color: var(--navy);
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

.auth-logo span {
    color: var(--gold);
}

.auth-home {
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
}

.auth-wrapper {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 18px;
}

.auth-card {
    width: 100%;
    max-width: 490px;
    background: white;
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 15px 50px rgba(16,40,61,.07);
}

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

.auth-heading h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: var(--navy);
    margin: 0 0 10px;
}

.auth-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-field {
    margin-bottom: 19px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-field input {
    width: 100%;
    height: 49px;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 0 14px;
    font: inherit;
    outline: none;
    transition: .2s;
}

.auth-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197,164,109,.12);
}

.auth-button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 9px;
    background: var(--navy);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.auth-button:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
}

.auth-footer a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.auth-alert {
    padding: 13px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    background: #fff1f0;
    color: #a3332b;
}

.auth-success {
    background: #edf8f1;
    color: #247347;
}

.auth-dashboard {
    width: 100%;
    max-width: 1050px;
}

.dashboard-welcome {
    background: var(--navy);
    color: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.dashboard-welcome h1 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 8px;
}

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

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 13px;
    border: 1px solid var(--border);
}

.dashboard-card h3 {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.dashboard-card strong {
    font-size: 25px;
    color: var(--navy);
}

.dashboard-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.dashboard-links a {
    color: var(--navy);
    text-decoration: none;
    padding: 12px 17px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
}

@media(max-width:600px) {
    .auth-header {
        padding: 0 18px;
        height: 70px;
    }

    .auth-logo {
        font-size: 19px;
    }

    .auth-card {
        padding: 27px 21px;
    }

    .auth-heading h1 {
        font-size: 26px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
