body {
    font-family: system-ui, sans-serif;
    background: #f4f4f9;
    margin: 2rem;
    color: #333;
}

input {
    display: block;
    margin: 1rem auto;
    padding: 0.5rem;
    width: 300px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

caption {
    caption-side: top;
    font-weight: bold;
    padding: 1rem;
    background: #007bff;
    color: #fff;
    font-size: 1.2rem;
}

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

th {
    background: #f0f0f0;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

th a {
    color: black;
}

tr:hover {
    background: #f9f9f9;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2 {
    text-align: center;
    margin-top: 2rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

pre {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 800px;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.paging div {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px;
}

.paging a {
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.2s ease;
}

.paging a:hover {
    background-color: #e0e0e0;
}

.paging a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-box {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 150px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-icon {
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
}

.info-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #333;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    max-width: 200px;
    width: max-content;
    white-space: normal;
    word-break: break-word;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat {
    color: #007bff;
    font-weight: bold;
    flex-grow: 1;
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1;
    overflow: hidden;
}

.stat span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.stat a {
    text-decoration: underline;
}