/* ============================================================
   FILE: css/styles.css
   Bugsbon Retail OS — Super Admin Dashboard
   Dark body · Dark sidebar · Single white rounded content card
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* ------------------------------------------------------------
   BODY — DARK BACKGROUND
   ------------------------------------------------------------ */
body {
  background: #1a0f33;
  color: #1a0f33;
}

/* ------------------------------------------------------------
   DASHBOARD — full screen, dark bg with gap around content
   ------------------------------------------------------------ */
.bgo-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  width: 100%;
  height: 100vh;
  background: #1a0f33;
  padding: 14px;
  gap: 14px;
  overflow: hidden;
}

/* ============================================================
   SIDEBAR — DARK PURPLE
   ============================================================ */
.bgo-sidebar {
  background: #2b1b4d;
  color: #e0d8f0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid #3d2568;
}

.bgo-sidebar::-webkit-scrollbar { width: 4px; }
.bgo-sidebar::-webkit-scrollbar-track { background: transparent; }
.bgo-sidebar::-webkit-scrollbar-thumb { background: #3d2568; border-radius: 10px; }

/* Logo */
.bgo-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 18px 22px;
  border-bottom: 1px solid #3d2568;
  flex-shrink: 0;
}

.bgo-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.bgo-logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.4px;
  color: white;
  line-height: 1.15;
}

