:root {
    color-scheme: light;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: #f6f7fb;
    color: #1f2933;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 32px;
    background: #f6f7fb;
}

h1 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

a, a:visited {
      color: black;
      text-decoration: none;
    }

a:hover {
      text-decoration: underline;
    }

.nav {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    gap: 8px;
}

.nav-tabs {
    border-bottom: 1px solid #d9e2ec;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    color: #52616b;
    background: #eff2f7;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #243b53;
    background: #e3e9f2;
}

.nav-link.active {
    color: #102a43;
    background: #ffffff;
    border-color: #d9e2ec #d9e2ec #ffffff;
    font-weight: 600;
}

.mt-3 {
    margin-top: 18px;
}

.d-flex {
    display: flex;
}

.gap-4 {
    gap: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.scrobbles {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;  /* 🔑 stops content-based resizing */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

th,
td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
}

th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #7b8794;
    background: #f7f9fc;
}

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

tbody tr:hover {
    background: #eef4ff;
}

.table-sm th,
.table-sm td {
    padding: 10px 14px;
}
.pagination-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.pagination {
    gap: 3px;
    display: inline-flex;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #52606d;
}

.pagination a,
.pagination span {
    margin: 0 6px;
    text-decoration: none;
}

.pagination a {
    padding: 0px 5px;
    color: #334e68;
}

.pagination a:hover {
    border-color: #9fb3c8;
    background: #f0f4f8;
}

/* what's going on here? */