﻿:root {
    --brand: #1E3A8A;
    --brand-2: #0EA5E9;
    --bg: #ffffff;
    --muted: #64748b;
    --border: #e2e8f0;
    --card: #ffffff;
    --surface: #f8fafc;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Base typography */
body {
    background: var(--bg);
    color: #0f172a;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Links */
a {
    color: var(--brand);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Drawer menu */
.offcanvas .list-group-item {
    border-radius: var(--radius);
    margin-bottom: 8px;
}

/* Buttons */
.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-weight: 600;
}

    .btn-primary:hover {
        filter: brightness(0.95);
    }

.btn,
.form-control,
.form-select,
.input-group-text {
    border-radius: var(--radius);
}

/* Cards and tables */
.card,
.table,
.alert {
    border-radius: var(--radius);
}

.card {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.table {
    border: 1px solid var(--border);
}

/* Hero sections */
.page-hero {
    background: linear-gradient(180deg, var(--surface), transparent);
    border-bottom: 1px solid var(--border);
    padding: 80px 0 60px;
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.page-subtitle {
    color: var(--muted);
    margin-top: 8px;
    max-width: 70ch;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    padding: 24px 0;
    margin-top: 40px;
}

/* Ensure footer stays in normal page flow */
footer.footer {
    position: static !important;
}

/* Soft badges */
.badge-soft {
    background: rgba(30,58,138,0.10);
    color: var(--brand);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
