:root {
    --bg: #f5f7fb;
    --card-bg: #ffffff;
    --border: #dde3f0;
    --text: #1f2933;
    --muted: #6b7280;
    --accent: #2563eb;
    --radius-lg: 12px;
    --radius-pill: 999px;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
}

/* Navbar */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    background: #0f172a;
    color: #e5e7eb;
}

.nav-left {
    font-weight: 600;
}

.nav-right a {
    color: #cbd5f5;
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
}

.nav-right a.active,
.nav-right a:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* Heading + layout */

.page-heading {
    max-width: 960px;
    margin: 1.8rem auto 0.5rem;
    padding: 0 1.25rem;
}

.page-heading h1 {
    margin: 0 0 0.3rem;
    font-size: 1.9rem;
}

.page-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.container {
    max-width: 960px;
    margin: 0 auto 2.2rem;
    padding: 0 1.25rem;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

/* Cards */

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem 1.6rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.bullet-list {
    padding-left: 1.2rem;
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Button + status */

.primary-btn {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.94rem;
    cursor: pointer;
    box-shadow: 0 12px 18px rgba(37, 99, 235, 0.3);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(37, 99, 235, 0.32);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 16px rgba(37, 99, 235, 0.25);
}

.status-text {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Table */

.table-wrapper {
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #f9fafb;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

thead {
    background: #eef2ff;
    color: #111827;
}

th,
td {
    padding: 0.55rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

tbody tr:nth-child(even) {
    background: #f9fafb;
}

tbody tr:hover {
    background: #e0edff;
}

.col-id {
    width: 3rem;
}

.col-price {
    width: 5rem;
    text-align: right;
}

td.col-price {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Empty row */

tbody tr.empty-row td {
    text-align: center;
    color: var(--muted);
    font-style: italic;
}
