* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

.custom-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.02); border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.sidebar { box-shadow: 2px 0 16px rgba(0,0,0,0.03); }

.card {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.btn-primary {
  background: #2563eb;
  color: white;
  border-radius: 0.85rem;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

.btn-outline {
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 0.85rem;
  padding: 0.55rem 1.1rem;
  font-weight: 500;
  color: #334155;
  transition: 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; }

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  font-size: 0.95rem;
  transition: 0.2s;
  background: #fff;
}
.input-field:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-item.active { background: #2563eb; color: white; box-shadow: 0 6px 14px rgba(37,99,235,0.25); }
.nav-item:not(.active):hover { background: #f1f5f9; color: #0f172a; }

.glass-login {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
}

/* Бейджи для SMS */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}
.badge-ok { background: #d1fae5; color: #065f46; }
.badge-warn { background: #fef3c7; color: #92400e; }