* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background: #f5f7fa; color: #333; line-height: 1.6; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.login-container { background: white; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); padding: 40px; width: 100%; max-width: 400px; }
.login-header { text-align: center; margin-bottom: 30px; }
.login-header h1 { color: #667eea; font-size: 28px; margin-bottom: 5px; }
.login-header p { color: #666; }
.login-form .form-group { margin-bottom: 20px; }
.login-form label { display: block; margin-bottom: 5px; font-weight: 500; color: #555; }
.login-form input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: border-color 0.3s; }
.login-form input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
.btn { display: inline-block; padding: 10px 20px; border: none; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.3s; }
.btn-primary { background: #667eea; color: white; }
.btn-primary:hover { background: #5a6fd6; }
.btn-secondary { background: #e0e0e0; color: #333; }
.btn-secondary:hover { background: #d0d0d0; }
.btn-block { display: block; width: 100%; text-align: center; padding: 12px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-edit { background: #f59e0b; color: white; }
.btn-edit:hover { background: #d97706; }
.btn-delete { background: #ef4444; color: white; }
.btn-delete:hover { background: #dc2626; }
.login-footer { text-align: center; margin-top: 20px; color: #999; font-size: 12px; }
.alert { padding: 12px 15px; border-radius: 6px; margin-bottom: 20px; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.navbar { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.navbar-brand a { color: #667eea; font-size: 20px; font-weight: bold; text-decoration: none; }
.navbar-menu { display: flex; align-items: center; gap: 20px; }
.nav-link { color: #555; text-decoration: none; padding: 8px 12px; border-radius: 4px; }
.nav-link:hover, .nav-link.active { background: #f0f0f0; color: #667eea; }
.nav-user { display: flex; align-items: center; gap: 15px; }
.nav-user span { color: #666; }
.main-content { padding: 30px 0; min-height: calc(100vh - 140px); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-header { margin-bottom: 30px; }
.page-header h1 { color: #333; margin-bottom: 5px; }
.page-header p { color: #666; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: white; border-radius: 8px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.stat-card h3 { color: #666; font-size: 14px; margin-bottom: 10px; }
.stat-number { font-size: 28px; font-weight: bold; color: #667eea; }
.card { background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }
.card-header { padding: 20px; border-bottom: 1px solid #eee; }
.card-header h2 { font-size: 18px; color: #333; }
.card-body { padding: 20px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; }
.table th { background: #f8f9fa; font-weight: 600; color: #555; font-size: 14px; }
.table td { font-size: 14px; color: #666; }
.table .actions { white-space: nowrap; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 12px; background: #e8f5e9; color: #2e7d32; font-size: 12px; font-weight: 500; }
.badge-admin { background: #fef3c7; color: #92400e; }
.badge-user { background: #e8f5e9; color: #2e7d32; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.status-active { background: #d1fae5; color: #065f46; }
.status-inactive { background: #fee2e2; color: #991b1b; }
.status-locked { background: #f3f4f6; color: #374151; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.toolbar-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar-form select, .toolbar-form input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.form-wide { max-width: 800px; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-row .form-group { flex: 1; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; color: #555; }
.form-group input, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.footer { background: #333; color: white; text-align: center; padding: 20px; margin-top: auto; }
@media (max-width: 768px) { .form-row { flex-direction: column; } .toolbar { flex-direction: column; align-items: stretch; } .toolbar-form { flex-direction: column; } }
