/* NagorSeba - Main Stylesheet */
/* nagorseba.com */

/* ── Google Fonts ────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Sans+Bengali:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────── */
:root {
  --primary:        #1E40AF;
  --primary-light:  #3B82F6;
  --primary-dark:   #1E3A8A;
  --secondary:      #10B981;
  --accent:         #F59E0B;
  --danger:         #EF4444;
  --warning:        #F59E0B;
  --success:        #10B981;
  --info:           #06B6D4;
  --dark:           #1F2937;
  --gray:           #6B7280;
  --light-gray:     #F3F4F6;
  --border:         #E5E7EB;
  --white:          #FFFFFF;
  --bg:             #F8FAFC;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow:         0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:      0 10px 30px rgba(0,0,0,0.12);
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --transition:     0.25s ease;
  --font-bn:        'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --bottom-nav-h:   64px;
}

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-bn);
  background: var(--bg);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-h);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }

/* ── Top Header ───────────────────────────────── */
.ns-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.ns-header-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--primary);
}
.ns-header-logo span { color: var(--secondary); }
.ns-header-spacer { flex: 1; }
.ns-header-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--dark);
  font-size: 18px;
  position: relative;
  transition: var(--transition);
}
.ns-header-icon:hover { background: var(--border); }
.ns-badge {
  position: absolute;
  top: -3px; right: -3px;
  background: var(--danger);
  color: var(--white);
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  font-weight: 600;
}

/* Main Content with header offset */
.ns-main {
  padding-top: 60px;
  min-height: 100vh;
}

/* ── Bottom Navigation ────────────────────────── */
.ns-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--bottom-nav-h);
  background: var(--white);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
}
.ns-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--gray);
  font-size: 11px;
  transition: var(--transition);
}
.ns-bottom-nav-item.active,
.ns-bottom-nav-item:hover { color: var(--primary); }
.ns-bottom-nav-item .icon {
  font-size: 22px;
  line-height: 1;
}
.ns-bottom-nav-item.active .icon {
  transform: scale(1.15);
}

/* ── Hero / Banner ────────────────────────────── */
.ns-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 24px 16px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ns-hero::before {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.ns-hero-greeting { font-size: 14px; opacity: 0.85; margin-bottom: 4px; }
.ns-hero-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.ns-search-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 4px 4px 4px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.ns-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--dark);
  background: transparent;
  padding: 8px 0;
}
.ns-search-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.ns-search-btn:hover { background: var(--primary-dark); }

/* ── Section ──────────────────────────────────── */
.ns-section { padding: 20px 16px; }
.ns-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.ns-section-title { font-size: 17px; font-weight: 700; color: var(--dark); }
.ns-see-all { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ── Category Cards ───────────────────────────── */
.ns-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ns-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.ns-cat-card:hover, .ns-cat-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.ns-cat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.ns-cat-name { font-size: 12px; font-weight: 600; text-align: center; color: var(--dark); }

/* ── Service Cards ────────────────────────────── */
.ns-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ns-service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.ns-service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ns-service-img {
  width: 100%; height: 110px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--light-gray), var(--border));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.ns-service-body { padding: 10px 12px 12px; }
.ns-service-name { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.ns-service-cat { font-size: 11px; color: var(--gray); margin-bottom: 8px; }
.ns-service-footer { display: flex; align-items: center; justify-content: space-between; }
.ns-service-price { font-size: 15px; font-weight: 700; color: var(--primary); }
.ns-service-price-type { font-size: 10px; color: var(--gray); margin-left: 2px; }

/* ── Horizontal Scroll ────────────────────────── */
.ns-scroll-x {
  display: flex; gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.ns-scroll-x::-webkit-scrollbar { display: none; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30,64,175,0.3);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 18px rgba(30,64,175,0.4); }
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.btn-secondary:hover { background: #059669; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-light { background: var(--light-gray); color: var(--dark); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Form Controls ────────────────────────────── */
.ns-form-group { margin-bottom: 16px; }
.ns-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.ns-input,
.ns-textarea,
.ns-select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-bn);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.ns-input:focus,
.ns-textarea:focus,
.ns-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.ns-input::placeholder { color: #9CA3AF; }
.ns-textarea { resize: vertical; min-height: 80px; }
.ns-input-icon {
  position: relative;
}
.ns-input-icon .ns-input { padding-left: 44px; }
.ns-input-icon .icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 18px;
}

/* ── Cards ────────────────────────────────────── */
.ns-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ns-card-body { padding: 16px; }
.ns-card-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
}

