body { font-family: 'Inter', sans-serif; background: #f1f5f9; color: #0f172a; -webkit-tap-highlight-color: transparent; }
[x-cloak] { display: none !important; }

.admin-header { background: white; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 50; }
.nav-link { padding: 0.625rem 1rem; font-size: 0.8rem; font-weight: 500; color: #64748b; display: flex; align-items: center; gap: 0.375rem; border-bottom: 2px solid transparent; transition: all 0.15s; text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: #0f172a; border-color: #cbd5e1; }
.nav-link.active { color: #0d9488; border-color: #0d9488; }

.field-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 0.5rem; font-size: 0.875rem; background: white; color: #0f172a; transition: border-color 0.2s, box-shadow 0.2s; }
.field-input:focus { outline: none; border-color: #0d9488; box-shadow: 0 0 0 2px rgba(13,148,136,0.1); }
.field-input::placeholder { color: #9ca3af; }
.field-input:disabled { opacity: 0.5; background: #f1f5f9; }
select.field-input { cursor: pointer; }
.field-label { display: block; font-size: 0.7rem; font-weight: 600; color: #6b7280; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }

.btn { padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.8rem; cursor: pointer; transition: all 0.15s; display: inline-flex; align-items: center; gap: 0.375rem; border: none; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: #0d9488; color: white; }
.btn-primary:hover { background: #0f766e; }
.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-secondary { background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569; }
.btn-secondary:hover { background: #e2e8f0; color: #0f172a; }
.btn-success { background: #10b981; color: white; }
.btn-success:hover { background: #059669; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 0.625rem 0.75rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; border-bottom: 2px solid #e2e8f0; }
td { padding: 0.625rem 0.75rem; font-size: 0.8rem; border-bottom: 1px solid #f1f5f9; }
tr:hover td { background: #f8fafc; }

.card { background: white; border: 1px solid #e2e8f0; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-card { background: white; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.5rem; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.badge { padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.7rem; font-weight: 600; }
.accent { color: #0d9488; }

.badge-success { background: #d1fae5; color: #065f46; }
.badge-fail { background: #fee2e2; color: #991b1b; }
.badge-role-admin { background: #ede9fe; color: #5b21b6; }
.badge-role-manager { background: #dbeafe; color: #1e40af; }
.badge-role-shopper { background: #d1fae5; color: #065f46; }
.badge-role-client { background: #fef3c7; color: #92400e; }

.kpi-value { font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.kpi-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
