* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #1a1a2e; color: #eee; min-height: 100vh; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { background: #16213e; padding: 2rem; border-radius: 8px; width: 100%; max-width: 320px; }
.login-box h1 { margin-bottom: 1.5rem; text-align: center; }
.login-box input { width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid #0f3460; border-radius: 4px; background: #0f3460; color: #eee; }
.login-box button { width: 100%; padding: 0.75rem; background: #e94560; border: none; border-radius: 4px; color: #fff; cursor: pointer; font-weight: 600; }
.login-box .error { color: #e94560; margin-bottom: 1rem; font-size: 0.9rem; }
.sidebar { width: 220px; background: #16213e; min-height: 100vh; padding: 1.5rem; position: fixed; left: 0; top: 0; }
.sidebar h2 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.sidebar nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar a { color: #aaa; text-decoration: none; padding: 0.5rem; border-radius: 4px; transition: background .2s; }
.sidebar a:hover, .sidebar a.active { background: #0f3460; color: #fff; }
.content { margin-left: 220px; padding: 2rem; }
.content h1 { margin-bottom: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat-card { background: #16213e; padding: 1.5rem; border-radius: 8px; }
.stat-label { display: block; font-size: 0.85rem; color: #888; margin-bottom: 0.5rem; }
.stat-value { font-size: 1.5rem; font-weight: 600; }
.muted { color: #666; font-size: 0.9rem; }
.user-card { background: #16213e; padding: 1rem; border-radius: 8px; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.user-card .info { flex: 1; min-width: 200px; }
.user-card .actions { display: flex; gap: 0.5rem; }
.btn { padding: 0.4rem 0.8rem; border-radius: 4px; border: none; cursor: pointer; font-size: 0.9rem; text-decoration: none; display: inline-block; }
.btn-primary { background: #e94560; color: #fff; }
.btn-secondary { background: #0f3460; color: #fff; }
.pagination { margin-top: 1rem; display: flex; gap: 0.5rem; align-items: center; }
.pagination a, .pagination span { padding: 0.4rem 0.8rem; background: #16213e; border-radius: 4px; color: #eee; text-decoration: none; }
.pagination a:hover { background: #0f3460; }
.pagination .current { background: #e94560; }
.search-box { margin-bottom: 1.5rem; }
.search-wrap { display: flex; gap: 0; align-items: stretch; flex-wrap: wrap; max-width: 480px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.search-input { padding: 0.75rem 1rem; flex: 1; min-width: 220px; border: 1px solid #0f3460; border-right: none; border-radius: 8px 0 0 8px; background: #0f3460; color: #eee; font-size: 0.95rem; }
.search-input::placeholder { color: #888; }
.search-input:focus { outline: none; border-color: #e94560; background: #16213e; }
.btn-search { padding: 0.75rem 1.4rem; background: #e94560; color: #fff; border: 1px solid #e94560; border-radius: 0 8px 8px 0; cursor: pointer; font-weight: 600; transition: background .2s, transform .1s; }
.btn-search:hover { background: #d63a52; }
.btn-search:active { transform: scale(0.98); }
