:root {
    --bg: #f4f5f7;
    --bg2: #ffffff;
    --bg3: #f0f1f4;
    --bg4: #e8eaee;
    --border: rgba(0, 0, 0, 0.08);
    --border2: rgba(0, 0, 0, 0.13);
    --text: #1a1d23;
    --text2: #5a6075;
    --text3: #9299ad;
    --accent: #e8600a;
    --accent2: #f97316;
    --blue: #2563eb;
    --green: #16a34a;
    --red: #dc2626;
    --amber: #d97706;
    --purple: #7c3aed;
    --teal: #0d9488;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

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

a {
    color: inherit;
}

.sec-card {
    background: var(--bg2);
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.sec-card-head {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sec-card-title {
    font-weight: 600;
    font-size: 15px;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: var(--bg3);
    color: var(--text2);
}

.table-wrap {
    overflow-x: auto;
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tbl th {
    text-align: left;
    padding: 12px 16px;
    color: var(--text3);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.tbl td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

/* Bootstrap-style pagination fallback, without Bootstrap dependency */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagination .page-item {
    display: inline-flex;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg2);
    color: var(--text2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: var(--text3);
    background: var(--bg3);
    cursor: not-allowed;
}

.pagination .page-link:hover {
    border-color: var(--accent2);
    color: var(--accent);
}