.bgo-logo-text small {
  font-weight: 500;
  font-size: 0.6rem;
  color: #b8a8d9;
  display: block;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Super Admin badge */
.bgo-super-badge {
  background: linear-gradient(135deg, #3d2568 0%, #4a2d7a 100%);
  margin: 16px 18px 18px 18px;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #5a3d8a;
  flex-shrink: 0;
}

.bgo-super-badge i { font-size: 1.3rem; color: #ffd966; }

.bgo-super-badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f0e8ff;
  line-height: 1.25;
}

.bgo-super-badge-text span {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  color: #b8a8d9;
  margin-top: 2px;
}

/* Nav */
.bgo-nav-group {
  padding: 0 12px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.bgo-nav-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8a7ab0;
  padding: 14px 12px 6px 12px;
  font-weight: 700;
}

.bgo-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #c8bce0;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
  user-select: none;
  margin-bottom: 2px;
}

.bgo-nav-item i {
  width: 18px;
  font-size: 0.95rem;
  color: #8a7ab0;
  transition: color 0.15s;
  text-align: center;
}

.bgo-nav-item.bgo-active { background: #3d2568; color: #ffffff; }
.bgo-nav-item.bgo-active i { color: #c4b5fd; }

.bgo-nav-item:hover:not(.bgo-active) {
  background: #35225a;
  color: #e8dfff;
}
.bgo-nav-item:hover:not(.bgo-active) i { color: #c8bce0; }

.bgo-nav-badge {
  margin-left: auto;
  background: #4a2d7a;
  color: #d8c8f0;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 30px;
}

.bgo-nav-badge.bgo-badge-new { background: #8b5cf6; color: white; }

/* Create button */
.bgo-create-btn {
  margin: 14px 18px 18px 18px;
  padding: 11px 18px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
  margin-top: auto;
}

.bgo-create-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.bgo-create-btn:active { transform: scale(0.97); }

/* ============================================================
   CONTENT CARD — entire right side, one big white rounded card
   ============================================================ */
.bgo-content-card {
  background: #ffffff;
  border-radius: 16px;
  display: grid;
  grid-template-rows: 64px 1fr;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   HEADER — inside the content card, top row
   ============================================================ */
.bgo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid #f0edf7;
  min-width: 0;
}

.bgo-header-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }

.bgo-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #2b1b4d;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}

.bgo-menu-toggle:hover { background: #f0edf7; }

.bgo-search-area {
  display: flex;
  align-items: center;
  background: #f5f3fa;
  border-radius: 30px;
  padding: 9px 18px;
  width: 340px;
  max-width: 100%;
  border: 1px solid #e6e0f0;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
}

.bgo-search-area:focus-within {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.bgo-search-area i { color: #8a7ab0; font-size: 0.9rem; margin-right: 10px; }

.bgo-search-area input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  width: 100%;
  color: #2b1b4d;
}

.bgo-search-area input::placeholder { color: #a99cc4; }

.bgo-header-right { display: flex; align-items: center; gap: 20px; }

.bgo-action-icon {
  position: relative;
  color: #4d3d6b;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.15s;
}

.bgo-action-icon:hover { background: #f0edf7; }

.bgo-badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #f05252;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid white;
}

.bgo-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f3fa;
  padding: 7px 16px 7px 12px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid #e6e0f0;
}

.bgo-user-profile:hover { background: #efeaf8; }
.bgo-user-profile i { color: #8b5cf6; font-size: 1.1rem; }

.bgo-user-profile span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2b1b4d;
  white-space: nowrap;
}

/* ============================================================
   MAIN — the content area inside the white card
   ============================================================ */
.bgo-main {
  background: #ffffff;
  padding: 28px 32px;
  overflow-y: auto;
  min-height: 0;
  min-width: 0;
}

.bgo-main::-webkit-scrollbar { width: 6px; }
.bgo-main::-webkit-scrollbar-track { background: transparent; }
.bgo-main::-webkit-scrollbar-thumb { background: #e0d8f0; border-radius: 10px; }

/* Welcome bar */
.bgo-welcome-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 14px;
}

.bgo-welcome-bar h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.bgo-welcome-bar h2 span {
  font-weight: 400;
  color: #6d5f8a;
  font-size: 0.9rem;
  margin-left: 10px;
}

.bgo-tag {
  background: #f0edf7;
  color: #2b1b4d;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.bgo-tag i { color: #7c5cff; font-size: 0.82rem; }

/* Stats grid */
.bgo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.bgo-stat-card {
  background: #faf8ff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #ede7f7;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}

.bgo-stat-card:hover {
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.08);
  transform: translateY(-1px);
}

.bgo-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bgo-stat-header span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6d5f8a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bgo-stat-header i {
  color: #7c5cff;
  background: #ede7f7;
  padding: 7px;
  border-radius: 9px;
  font-size: 0.85rem;
}

.bgo-stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
  line-height: 1.1;
}

.bgo-stat-trend {
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1b7a4b;
  background: #e6f7ef;
  padding: 4px 12px;
  border-radius: 30px;
  width: fit-content;
  font-weight: 700;
}

.bgo-stat-trend.bgo-down { color: #b33e3e; background: #fdeaea; }

/* Section header */
.bgo-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 16px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.bgo-section-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.2px;
}

.bgo-section-header a {
  font-size: 0.83rem;
  color: #7c5cff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Industry grid */
.bgo-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bgo-industry-card {
  background: #faf8ff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #ede7f7;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.bgo-industry-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 12px 24px -8px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.bgo-industry-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.bgo-industry-avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.bgo-industry-avatar.bgo-clothing { background: linear-gradient(135deg, #d45d8a 0%, #e88ab0 100%); }
.bgo-industry-avatar.bgo-furniture { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); }
.bgo-industry-avatar.bgo-namkeen { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }

.bgo-industry-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #1a0f33;
  line-height: 1.25;
}

.bgo-industry-slug {
  font-size: 0.7rem;
  color: #8a7ab0;
  margin-top: 3px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bgo-industry-slug i { font-size: 0.58rem; color: #7c5cff; }

.bgo-industry-metrics {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #ede7f7;
  gap: 8px;
}

.bgo-metric-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bgo-metric-label {
  font-size: 0.63rem;
  color: #8a7ab0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.bgo-metric-value {
  font-weight: 800;
  font-size: 0.88rem;
  color: #2b1b4d;
  margin-top: 3px;
  white-space: nowrap;
}

.bgo-industry-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.bgo-status-badge {
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

.bgo-status-badge.bgo-published { background: #e6f7ef; color: #1b7a4b; }
.bgo-status-badge.bgo-draft { background: #fff5e5; color: #b16f0e; }
.bgo-status-badge i { font-size: 0.6rem; }

.bgo-module-count { font-size: 0.68rem; color: #8a7ab0; font-weight: 600; }

/* Quick actions */
.bgo-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 6px;
}

.bgo-quick-action {
  background: #faf8ff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #ede7f7;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.bgo-quick-action:hover {
  border-color: #c4b5fd;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.08);
}

.bgo-quick-action i {
  font-size: 1.25rem;
  color: #7c5cff;
  background: #ede7f7;
  padding: 10px;
  border-radius: 11px;
}

.bgo-quick-action-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a0f33;
  line-height: 1.3;
}

.bgo-quick-action-text small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: #8a7ab0;
  margin-top: 2px;
}

/* ============================================================
   SIDEBAR OVERLAY (MOBILE)
   ============================================================ */
.bgo-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

.bgo-sidebar-overlay.bgo-visible { display: block; opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .bgo-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bgo-industry-grid { grid-template-columns: repeat(2, 1fr); }
  .bgo-quick-actions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
  .bgo-dashboard {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }

  .bgo-sidebar {
    position: fixed;
    top: 10px; left: 10px; bottom: 10px;
    width: 270px;
    transform: translateX(-115%);
    z-index: 1000;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.4);
  }

  .bgo-sidebar.bgo-sidebar-open { transform: translateX(0); }
  .bgo-menu-toggle { display: block; }

  .bgo-content-card { grid-template-rows: 60px 1fr; }
  .bgo-header { padding: 0 18px; }
  .bgo-search-area { width: 200px; }
  .bgo-user-profile span { display: none; }

  .bgo-main { padding: 22px 20px; }
  .bgo-industry-grid { grid-template-columns: 1fr; }

  .bgo-welcome-bar h2 { font-size: 1.3rem; }
  .bgo-welcome-bar h2 span { display: block; margin-left: 0; font-size: 0.82rem; margin-top: 4px; }
}

@media (max-width: 600px) {
  .bgo-dashboard { padding: 8px; gap: 8px; }
  .bgo-stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .bgo-search-area { width: 150px; padding: 7px 12px; }
  .bgo-search-area input { font-size: 0.8rem; }
  .bgo-header-right { gap: 14px; }
  .bgo-user-profile { padding: 5px 10px; }
  .bgo-stat-value { font-size: 1.5rem; }
  .bgo-industry-metrics { flex-wrap: wrap; gap: 10px; }
  .bgo-metric-item { flex: 1; min-width: 65px; }
  .bgo-quick-actions { grid-template-columns: 1fr; }
  .bgo-main { padding: 18px 16px; }
  .bgo-main-card { padding: 0; }
}

/* ============================================================
   FILE: css/login.css
   Bugsbon Retail OS — Login Page
   Animated dark mesh background + floating white card (40%)
   PIN-based authentication (user-entered PIN, nothing is sent)
   ============================================================ */

/* Scoped login shell */
.bgl-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0b0b14;
  color: #eaeaf5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  height: 100vh;
  width: 100%;
}

/* ============================================================
   ANIMATED MESH BACKGROUND (full screen, behind everything)
   ============================================================ */
.bgl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 10% 10%, #1a1040 0%, transparent 60%),
    radial-gradient(1000px 700px at 90% 80%, #10203f 0%, transparent 60%),
    linear-gradient(135deg, #0b0b14 0%, #0f0a1e 60%, #0a0a14 100%);
}

.bgl-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
  pointer-events: none;
}

.bgl-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
  pointer-events: none;
}

.bgl-blob-1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 30% 30%, #7c5cff 0%, #4a2eff 60%, transparent 75%);
  top: -160px;
  left: -140px;
  animation: bglFloat1 26s ease-in-out infinite alternate;
}

.bgl-blob-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 60% 40%, #ff5ca8 0%, #b32eff 60%, transparent 75%);
  bottom: -180px;
  left: 15%;
  animation: bglFloat2 32s ease-in-out infinite alternate;
}

.bgl-blob-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, #2ec5ff 0%, #1a5cff 60%, transparent 75%);
  top: 20%;
  right: -160px;
  animation: bglFloat3 38s ease-in-out infinite alternate;
}

@keyframes bglFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.08); }
  100% { transform: translate(30px, 120px) scale(0.96); }
}
@keyframes bglFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-90px, -50px) scale(1.1); }
  100% { transform: translate(40px, -120px) scale(0.95); }
}
@keyframes bglFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-70px, 90px) scale(1.05); }
  100% { transform: translate(-20px, -60px) scale(0.97); }
}

