body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}
.container { max-width: 1200px; margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.topbar h1 { color: #333; margin: 0; }
.topbar .user { color: #666; font-size: 14px; }
.topbar a { color: #2196F3; text-decoration: none; margin-left: 10px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px; }
.stat-card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.stat-card h3 { margin: 0 0 10px 0; color: #666; font-size: 14px; text-transform: uppercase; }
.stat-card .value { font-size: 24px; font-weight: bold; color: #333; }

.log-entry { background: white; padding: 15px; margin-bottom: 10px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.log-entry:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.method { display: inline-block; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-size: 12px; color: white; }
.method.GET { background-color: #4CAF50; }
.method.POST { background-color: #2196F3; }
.method.PUT { background-color: #FF9800; }
.method.DELETE { background-color: #f44336; }
.path { font-family: 'Courier New', monospace; color: #333; font-weight: 500; }
.timestamp { color: #666; font-size: 14px; }
.details { font-size: 14px; color: #666; margin-top: 10px; }
.payload { background-color: #f8f8f8; padding: 10px; border-radius: 4px; margin-top: 10px; font-family: 'Courier New', monospace; font-size: 12px; white-space: pre-wrap; overflow-x: auto; }
.response-code { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 12px; margin-left: 10px; }
.response-code.success { background-color: #d4edda; color: #155724; }
.response-code.error { background-color: #f8d7da; color: #721c24; }

.controls { margin-bottom: 15px; display: flex; gap: 10px; align-items: center; }
button { padding: 8px 16px; border: none; border-radius: 4px; background-color: #2196F3; color: white; cursor: pointer; font-size: 14px; }
button:hover { background-color: #1976D2; }
button:disabled { background-color: #bbb; cursor: not-allowed; }
button.danger { background-color: #f44336; }
button.danger:hover { background-color: #d32f2f; }
.filter-input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.muted { color: #666; font-size: 14px; }

.filter-bar { background: white; padding: 12px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-bar .grow { flex: 1; min-width: 220px; }
.filter-bar select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: white; }
.filter-bar .methods { display: flex; gap: 8px; font-size: 14px; color: #333; }
.filter-bar .methods label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.filter-bar .date { font-size: 14px; color: #666; display: inline-flex; align-items: center; gap: 6px; }
.filter-bar .date input { padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }

.pager { display: flex; gap: 10px; align-items: center; margin-bottom: 15px; }

.sim-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.sim-table th, .sim-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee; font-size: 14px; }
.sim-table th { background: #fafafa; color: #555; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.sim-table tr:hover td { background: #f8fbff; }
.sim-table .mono { font-family: 'Courier New', monospace; font-size: 13px; }
.sim-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.sim-table .muted { color: #888; }

.login-card { background: white; max-width: 360px; margin: 80px auto; padding: 30px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.login-card h1 { margin: 0 0 20px 0; color: #333; font-size: 22px; }
.login-card input[type="text"], .login-card input[type="password"] { display: block; width: 100%; padding: 10px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-size: 14px; }
.login-card button { width: 100%; padding: 10px; }
.flash { padding: 10px; margin-bottom: 15px; border-radius: 4px; background: #f8d7da; color: #721c24; font-size: 14px; }