/* ── Booking Status Timeline ──────────────────── */
.ns-timeline { padding: 0 16px; }
.ns-timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}
.ns-timeline-item:last-child { padding-bottom: 0; }
.ns-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px; top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.ns-timeline-item.done::before { background: var(--secondary); }
.ns-timeline-dot {
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  z-index: 1;
}
.ns-timeline-item.done .ns-timeline-dot { background: var(--secondary); color: var(--white); }
.ns-timeline-item.active .ns-timeline-dot { background: var(--primary); color: var(--white); animation: pulse 1.5s infinite; }
.ns-timeline-content { flex: 1; }
.ns-timeline-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.ns-timeline-time { font-size: 12px; color: var(--gray); }

/* ── Stars ────────────────────────────────────── */
.ns-stars { display: flex; gap: 3px; }
.ns-star { font-size: 16px; color: #D1D5DB; }
.ns-star.filled { color: var(--accent); }

/* ── Status Badges ────────────────────────────── */
.ns-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.ns-badge-yellow { background: #FEF3C7; color: #92400E; }
.ns-badge-blue   { background: #DBEAFE; color: #1E40AF; }
.ns-badge-indigo { background: #E0E7FF; color: #3730A3; }
.ns-badge-purple { background: #EDE9FE; color: #5B21B6; }
.ns-badge-green  { background: #D1FAE5; color: #065F46; }
.ns-badge-red    { background: #FEE2E2; color: #991B1B; }
.ns-badge-gray   { background: var(--light-gray); color: var(--gray); }

/* ── Toast Notification ───────────────────────── */
.ns-toast-container {
  position: fixed;
  top: 70px;
  right: 12px;
  left: 12px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.ns-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  pointer-events: all;
  animation: toastIn 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}
.ns-toast.success { border-color: var(--success); }
.ns-toast.error   { border-color: var(--danger); }
.ns-toast.warning { border-color: var(--warning); }
.ns-toast-icon { font-size: 20px; }
.ns-toast-msg { flex: 1; }
.ns-toast-close { font-size: 18px; color: var(--gray); cursor: pointer; }

/* ── Modal ────────────────────────────────────── */
.ns-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.ns-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.ns-modal {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ns-modal-overlay.open .ns-modal {
  transform: translateY(0);
}
.ns-modal-header {
  padding: 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ns-modal-title { font-size: 17px; font-weight: 700; }
.ns-modal-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto 0;
}
.ns-modal-body { padding: 16px; }

/* ── Booking Card ─────────────────────────────── */
.ns-booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.ns-booking-card:hover { box-shadow: var(--shadow); }
.ns-booking-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ns-booking-service { font-size: 15px; font-weight: 700; color: var(--dark); }
.ns-booking-code { font-size: 11px; color: var(--gray); margin-top: 2px; }
.ns-booking-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}
.ns-booking-meta span { display: flex; align-items: center; gap: 4px; }
.ns-booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.ns-booking-price { font-size: 16px; font-weight: 700; color: var(--primary); }

/* ── Worker Card ──────────────────────────────── */
.ns-worker-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.ns-worker-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.ns-worker-name { font-size: 15px; font-weight: 700; }
.ns-worker-skill { font-size: 12px; color: var(--gray); margin-bottom: 4px; }

/* ── Avatar ───────────────────────────────────── */
.ns-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.ns-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Empty State ──────────────────────────────── */
.ns-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: var(--gray);
}
.ns-empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.ns-empty-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.ns-empty-text { font-size: 14px; line-height: 1.6; }

/* ── Dashboard Stats ──────────────────────────── */
.ns-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ns-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.ns-stat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}
.ns-stat-val { font-size: 22px; font-weight: 700; color: var(--dark); }
.ns-stat-label { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ── Table ────────────────────────────────────── */
.ns-table-wrap { overflow-x: auto; }
.ns-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ns-table th {
  background: var(--light-gray);
  padding: 10px 12px;
  text-align: right;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}
.ns-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  vertical-align: middle;
}
.ns-table tr:hover td { background: #f9fafb; }

/* ── Sidebar (Desktop Admin) ──────────────────── */
@media (min-width: 768px) {
  .ns-admin-layout {
    display: flex;
    min-height: 100vh;
  }
  .ns-sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--primary-dark);
    color: var(--white);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 50;
  }
  .ns-sidebar-logo {
    padding: 20px 16px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .ns-sidebar-nav { padding: 12px 0; }
  .ns-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
    cursor: pointer;
  }
  .ns-sidebar-item:hover,
  .ns-sidebar-item.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
  }
  .ns-sidebar-item .icon { font-size: 18px; }
  .ns-admin-content {
    margin-left: 240px;
    flex: 1;
    padding: 24px;
    padding-bottom: 40px;
  }
  body.admin-page {
    padding-bottom: 0;
  }
  .ns-bottom-nav { display: none; }
}

/* ── Chat ─────────────────────────────────────── */
.ns-chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px - var(--bottom-nav-h));
}
.ns-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ns-chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.ns-chat-bubble.sent {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.ns-chat-bubble.received {
  align-self: flex-start;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom-left-radius: 4px;
}
.ns-chat-time { font-size: 10px; opacity: 0.7; margin-top: 4px; }
.ns-chat-input-bar {
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ns-chat-input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  font-family: var(--font-bn);
}
.ns-chat-input:focus { border-color: var(--primary); }
.ns-chat-send {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.ns-chat-send:hover { background: var(--primary-dark); }

/* ── Payment Option ───────────────────────────── */
.ns-payment-options { display: flex; flex-direction: column; gap: 10px; }
.ns-payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.ns-payment-option:hover { border-color: var(--primary); }
.ns-payment-option.selected { border-color: var(--primary); background: #EFF6FF; }
.ns-payment-option input[type=radio] { width: 18px; height: 18px; accent-color: var(--primary); }
.ns-payment-logo { width: 50px; height: 28px; object-fit: contain; }
.ns-payment-name { font-size: 14px; font-weight: 600; flex: 1; }

/* ── Promo Banner ─────────────────────────────── */
.ns-promo-banner {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ns-promo-banner .icon { font-size: 28px; }
.ns-promo-title { font-size: 14px; font-weight: 700; }
.ns-promo-desc { font-size: 12px; opacity: 0.9; }

/* ── Animations ───────────────────────────────── */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,64,175,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(30,64,175,0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.slide-up { animation: slideUp 0.4s ease; }
.spin { animation: spin 1s linear infinite; }

/* ── Skeleton Loading ─────────────────────────── */
.ns-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Tabs ─────────────────────────────────────── */
.ns-tabs {
  display: flex;
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 16px;
}
.ns-tab {
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.ns-tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ── PWA Install Banner ───────────────────────── */
.ns-pwa-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.ns-pwa-banner .title { font-weight: 700; font-size: 14px; }
.ns-pwa-install {
  background: var(--white);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Language Switcher ────────────────────────── */
.ns-lang-switch {
  display: flex;
  background: var(--light-gray);
  border-radius: 20px;
  padding: 2px;
  gap: 0;
}
.ns-lang-btn {
  padding: 4px 12px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray);
}
.ns-lang-btn.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ── Rating Input ─────────────────────────────── */
.ns-rating-input { display: flex; gap: 6px; }
.ns-rating-input .star {
  font-size: 32px;
  cursor: pointer;
  color: #D1D5DB;
  transition: color 0.15s;
}
.ns-rating-input .star.active,
.ns-rating-input .star:hover { color: var(--accent); }

/* ── Progress Bar ─────────────────────────────── */
.ns-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.ns-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ── Divider ──────────────────────────────────── */
.ns-divider { height: 1px; background: var(--border); margin: 12px 0; }
.ns-divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 12px;
  margin: 16px 0;
}
.ns-divider-text::before,
.ns-divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 360px) {
  .ns-categories { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ns-services-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ns-stat-card { padding: 12px; }
}
@media (min-width: 480px) {
  .ns-categories { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) {
  .ns-services-grid { grid-template-columns: repeat(3, 1fr); }
}