/* ============================================================
   LEFT BRAND LAYER — sits above bg, behind the white card
   ============================================================ */
.bgl-brand-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  padding-right: calc(40vw + 28px); /* keep brand content off the card */
  box-sizing: border-box;
  pointer-events: none;
}

.bgl-brand-layer .bgl-brand-top,
.bgl-brand-layer .bgl-brand-content,
.bgl-brand-layer .bgl-brand-footer {
  pointer-events: auto;
}

.bgl-brand-top { position: relative; z-index: 2; }

.bgl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bgl-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
}

.bgl-logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.bgl-logo-text small {
  display: block;
  font-weight: 500;
  font-size: 0.65rem;
  color: #b8a8d9;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

.bgl-brand-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: auto 0;
}

.bgl-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 217, 102, 0.12);
  border: 1px solid rgba(255, 217, 102, 0.3);
  color: #ffd966;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.bgl-brand-badge i { font-size: 0.85rem; }

.bgl-brand-content h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0 0 18px;
}

.bgl-brand-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #c8bce0;
  margin: 0 0 32px;
  max-width: 460px;
}

.bgl-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bgl-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #e0d8f0;
  font-weight: 500;
}

.bgl-feature i {
  width: 34px;
  height: 34px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.bgl-brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #8a7ab0;
}

/* ============================================================
   RIGHT — WHITE CARD (40% width, floating with gaps)
   ============================================================ */
.bgl-form-panel {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 40vw;
  min-width: 400px;
  max-width: none;
  display: flex;
  pointer-events: auto;
}

