:root {
    --surface: #f5f7fa;
    --ink: #111827;
    --muted: #6b7280;
    --primary: #0d6efd;
    --primary-soft: #eaf3ff;
    --border: rgba(15, 23, 42, 0.08);
}

body {
    background: radial-gradient(circle at top right, #e9f4ff 0%, #f8fafc 40%, var(--surface) 100%);
    color: var(--ink);
    min-height: 100vh;
}

/* The jobs table has 13 columns; allow it enough width on large screens. */
.container-wide {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.navbar {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-mark {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: linear-gradient(135deg, #0d6efd, #0ea5e9);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.auth-shell {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.auth-card {
    border-radius: 1.25rem;
    overflow: hidden;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.brand-title,
.brand-subtitle {
    line-height: 1.1;
}

.brand-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}

.btn-submit {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.eyebrow {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.meta-label,
.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.stat-box {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
}

.panel-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.panel-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.panel-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    height: 100%;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.table > :not(caption) > * > * {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.jobs-table > :not(caption) > * > * {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

.table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    font-weight: 700;
}

.collapse-row td {
    background: #f8fbff;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0.75rem;
    background: #111;
    color: #fff;
}

.skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

.card {
    border: 0;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.card-header {
    font-weight: 600;
}

.table td,
.table th {
    vertical-align: middle;
}

.form-control,
.form-select,
.btn {
    border-radius: 0.7rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #0949a4);
}

.input-group .btn {
    border-radius: 0 0.7rem 0.7rem 0;
}

.text-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
