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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #1a1a1a;
}

header {
    background: #1a1a1a;
    color: #fff;
    padding: 1.5rem 2rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

header p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #aaa;
}

header a {
    color: #6cb4ee;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

nav {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav a {
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    background: #6cb4ee;
    color: #fff;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    scroll-margin-top: 1rem;
}

section h2 {
    margin: 0;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
}

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

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

thead tr {
    background: #f0f0f0;
}

th {
    text-align: left;
    padding: 0.6rem 1rem;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid #ddd;
}

td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

td a {
    color: #2563eb;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

tbody tr:hover {
    background: #f8f8f8;
}

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

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

footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #888;
    font-size: 0.85rem;
}

footer a {
    color: #6cb4ee;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.3rem;
    }

    section h2 {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    th, td {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}