.bgl-form-card {
  background: #ffffff;
  color: #14142b;
  width: 100%;
  height: 100%;
  padding: 48px 52px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.bgl-form-card::-webkit-scrollbar { width: 6px; }
.bgl-form-card::-webkit-scrollbar-thumb { background: #e0d8f0; border-radius: 10px; }

/* Inner content capped + centered so form doesn't stretch too wide */
.bgl-form-card > .bgl-step,
.bgl-form-card > .bgl-mobile-logo {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile logo (hidden on desktop) */
.bgl-mobile-logo {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.bgl-mobile-logo .bgl-logo-text { color: #1a0f33; }
.bgl-mobile-logo .bgl-logo-text small { color: #8a7ab0; }

/* Steps */
.bgl-step { display: none; }
.bgl-step.bgl-step-active {
  display: block;
  animation: bglFadeIn 0.3s ease;
}

@keyframes bglFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bgl-step h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

.bgl-subtitle {
  font-size: 0.9rem;
  color: #6d5f8a;
  line-height: 1.55;
  margin: 0 0 28px;
}

.bgl-subtitle strong {
  color: #1a0f33;
  font-weight: 700;
}

.bgl-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #7c5cff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: gap 0.15s;
  font-family: inherit;
}

.bgl-back-btn:hover { gap: 9px; }

.bgl-field { margin-bottom: 22px; }

.bgl-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2b1b4d;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.bgl-input-wrap {
  display: flex;
  align-items: center;
  background: #faf8ff;
  border: 1.5px solid #e6e0f0;
  border-radius: 12px;
  padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.bgl-input-wrap:focus-within {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.bgl-prefix {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6d5f8a;
  padding-right: 12px;
  border-right: 1.5px solid #e6e0f0;
  margin-right: 12px;
  line-height: 1;
}

.bgl-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  color: #1a0f33;
  padding: 15px 0;
  letter-spacing: 0.5px;
  min-width: 0;
  font-family: inherit;
}

.bgl-input-wrap input::placeholder {
  color: #a99cc4;
  font-weight: 400;
  letter-spacing: 0;
}

.bgl-hint {
  display: block;
  font-size: 0.72rem;
  color: #8a7ab0;
  margin-top: 8px;
}

.bgl-hint.bgl-error { color: #d14242; font-weight: 500; }

.bgl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}

.bgl-btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c5cff 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.bgl-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.bgl-btn-primary:active { transform: scale(0.98); }

.bgl-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bgl-btn i { font-size: 0.85rem; transition: transform 0.15s; }
.bgl-btn:hover i { transform: translateX(3px); }

.bgl-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 20px;
  color: #a99cc4;
  font-size: 0.75rem;
  font-weight: 500;
}

.bgl-divider::before,
.bgl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e6e0f0;
}

.bgl-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.bgl-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b1b4d;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
}

.bgl-social-btn:hover {
  border-color: #c4b5fd;
  background: #faf8ff;
}

.bgl-social-btn i { font-size: 0.95rem; }
.bgl-social-btn[data-provider="google"] i { color: #ea4335; }
.bgl-social-btn[data-provider="email"] i { color: #7c5cff; }

.bgl-bottom-text {
  text-align: center;
  font-size: 0.83rem;
  color: #6d5f8a;
  margin: 18px 0 0;
}

.bgl-bottom-text a {
  color: #7c5cff;
  font-weight: 700;
  text-decoration: none;
}

.bgl-bottom-text a:hover { text-decoration: underline; }

/* ============================================================
   PIN INPUTS
   ============================================================ */
.bgl-pin-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.bgl-pin-input {
  width: 100%;
  height: 64px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a0f33;
  background: #faf8ff;
  border: 1.5px solid #e6e0f0;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
  letter-spacing: 4px;
}

.bgl-pin-input:focus {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.bgl-pin-input.bgl-filled {
  border-color: #c4b5fd;
  background: #f5f3fa;
}

@keyframes bglShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Form footer — inside the white card, at the bottom */
.bgl-form-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: 0.75rem;
  color: #8a7ab0;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f0edf7;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.bgl-form-footer a {
  color: #8a7ab0;
  text-decoration: none;
}
.bgl-form-footer a:hover { color: #7c5cff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .bgl-form-panel {
    width: 44vw;
    min-width: 400px;
  }
  .bgl-brand-layer {
    padding-right: calc(44vw + 28px);
  }
}

@media (max-width: 1024px) {
  .bgl-form-panel {
    width: 50vw;
    min-width: 380px;
  }
  .bgl-brand-layer {
    padding-right: calc(50vw + 28px);
  }
  .bgl-brand-content h1 { font-size: 2rem; }
  .bgl-brand-content p { font-size: 0.9rem; }
}

@media (max-width: 860px) {
  .bgl-body { overflow: auto; height: auto; min-height: 100vh; }

  .bgl-brand-layer { display: none; }

  .bgl-form-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 10px;
    box-sizing: border-box;
  }

  .bgl-form-card {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 20px);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .bgl-form-card > .bgl-step,
  .bgl-form-card > .bgl-mobile-logo,
  .bgl-form-footer {
    max-width: 100%;
  }

  .bgl-mobile-logo { display: flex; }
}

@media (max-width: 480px) {
  .bgl-form-card { padding: 24px 18px; }
  .bgl-step h2 { font-size: 1.45rem; }
  .bgl-pin-row { gap: 10px; max-width: 100%; }
  .bgl-pin-input { height: 56px; font-size: 1.4rem; border-radius: 12px; }
  .bgl-social-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FILE: css/create-industry.css
   Bugsbon Retail OS — Create Industry page
   Scoped with .ci- prefix
   ============================================================ */

/* ---------------- PAGE HEAD ---------------- */
.ci-page-head {
  margin-bottom: 28px;
}

.ci-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #8a7ab0;
  font-weight: 600;
  margin-bottom: 12px;
}

.ci-breadcrumb i {
  font-size: 0.55rem;
  color: #c4b5fd;
}

.ci-breadcrumb-active {
  color: #7c5cff;
}

.ci-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}

.ci-page-sub {
  font-size: 0.88rem;
  color: #6d5f8a;
  line-height: 1.55;
  max-width: 620px;
  margin: 0;
}

/* ---------------- FORM SECTIONS ---------------- */
.ci-form {
  max-width: 1080px;
}

.ci-section {
  background: #faf8ff;
  border: 1px solid #ede7f7;
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 22px;
}

.ci-section-last {
  margin-bottom: 0;
}

.ci-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.ci-section-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.ci-section-head h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a0f33;
  margin: 0 0 3px;
  letter-spacing: -0.2px;
}

.ci-section-head p {
  font-size: 0.82rem;
  color: #6d5f8a;
  margin: 0;
  line-height: 1.5;
}

/* ---------------- FIELDS ---------------- */
.ci-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ci-field {
  display: flex;
  flex-direction: column;
}

.ci-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2b1b4d;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.ci-req {
  color: #ef4444;
  font-weight: 800;
}

.ci-field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a0f33;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ci-field input[type="text"]:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.ci-field input[type="text"]::placeholder {
  color: #a99cc4;
  font-weight: 400;
}

.ci-hint {
  font-size: 0.72rem;
  color: #8a7ab0;
  margin-top: 7px;
  line-height: 1.4;
}

.ci-hint.ci-error {
  color: #d14242;
  font-weight: 600;
}

/* Slug */
.ci-slug-wrap {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ci-slug-wrap:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.ci-slug-prefix {
  background: #f5f3fa;
  color: #8a7ab0;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 12px 12px 12px 14px;
  border-right: 1.5px solid #e6e0f0;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.ci-slug-wrap input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}

/* Icon picker */
.ci-icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ci-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1.5px solid #e6e0f0;
  background: #ffffff;
  color: #6d5f8a;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-icon-btn:hover {
  border-color: #c4b5fd;
  background: #faf8ff;
  color: #7c5cff;
}

.ci-icon-btn.ci-icon-active {
  border-color: #8b5cf6;
  background: #f5f3fa;
  color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

/* Color picker */
.ci-color-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ci-color-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.ci-color-btn:hover {
  transform: scale(1.08);
}

.ci-color-btn.ci-color-active {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--c);
}

/* ---------------- SUGGESTIONS ---------------- */
.ci-suggest-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f3fa;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ci-suggest-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2b1b4d;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ci-suggest-label i {
  color: #f59e0b;
}

.ci-suggest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ci-suggest-chip {
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  color: #2b1b4d;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  font-family: inherit;
}

.ci-suggest-chip:hover {
  border-color: #8b5cf6;
  color: #7c5cff;
  background: #faf8ff;
}

.ci-suggest-chip i {
  font-size: 0.65rem;
  color: #7c5cff;
}

.ci-suggest-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------------- ATTRIBUTE GROUPS ---------------- */
.ci-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ci-group {
  background: #ffffff;
  border: 1.5px solid #ede7f7;
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.15s;
}

.ci-group:hover {
  border-color: #e0d8f0;
}

.ci-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ci-group-head-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ede7f7;
  color: #7c5cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ci-group-name-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a0f33;
  outline: none;
  padding: 6px 8px;
  border-radius: 8px;
  font-family: inherit;
  transition: background 0.15s;
  min-width: 0;
}

.ci-group-name-input:hover,
.ci-group-name-input:focus {
  background: #faf8ff;
}

.ci-group-name-input::placeholder {
  color: #a99cc4;
  font-weight: 600;
}

.ci-icon-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #8a7ab0;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.ci-icon-action:hover {
  background: #fdeaea;
  color: #d14242;
}

