body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f4f7fb;
    color: #202124;
}
.topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #1f2937;
    color: #fff;
    padding: 16px 20px;
}
.brand {
    font-size: 1.1rem;
    font-weight: 700;
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}
.tab {
    color: #cbd5e1;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
}
.tab.active,
.tab:hover {
    background: #fff;
    color: #111827;
}
.actions {
    margin-left: auto;
}
.button {
    display: inline-block;
    padding: 10px 16px;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}
.content {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px 40px;
}
.panel {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.table-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.filter-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #334155;
}
.filter-label input {
    min-width: 260px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
}
.sort-actions,
.follow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sort-btn,
.reset-btn {
    border: none;
    border-radius: 12px;
    background: #f3f4f6;
    color: #0f172a;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sort-btn:hover,
.reset-btn:hover {
    background: #e2e8f0;
}
.reset-btn {
    background: #fef3c7;
    color: #92400e;
}
.reset-btn:hover {
    background: #fde68a;
}
.follow-btn {
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.follow-btn:hover {
    background: #1d4ed8;
}
.followed-row {
    background: #e0f2fe !important;
}
.highlight-col {
    background: #fff7e6;
    color: #92400e;
    font-weight: 700;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.panel-header h2 {
    margin: 0;
    font-size: 1.4rem;
}
.panel-meta {
    color: #475569;
    font-size: 0.95rem;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}
th, td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}
tr:nth-child(even) td {
    background: #f9fafb;
}
.highlight-col {
    background: #fff7e6;
    color: #92400e;
    font-weight: 700;
}
.alert {
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 14px 16px;
}
.alert.error {
    background: #fee2e2;
    color: #991b1b;
}
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.login-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.login-box h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.7rem;
}
.login-box label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
.login-box input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    margin-bottom: 18px;
    font-size: 1rem;
}
.login-box button {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
.login-box .hint {
    margin-top: 14px;
    color: #475569;
    font-size: 0.95rem;
}
code {
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 8px;
}
