* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Navigation */
nav {
    background: #1a1a2e;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

nav .nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

nav .nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

nav .nav-links a:hover {
    color: white;
}

nav .nav-links button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* Login Page */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.login-container h1 {
    font-size: 36px;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.login-container p {
    color: #666;
    margin-bottom: 32px;
}

.login-btn {
    background: #24292e;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
}

.login-btn:hover {
    background: #444;
}

/* Page Layout */
.page {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
}

.page h2 {
    margin-bottom: 16px;
    color: #1a1a2e;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card .number {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a2e;
}

.card .label {
    color: #888;
    font-size: 14px;
    margin-top: 4px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

th {
    background: #1a1a2e;
    color: white;
    font-weight: 500;
}

tr:hover {
    background: #f9f9f9;
}

td a {
    color: #2980b9;
    text-decoration: none;
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: end;
}

.filters label {
    font-size: 13px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filters select,
.filters input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filters button {
    padding: 6px 16px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: 32px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.pagination button {
    padding: 6px 14px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination span {
    padding: 6px;
    font-size: 14px;
}

/* Search */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-bar button {
    padding: 10px 20px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* Profile Detail */
.profile-detail {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-detail .field {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.profile-detail .field-label {
    width: 200px;
    color: #888;
    font-size: 14px;
}

.profile-detail .field-value {
    font-size: 14px;
}

/* Account */
.account-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
}

.account-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #888;
}