/* Attributes inside group */
.ci-attr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ci-attr-row {
  background: #faf8ff;
  border: 1.5px solid #ede7f7;
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color 0.15s;
}

.ci-attr-row:hover {
  border-color: #e0d8f0;
}

.ci-attr-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ci-attr-name {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a0f33;
  outline: none;
  padding: 4px 6px;
  border-radius: 6px;
  font-family: inherit;
  min-width: 120px;
  transition: background 0.15s;
}

.ci-attr-name:hover,
.ci-attr-name:focus {
  background: #ffffff;
}

.ci-attr-name::placeholder {
  color: #a99cc4;
  font-weight: 600;
}

.ci-attr-type {
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2b1b4d;
  padding: 6px 10px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
}

.ci-attr-type:focus {
  border-color: #8b5cf6;
}

/* Toggle switch for variant */
.ci-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6d5f8a;
  white-space: nowrap;
}

.ci-switch input {
  display: none;
}

.ci-switch-track {
  width: 32px;
  height: 18px;
  background: #d8d0e8;
  border-radius: 30px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.ci-switch-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ci-switch input:checked + .ci-switch-track {
  background: #8b5cf6;
}

.ci-switch input:checked + .ci-switch-track::after {
  transform: translateX(14px);
}

/* Options row */
.ci-attr-options {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ci-chip {
  background: #ede7f7;
  color: #4d3d6b;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ci-chip button {
  background: none;
  border: none;
  color: #8a7ab0;
  cursor: pointer;
  font-size: 0.65rem;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.ci-chip button:hover {
  color: #d14242;
}

.ci-chip-input {
  background: transparent;
  border: 1.5px dashed #c4b5fd;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #7c5cff;
  padding: 4px 12px;
  outline: none;
  font-family: inherit;
  min-width: 90px;
  transition: all 0.15s;
}

.ci-chip-input:focus {
  border-style: solid;
  border-color: #8b5cf6;
  background: #faf8ff;
}

.ci-chip-input::placeholder {
  color: #b8a8d9;
  font-weight: 500;
}

.ci-attr-remove {
  background: transparent;
  border: none;
  color: #8a7ab0;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 6px;
  border-radius: 7px;
  transition: all 0.15s;
  margin-left: auto;
}

.ci-attr-remove:hover {
  background: #fdeaea;
  color: #d14242;
}

/* Add attribute button */
.ci-add-attr-btn {
  margin-top: 10px;
  background: transparent;
  border: 1.5px dashed #c4b5fd;
  color: #7c5cff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s;
  font-family: inherit;
}

.ci-add-attr-btn:hover {
  background: #f5f3fa;
  border-style: solid;
}

.ci-add-group-btn {
  margin-top: 14px;
  width: 100%;
  background: transparent;
  border: 1.5px dashed #c4b5fd;
  color: #7c5cff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s;
  font-family: inherit;
}

.ci-add-group-btn:hover {
  background: #f5f3fa;
  border-style: solid;
}

/* Empty state */
.ci-empty {
  text-align: center;
  padding: 30px 20px;
  color: #8a7ab0;
  font-size: 0.85rem;
  border: 1.5px dashed #e0d8f0;
  border-radius: 12px;
}

.ci-empty i {
  display: block;
  font-size: 1.6rem;
  color: #c4b5fd;
  margin-bottom: 10px;
}

/* ---------------- STATUS PICKER ---------------- */
.ci-status-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ci-status-btn {
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  transition: all 0.15s;
  font-family: inherit;
}

.ci-status-btn i {
  font-size: 1rem;
  color: #8a7ab0;
  flex-shrink: 0;
}

.ci-status-btn strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1a0f33;
  line-height: 1.2;
}

.ci-status-btn small {
  display: block;
  font-size: 0.68rem;
  color: #8a7ab0;
  margin-top: 2px;
  font-weight: 500;
}

.ci-status-btn:hover {
  border-color: #c4b5fd;
}

.ci-status-btn.ci-status-active {
  border-color: #8b5cf6;
  background: #faf8ff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ci-status-btn.ci-status-active i {
  color: #7c5cff;
}

/* ---------------- SUMMARY BOX ---------------- */
.ci-summary-box {
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  padding: 14px 16px;
}

.ci-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 7px 0;
  border-bottom: 1px solid #f0edf7;
}

.ci-summary-row:last-child {
  border-bottom: none;
}

.ci-summary-row span {
  color: #8a7ab0;
  font-weight: 600;
}

.ci-summary-row strong {
  color: #1a0f33;
  font-weight: 800;
  text-align: right;
  word-break: break-word;
  margin-left: 12px;
}

/* ---------------- FORM ACTIONS ---------------- */
.ci-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #f0edf7;
}

.ci-btn {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  font-family: inherit;
}

.ci-btn-ghost {
  background: transparent;
  color: #6d5f8a;
  border: 1.5px solid #e6e0f0;
}

.ci-btn-ghost:hover {
  background: #faf8ff;
  border-color: #c4b5fd;
  color: #2b1b4d;
}

.ci-btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c5cff 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.ci-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.ci-btn-primary:active {
  transform: scale(0.98);
}

.ci-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------------- EXTENDABLE TOGGLE ---------------- */
.ci-switch.ci-switch-extendable {
  color: #1b7a4b;
}

.ci-switch.ci-switch-extendable .ci-switch-track {
  background: #d8d0e8;
}

.ci-switch.ci-switch-extendable input:checked + .ci-switch-track {
  background: #10b981;
}

.ci-switch.ci-switch-extendable i {
  font-size: 0.7rem;
  color: #10b981;
}

.ci-switch.ci-switch-extendable input:not(:checked) ~ i {
  color: #8a7ab0;
}

/* Small helper text under attribute when extendable is off */
.ci-attr-locked-note {
  font-size: 0.68rem;
  color: #b16f0e;
  background: #fff5e5;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  margin-top: 8px;
}

.ci-attr-locked-note i {
  font-size: 0.6rem;
}

/* ---------------- PRICING SECTION ---------------- */
.ci-select {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a0f33;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7ab0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.ci-select:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

/* Pricing blocks */
.ci-price-block {
  background: #ffffff;
  border: 1.5px solid #ede7f7;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.ci-price-block:last-of-type {
  margin-bottom: 14px;
}

.ci-price-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0edf7;
}

.ci-price-block-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ci-price-icon-base {
  background: #ede7f7;
  color: #7c5cff;
}

.ci-price-icon-offer {
  background: #fff5e5;
  color: #b16f0e;
}

.ci-price-block-head h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a0f33;
  margin: 0 0 2px;
  letter-spacing: -0.1px;
}

.ci-price-block-head p {
  font-size: 0.75rem;
  color: #8a7ab0;
  margin: 0;
  font-weight: 500;
}

/* Pricing rows */
.ci-price-rows {
  display: flex;
  flex-direction: column;
}

.ci-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 6px;
  border-bottom: 1px solid #f7f4fd;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s;
  border-radius: 6px;
  margin-left: -6px;
  margin-right: -6px;
}

.ci-price-row:last-child {
  border-bottom: none;
}

.ci-price-row:hover {
  background: #faf8ff;
}

.ci-price-row-text {
  min-width: 0;
  flex: 1;
}

.ci-price-row-text strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #2b1b4d;
  line-height: 1.3;
}

.ci-price-row-text small {
  display: block;
  font-size: 0.72rem;
  color: #8a7ab0;
  margin-top: 2px;
  line-height: 1.4;
  font-weight: 500;
}

/* Preview note */
.ci-price-preview {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f5f3fa;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 0.78rem;
  color: #6d5f8a;
  line-height: 1.5;
  margin-top: 4px;
}

.ci-price-preview i {
  color: #7c5cff;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ci-price-preview strong {
  color: #2b1b4d;
  font-weight: 700;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .ci-grid-2 {
    grid-template-columns: 1fr;
  }

  .ci-status-picker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ci-section {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .ci-page-title {
    font-size: 1.35rem;
  }

  .ci-suggest-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ci-attr-top {
    flex-direction: column;
    align-items: stretch;
  }

  .ci-attr-name {
    width: 100%;
  }

  .ci-attr-type {
    width: 100%;
  }

  .ci-form-actions {
    flex-direction: column-reverse;
  }

  .ci-btn {
    width: 100%;
    justify-content: center;
  }

  .ci-price-row {
    gap: 10px;
  }

  .ci-price-row-text small {
    font-size: 0.68rem;
  }
}

/* ============================================================
   FILE: css/store-create.css
   Bugsbon Retail OS — Store Creation Wizard
   Scoped with .sc- prefix
   ============================================================ */

/* ---------------- PAGE SHELL ---------------- */
.sc-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a0f33;
  color: #1a0f33;
  min-height: 100vh;
  overflow: hidden;
}

.sc-shell {
  display: grid;
  grid-template-rows: 68px 1fr 78px;
  height: 100vh;
  padding: 14px;
  gap: 14px;
  background: #1a0f33;
  box-sizing: border-box;
}

/* ---------------- TOP BAR ---------------- */
.sc-topbar {
  background: #2b1b4d;
  border: 1px solid #3d2568;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  gap: 20px;
  min-width: 0;
}

.sc-topbar-left { display: flex; align-items: center; }
.sc-topbar-right { display: flex; justify-content: flex-end; }

.sc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

.sc-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  color: white;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.sc-logo-text small {
  font-weight: 500;
  font-size: 0.58rem;
  color: #b8a8d9;
  display: block;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.sc-exit-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #d8c8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  transition: all 0.15s;
}

.sc-exit-btn:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* ---------------- STEPPER ---------------- */
.sc-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sc-step-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 30px;
  transition: all 0.2s;
  white-space: nowrap;
}

.sc-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3d2568;
  color: #8a7ab0;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sc-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8a7ab0;
  transition: color 0.2s;
}

.sc-step-dot.sc-step-active .sc-step-num {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
}

.sc-step-dot.sc-step-active .sc-step-label {
  color: white;
}

.sc-step-dot.sc-step-done .sc-step-num {
  background: #10b981;
  color: white;
}

.sc-step-dot.sc-step-done .sc-step-label {
  color: #d8c8f0;
}

.sc-step-line {
  width: 22px;
  height: 2px;
  background: #3d2568;
  border-radius: 2px;
  transition: background 0.2s;
}

/* ---------------- MAIN CONTENT ---------------- */
.sc-main {
  background: #ffffff;
  border-radius: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.sc-main::-webkit-scrollbar { width: 6px; }
.sc-main::-webkit-scrollbar-thumb { background: #e0d8f0; border-radius: 10px; }

.sc-step-panel {
  display: none;
  padding: 44px 40px 60px;
  min-height: 100%;
  box-sizing: border-box;
}

.sc-step-panel.sc-panel-active {
  display: block;
  animation: scFadeIn 0.35s ease;
}

@keyframes scFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sc-panel-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sc-panel-head {
  text-align: center;
  margin-bottom: 36px;
}

.sc-panel-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ede7f7 0%, #f5f3fa 100%);
  color: #7c5cff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.15);
}

.sc-panel-head h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

.sc-panel-head p {
  font-size: 0.9rem;
  color: #6d5f8a;
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ---------------- FORM ---------------- */
.sc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sc-field {
  display: flex;
  flex-direction: column;
}

.sc-field-full {
  grid-column: 1 / -1;
}

.sc-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2b1b4d;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.sc-req { color: #ef4444; font-weight: 800; }

.sc-field input[type="text"],
.sc-field input[type="email"],
.sc-field input[type="tel"],
.sc-field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #faf8ff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a0f33;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  box-sizing: border-box;
}

.sc-field input:focus,
.sc-field textarea:focus {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.sc-field input::placeholder,
.sc-field textarea::placeholder {
  color: #a99cc4;
  font-weight: 400;
}

.sc-field textarea {
  resize: vertical;
  min-height: 80px;
}

.sc-input-prefix-wrap {
  display: flex;
  align-items: stretch;
  background: #faf8ff;
  border: 1.5px solid #e6e0f0;
  border-radius: 11px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.sc-input-prefix-wrap:focus-within {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.sc-input-prefix {
  background: #f5f3fa;
  color: #8a7ab0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 13px 12px;
  border-right: 1.5px solid #e6e0f0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.sc-input-prefix-wrap input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1;
  min-width: 0;
}

/* ---------------- INDUSTRY GRID ---------------- */
.sc-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sc-industry-card {
  background: #faf8ff;
  border: 2px solid #ede7f7;
  border-radius: 14px;
  padding: 22px 20px;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  position: relative;
  user-select: none;
}

.sc-industry-card:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(139, 92, 246, 0.15);
}

.sc-industry-card.sc-selected {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.sc-industry-card.sc-selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #8b5cf6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.sc-industry-avatar {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.sc-industry-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a0f33;
  margin-bottom: 4px;
  line-height: 1.2;
}

.sc-industry-desc {
  font-size: 0.72rem;
  color: #8a7ab0;
  font-weight: 500;
}

.sc-industry-meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0edf7;
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 0.68rem;
  color: #8a7ab0;
  font-weight: 600;
}

.sc-industry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sc-industry-meta i {
  color: #7c5cff;
  font-size: 0.6rem;
}

/* ---------------- ATTRIBUTE CUSTOMIZE ---------------- */
.sc-attr-customize {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sc-attr-group {
  background: #faf8ff;
  border: 1.5px solid #ede7f7;
  border-radius: 14px;
  padding: 20px 22px;
}

.sc-attr-group-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0edf7;
}

.sc-attr-group-head-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #ede7f7;
  color: #7c5cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.sc-attr-group-head h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a0f33;
  margin: 0;
  flex: 1;
}

.sc-attr-group-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8a7ab0;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid #ede7f7;
}

.sc-attr-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-attr-item {
  background: #ffffff;
  border: 1.5px solid #ede7f7;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s;
}

.sc-attr-item:hover {
  border-color: #e0d8f0;
}

.sc-attr-item.sc-attr-locked {
  background: #faf8ff;
  border-style: dashed;
}

.sc-attr-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sc-attr-item-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1a0f33;
}

.sc-attr-item-name i {
  color: #7c5cff;
  font-size: 0.78rem;
  width: 16px;
  text-align: center;
}

.sc-attr-tag {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sc-tag-variant {
  background: #ede7f7;
  color: #7c5cff;
}

.sc-tag-extendable {
  background: #e6f7ef;
  color: #1b7a4b;
}

.sc-tag-locked {
  background: #fff5e5;
  color: #b16f0e;
}

.sc-attr-options {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.sc-option-chip {
  background: #f5f3fa;
  color: #4d3d6b;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ede7f7;
}

.sc-option-chip button {
  background: none;
  border: none;
  color: #8a7ab0;
  cursor: pointer;
  font-size: 0.65rem;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.sc-option-chip button:hover {
  color: #d14242;
}

.sc-option-chip.sc-option-new {
  background: #e6f7ef;
  color: #1b7a4b;
  border-color: #b8e8d0;
}

.sc-option-input {
  background: transparent;
  border: 1.5px dashed #c4b5fd;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #7c5cff;
  padding: 5px 13px;
  outline: none;
  font-family: inherit;
  min-width: 110px;
  transition: all 0.15s;
}

.sc-option-input:focus {
  border-style: solid;
  border-color: #8b5cf6;
  background: #ffffff;
}

.sc-option-input::placeholder {
  color: #b8a8d9;
  font-weight: 500;
}

.sc-attr-locked-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #b16f0e;
  background: #fff5e5;
  padding: 8px 12px;
  border-radius: 9px;
  margin-top: 10px;
  font-weight: 600;
}

.sc-attr-locked-note i {
  font-size: 0.7rem;
}

/* ---------------- PLANS ---------------- */
.sc-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.sc-plan-card {
  background: #faf8ff;
  border: 2px solid #ede7f7;
  border-radius: 14px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sc-plan-card:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(139, 92, 246, 0.15);
}

.sc-plan-card.sc-selected {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.sc-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6 0%, #7c5cff 100%);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.sc-plan-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a0f33;
  margin-bottom: 6px;
}

.sc-plan-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a0f33;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  line-height: 1;
}

.sc-plan-price small {
  font-size: 0.7rem;
  color: #8a7ab0;
  font-weight: 600;
  letter-spacing: 0;
}

.sc-plan-desc {
  font-size: 0.75rem;
  color: #8a7ab0;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.sc-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sc-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #4d3d6b;
  font-weight: 500;
  line-height: 1.4;
}

.sc-plan-features i {
  color: #10b981;
  font-size: 0.72rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.sc-trial-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #f5f3fa 0%, #faf8ff 100%);
  border: 1.5px dashed #c4b5fd;
  border-radius: 12px;
  padding: 14px 18px;
}

.sc-trial-note i {
  font-size: 1.5rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.sc-trial-note strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a0f33;
  margin-bottom: 2px;
}

.sc-trial-note span {
  font-size: 0.75rem;
  color: #8a7ab0;
  font-weight: 500;
}

/* ---------------- REVIEW ---------------- */
.sc-review {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sc-review-card {
  background: #faf8ff;
  border: 1.5px solid #ede7f7;
  border-radius: 14px;
  padding: 20px 22px;
}

.sc-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0edf7;
}

.sc-review-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a0f33;
}

.sc-review-card-title i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #ede7f7;
  color: #7c5cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.sc-review-edit {
  background: transparent;
  border: none;
  color: #7c5cff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}

.sc-review-edit:hover {
  background: #ede7f7;
}

.sc-review-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sc-review-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sc-review-row.sc-review-row-full {
  grid-column: 1 / -1;
}

.sc-review-row span {
  font-size: 0.68rem;
  color: #8a7ab0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sc-review-row strong {
  font-size: 0.85rem;
  color: #1a0f33;
  font-weight: 700;
  word-break: break-word;
  line-height: 1.4;
}

.sc-review-industry {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-review-industry-avatar {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sc-review-attrs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-review-attr-group {
  background: #ffffff;
  border: 1px solid #f0edf7;
  border-radius: 10px;
  padding: 12px 14px;
}

.sc-review-attr-group-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2b1b4d;
  margin-bottom: 8px;
}

.sc-review-attr-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sc-review-attr-pill {
  background: #f5f3fa;
  color: #4d3d6b;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid #ede7f7;
}

.sc-review-attr-pill strong {
  color: #7c5cff;
  font-weight: 800;
}

/* ---------------- BOTTOM ACTION BAR ---------------- */
.sc-actionbar {
  background: #2b1b4d;
  border: 1px solid #3d2568;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  gap: 16px;
}

.sc-actionbar-hint {
  font-size: 0.78rem;
  color: #b8a8d9;
  font-weight: 600;
  white-space: nowrap;
}

.sc-btn {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  font-family: inherit;
}

.sc-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #d8c8f0;
  border: 1px solid rgba(255,255,255,0.1);
  justify-self: start;
}

.sc-btn-ghost:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  color: white;
}

.sc-btn-ghost:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sc-btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c5cff 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
  justify-self: end;
}

.sc-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.sc-btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.sc-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .sc-shell {
    grid-template-rows: 64px 1fr 72px;
    padding: 10px;
    gap: 10px;
  }

  .sc-topbar {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .sc-topbar-center { display: none; }

  .sc-step-panel {
    padding: 30px 22px 44px;
  }

  .sc-panel-head h1 { font-size: 1.4rem; }

  .sc-form-grid,
  .sc-industry-grid,
  .sc-plan-grid {
    grid-template-columns: 1fr;
  }

  .sc-review-rows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sc-shell {
    padding: 8px;
    gap: 8px;
  }

  .sc-step-panel {
    padding: 24px 18px 36px;
  }

  .sc-panel-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .sc-panel-head h1 { font-size: 1.25rem; }
  .sc-panel-head p { font-size: 0.82rem; }

  .sc-actionbar {
    padding: 0 14px;
    gap: 10px;
  }

  .sc-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .sc-actionbar-hint {
    display: none;
  }
}