/* ═══════════════════════════════════════════════════════
   TASKBRIDGE UNIFIED THEME SYSTEM
   Strictly Dark Green Theme
   All three pages (dashboard, opportunities, academy)
   share these variables
   ═══════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --bg:           #090d0c;
  --bg-2:         #0d1210;
  --bg-3:         #111816;
  --panel:        rgba(255, 255, 255, 0.03);
  --panel-2:      rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border:       rgba(255, 255, 255, 0.08);
  --border-2:     rgba(255, 255, 255, 0.12);
  --border-strong:rgba(0, 195, 122, 0.4);
  --text:         #f4f8f6;
  --text-2:       #e2e8f0;
  --muted:        #a3b4ae;
  --soft:         #6b8c7f;
  --quiet:        #4a6b5f;

  /* Accent – unified green across all pages */
  --accent:       #00c37a;
  --accent-2:     #22c55e;
  --accent-soft:  rgba(0, 195, 122, 0.15);
  --accent-line:  rgba(0, 195, 122, 0.35);

  /* Legacy blue kept for existing components */
  --blue:         #2563eb;
  --blue-2:       #60a5fa;
  --cyan:         #38bdf8;
  --green:        #22c55e;
  --red:          #f87171;
  --amber:        #fbbf24;

  /* Shadows */
  --shadow:       0 24px 70px rgba(0, 0, 0, 0.6);
  --glow:         0 0 34px rgba(0, 195, 122, 0.22);

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 15% 50px, rgba(0, 195, 122, 0.08), transparent 300px),
    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.1), transparent 300px),
    var(--bg);
}

body.is-dark .skill-card,
body.is-dark .dash-panel,
body.is-dark .stat-card,
body.is-dark .task-card,
body.is-dark .glass-form,
body.is-dark .payment-visual,
body.is-dark .dashboard-sidebar,
body.is-dark .checkin-panel,
body.is-dark .market-toolbar,
body.is-dark .detail-hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.is-dark .skill-card:hover,
body.is-dark .task-card:hover,
body.is-dark .stat-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 40px color-mix(in srgb, var(--g2, #60a5fa), transparent 70%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.is-dashboard .site-header {
  background: rgba(5, 8, 22, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

body.is-native-app .top-banner,
body.is-native-app .site-header,
body.is-native-app .site-footer {
  display: none !important;
}

body.is-native-app #app {
  min-height: 100vh;
}

.nav-left {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-weight: 950;
  letter-spacing: 0;
  background: linear-gradient(90deg, #ffffff, #60a5fa 54%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(96, 165, 250, 0.36);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: var(--glow);
  font-size: 0.86rem;
}

.tb-brand-text {
  color: #000000;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  -webkit-background-clip: unset;
  background-clip: unset;
  background: none;
  text-shadow: none;
}

.is-dashboard .tb-brand-text, .is-dark .tb-brand-text {
  color: #ffffff;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: var(--panel-strong);
  border-color: var(--border-strong);
}

.icon-btn svg,
.btn svg,
.skill-card svg,
.stat-card svg {
  width: 18px;
  height: 18px;
}

.icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  line-height: 1;
}

.icon-wrap svg,
.icon-wrap i,
.icon-fallback {
  grid-area: 1 / 1;
}

.icon-wrap svg {
  width: 1em;
  height: 1em;
}

.icon-fallback {
  color: currentColor;
  font-size: 0.58em;
  font-weight: 950;
}

.icons-ready .icon-fallback {
  display: none;
}

.menu-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-lines span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.icon-btn.mini {
  width: 36px;
  height: 36px;
}

.menu-popover {
  position: absolute;
  top: 52px;
  left: 0;
  display: none;
  min-width: 220px;
  padding: 8px;
  background: rgba(8, 17, 31, 0.96);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

.menu-popover.is-open {
  display: grid;
  gap: 6px;
}

.menu-popover button {
  width: 100%;
  padding: 12px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.menu-popover button:hover {
  color: var(--text);
  background: rgba(96, 165, 250, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-glow {
  box-shadow: 0 0 26px rgba(37, 99, 235, 0.34), 0 16px 36px rgba(37, 99, 235, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.055);
}

.btn-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.btn-wide {
  width: 100%;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.54;
  transform: none;
  box-shadow: none;
}

.text-btn {
  color: var(--blue-2);
  background: transparent;
  border: 0;
  font-weight: 900;
}

.hero-v2 {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 102px) clamp(18px, 5vw, 74px);
  overflow: hidden;
}

.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    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: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  pointer-events: none;
}

.hero-bg-orbit {
  position: absolute;
  inset: 12% -20% auto auto;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 50%;
  opacity: 0.55;
  transform: rotate(-18deg);
  pointer-events: none;
}

.hero-bg-orbit::before,
.hero-bg-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(96, 165, 250, 0.14);
  border-radius: 50%;
}

.hero-bg-orbit::after {
  inset: 32%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-toggle button {
  min-width: 92px;
  min-height: 38px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.hero-toggle button.is-active {
  color: var(--text);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: var(--glow);
}

.hero-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 7.6vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtext {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-console {
  min-height: 520px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(20px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  color: var(--soft);
  border-bottom: 1px solid var(--border);
}

.console-top span {
  width: 10px;
  height: 10px;
  background: var(--blue-2);
  border-radius: 50%;
}

.console-top span:nth-child(2) {
  background: var(--green);
}

.console-top span:nth-child(3) {
  background: var(--amber);
}

.console-top strong {
  margin-left: auto;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.market-scan {
  display: grid;
  gap: 12px;
  padding: 16px 4px 4px;
}

.scan-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(5, 8, 22, 0.48);
  border: 1px solid var(--border);
  border-radius: 16px;
  animation: riseIn 540ms ease both;
  animation-delay: var(--delay);
}

.scan-row > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue-2);
  background: rgba(96, 165, 250, 0.13);
  border-radius: 12px;
}

.scan-row strong,
.scan-row small {
  display: block;
}

.scan-row small {
  color: var(--soft);
}

.scan-row b {
  color: var(--green);
}

.section {
  padding: clamp(54px, 7vw, 98px) clamp(18px, 5vw, 74px);
}

.dark-section {
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.4), rgba(5, 8, 22, 0.94));
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.skill-carousel {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
}

.skill-card,
.dash-panel,
.stat-card,
.task-card,
.glass-form,
.payment-visual,
.dashboard-sidebar,
.checkin-panel,
.market-toolbar,
.detail-hero {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.skill-card {
  position: relative;
  min-height: 180px;
  padding: 20px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--g1), transparent, var(--g2));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.76;
  pointer-events: none;
}

.skill-card:hover,
.task-card:hover,
.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow), 0 0 30px color-mix(in srgb, var(--g2, #60a5fa), transparent 64%);
}

.skill-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  border-radius: 14px;
}

.skill-card h3 {
  margin: 18px 0 8px;
}

.skill-card p,
.muted,
.dash-panel p {
  color: var(--muted);
  line-height: 1.62;
}

.trust-section {
  padding-top: 0;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-band > div {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.trust-band span {
  color: var(--blue-2);
}

.auth-page {
  min-height: calc(100svh - 148px);
  display: grid;
  align-items: center;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 74px);
}

.auth-shell,
.payment-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: center;
}

.auth-copy h1,
.payment-visual h1,
.dashboard-top h1,
.detail-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.auth-copy p,
.payment-visual p {
  color: var(--muted);
  line-height: 1.7;
}

.mini-stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mini-stack span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.glass-form,
.payment-visual,
.dash-panel {
  border-radius: 22px;
  padding: clamp(20px, 4vw, 30px);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  color: #e5eefc;
  font-weight: 850;
}

.field small {
  color: var(--soft);
  line-height: 1.5;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.input,
.textarea,
.select-lite {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(5, 8, 22, 0.58);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
}

.input:focus,
.textarea:focus,
.select-lite:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.input:disabled {
  color: var(--soft);
}

.file-input {
  padding-top: 11px;
}

.textarea {
  min-height: 136px;
  resize: vertical;
}

.payment-visual {
  min-height: 420px;
  display: grid;
  place-content: center;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(96, 165, 250, 0.06)),
    var(--panel);
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 22px;
  box-shadow: var(--glow);
}

.payment-visual h1 {
  font-size: clamp(4rem, 10vw, 8rem);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  margin: 12px 0 18px;
  color: var(--muted);
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 14px;
}

.info-box p {
  margin: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--soft);
  font-weight: 850;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.dashboard-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  min-height: calc(100svh - 148px);
  padding: clamp(18px, 3vw, 28px);
}

.dashboard-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  border-radius: 22px;
  padding: 16px;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.profile-chip > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 14px;
  font-weight: 950;
}

.profile-chip strong,
.profile-chip small {
  display: block;
}

.profile-chip small {
  color: var(--soft);
}

.dashboard-nav {
  display: grid;
  gap: 7px;
}

.dashboard-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.bottom-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: #38bdf8;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
}

.dashboard-nav button.is-active,
.dashboard-nav button:hover {
  color: var(--text);
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.22);
}

.bottom-nav button.is-active,
.bottom-nav button:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.dashboard-main {
  min-width: 0;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.top-actions {
  display: flex;
  gap: 10px;
}

.checkin-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 20px;
}

.welcome-panel {
  padding: 15px 16px;
  margin-bottom: 18px;
  color: #dbeafe;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 18px;
  font-weight: 950;
}

.checkin-panel > div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.checkin-panel span:first-child {
  color: var(--blue-2);
}

.checkin-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stat-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-2);
  background: rgba(96, 165, 250, 0.12);
  border-radius: 13px;
}

.stat-card p {
  margin: 0;
  color: var(--soft);
  font-weight: 800;
}

.stat-card strong {
  font-size: 1.55rem;
}

.stat-card small {
  color: var(--green);
  font-weight: 850;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h2,
.dash-panel h2 {
  margin: 0;
}

.market-toolbar {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: rgba(5, 8, 22, 0.58);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.search-box svg {
  color: var(--soft);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: none;
}

.category-strip {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  overflow-x: auto;
}

.category-strip button,
.admin-tabs button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  font-size: 1.05rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
}

.category-strip button.is-active,
.admin-tabs button.is-active {
  color: var(--text);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: var(--glow);
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.special-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 4vw, 30px);
  margin-bottom: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--g1), transparent 72%), rgba(5, 8, 22, 0.66)),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.special-panel h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
}

.special-panel p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.62;
}

.special-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.special-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 999px;
  font-weight: 850;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ecosystem-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(5, 8, 22, 0.38);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.ecosystem-card > span,
.no-access-panel > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue-2);
  background: rgba(96, 165, 250, 0.12);
  border-radius: 13px;
}

.ecosystem-card h3 {
  margin: 0 0 6px;
}

.ecosystem-card p {
  margin: 0;
}

.no-access-panel {
  display: grid;
  gap: 14px;
}

.task-card {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.task-thumb {
  position: relative;
  min-height: 142px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  background-position: center;
  background-size: cover;
}

.task-thumb span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(5, 8, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  backdrop-filter: blur(12px);
}

.task-thumb b {
  padding: 7px 9px;
  background: rgba(5, 8, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
}

.task-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.task-meta,
.task-foot,
.amount-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-meta span {
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.task-meta strong {
  color: var(--green);
}

.task-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.task-card p {
  min-height: 76px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.task-foot {
  color: var(--soft);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.task-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-page {
  grid-template-columns: 1fr;
}

.detail-main {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.detail-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 5vw, 42px);
  margin: 16px 0 18px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--g1), transparent 74%), color-mix(in srgb, var(--g2), transparent 84%)),
    var(--panel);
}

.detail-hero p {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.65;
}

.detail-price {
  min-width: 170px;
  padding: 18px;
  background: rgba(5, 8, 22, 0.46);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.detail-price span,
.detail-price strong {
  display: block;
}

.detail-price span {
  color: var(--soft);
}

.detail-price strong {
  margin-top: 8px;
  font-size: 2rem;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.detail-list svg {
  flex: 0 0 auto;
  color: var(--blue-2);
}

.detail-list.compact {
  margin: 14px 0;
}

.pay-card,
.assignment-box {
  display: grid;
  gap: 14px;
}

.amount-line {
  padding: 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(96, 165, 250, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 16px;
}

.amount-line span {
  color: var(--muted);
  font-weight: 850;
}

.amount-line strong {
  font-size: 2rem;
}

.wallet-hero {
  display: grid;
  gap: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(96, 165, 250, 0.08));
}

.wallet-hero > span {
  color: var(--blue-2);
}

.wallet-hero strong {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rule-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.rule-list div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.transaction-list,
.submission-list,
.custom-task-list {
  display: grid;
  gap: 10px;
}

.transaction-row,
.submission-row,
.custom-task-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(5, 8, 22, 0.38);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.transaction-row > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-2);
  background: rgba(96, 165, 250, 0.12);
  border-radius: 12px;
}

.transaction-row small,
.submission-row small,
.custom-task-row small {
  display: block;
  color: var(--soft);
}

.transaction-row b {
  color: var(--green);
}

.submission-row {
  grid-template-columns: 14px 1fr auto;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.status-approved {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.13);
  border-color: rgba(34, 197, 94, 0.28);
}

.status-rejected {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.13);
  border-color: rgba(248, 113, 113, 0.28);
}

.status-pending {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
}

.status-dot.status-approved {
  background: var(--green);
}

.status-dot.status-rejected {
  background: var(--red);
}

.referral-panel h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.ref-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.progress-wrap {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-radius: inherit;
}

.narrow-panel {
  max-width: 780px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.submission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.submission-card {
  padding: 16px;
  background: rgba(5, 8, 22, 0.36);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.submission-head,
.form-row,
.custom-task-row > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.submission-card h3 {
  margin: 16px 0 8px;
}

.custom-task-row {
  grid-template-columns: 1fr auto;
}

.empty-state {
  padding: 26px;
  color: var(--soft);
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.bottom-nav {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--soft);
  background: rgba(5, 8, 22, 0.88);
  border-top: 1px solid var(--border);
}

.site-footer strong {
  display: block;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 850;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(430px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--text);
  background: rgba(8, 17, 31, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow), var(--glow);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .auth-shell,
  .payment-stage,
  .dashboard-page {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: auto;
  }

  .skill-carousel,
  .task-grid,
  .ecosystem-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-sidebar {
    position: static;
  }

  .special-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .site-header .btn-small {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .site-header .btn-small span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .hero-v2 {
    min-height: calc(100svh - 68px);
    padding: 38px 18px 58px;
    overflow-x: hidden;
  }

  .hero-bg-orbit {
    display: none;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.8vw, 3.2rem);
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .hero-grid,
  .hero-copy,
  .hero-console {
    width: 100%;
    min-width: 0;
    max-width: 354px;
  }

  .hero-subtext,
  .hero-actions {
    width: 100%;
    max-width: 354px;
  }

  .hero-console {
    overflow: hidden;
  }

  .hero-console *,
  .scan-row div {
    min-width: 0;
  }

  .console-top strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .scan-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .scan-row > span {
    width: 40px;
    height: 40px;
  }

  .scan-row b {
    font-size: 0.86rem;
  }

  .hero-actions,
  .wallet-actions,
  .form-row,
  .top-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .wallet-actions .btn,
  .form-row .btn,
  .top-actions .btn,
  .checkin-panel .btn {
    width: 100%;
  }

  .hero-console {
    border-radius: 18px;
  }

  .skill-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .skill-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .trust-band,
  .grid-two,
  .field-grid,
  .ecosystem-grid,
  .submission-grid,
  .stat-grid,
  .market-toolbar {
    grid-template-columns: 1fr;
  }

  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dashboard-page {
    padding: 16px 14px 88px;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-top {
    display: block;
  }

  .top-actions {
    display: flex;
    margin-top: 14px;
  }

  .checkin-panel {
    display: grid;
  }

  .task-card p {
    min-height: auto;
  }

  .task-card h3 {
    font-size: 15px;
  }

  .task-meta span {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .task-card p.line-clamp-desc {
    font-size: 13px;
  }

  .task-foot {
    font-size: 12px;
  }

  .task-card .btn {
    font-size: 14px;
    min-height: 40px;
  }

  .task-thumb {
    min-height: 100px;
    padding: 10px;
  }

  .task-thumb span {
    width: 36px;
    height: 36px;
  }

  .task-body {
    padding: 12px;
    gap: 8px;
  }

  .access-fee-text {
    font-size: 2.2rem !important;
  }

  .detail-hero {
    display: grid;
  }

  .detail-price {
    min-width: 0;
  }

  .ecosystem-card {
    grid-template-columns: 46px 1fr;
  }

  .ecosystem-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ref-link {
    grid-template-columns: 1fr;
  }

  .transaction-row {
    grid-template-columns: 42px 1fr;
  }

  .transaction-row b {
    grid-column: 2;
  }

  .site-footer {
    display: block;
    padding-bottom: 96px;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    background: rgba(8, 17, 31, 0.94);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .bottom-nav button {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 48px;
    padding: 4px;
    font-size: 0.68rem;
  }

  .bottom-nav svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 480px) {
  .hero-grid,
  .hero-copy,
  .hero-subtext,
  .hero-actions,
  .hero-console {
    width: 100%;
    max-width: 354px;
  }

  .hero-copy h1 {
    max-width: 354px;
  }
}

.line-clamp-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.desktop-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.desktop-nav a:hover {
  opacity: 1;
  color: var(--green);
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
}

.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.payment-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.payment-modal-card {
  width: 90%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.15);
  color: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.payment-modal-overlay.is-active .payment-modal-card {
  transform: translateY(0) scale(1);
}

.payment-modal-card h2 {
  margin: 10px 0 0;
  font-size: 1.5rem;
  color: #0f172a;
}

.payment-modal-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.payment-modal-card p.muted {
  color: #94a3b8;
  font-size: 0.85rem;
}

.modal-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(37, 99, 235, 0.1);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.modal-success-icon svg {
  width: 36px;
  height: 36px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.access-fee-text {
  font-size: 2.8rem !important;
}

@media (max-width: 760px) {
  .stat-card {
    min-height: 110px;
    padding: 12px;
    gap: 6px;
  }
  .stat-card span {
    width: 32px;
    height: 32px;
  }
  .stat-card strong {
    font-size: 1.35rem;
  }
}

/* Landing page styles are injected by app.js landingView() */


/* Hide app content until JS renders to prevent flash of unstyled content */
#app:empty {
  visibility: hidden;
  min-height: 0;
}


/* --- New Premium Landing Page & Auth Page Styles --- */
.top-banner {
  background: #050816;
  padding: 8px 5%;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-banner-text {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tb-brand-sub {
  font-size: 0.65rem;
  color: var(--soft);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 1px;
}

/* Custom Header overrides */
.site-header {
  background: #0b1120 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.header-actions .btn {
  border-radius: 20px !important;
  padding: 4px 16px !important;
  font-size: 0.85rem !important;
  min-height: 38px !important;
}

.header-actions .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: transparent !important;
  color: #ffffff !important;
}

.header-actions .btn-primary {
  background: #2563eb !important;
  border: none !important;
  color: #ffffff !important;
}

.new-hero-section {
  position: relative;
  background: #0b1120;
  padding: 120px 5% 80px;
  overflow: hidden;
}

/* Kenyan Flag Background and Watermarks */
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-flag-bands {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, 
      transparent 0%, 
      transparent 55%,
      #000000 55%, 
      #000000 58%, 
      #ffffff 58%, 
      #ffffff 59%, 
      #ce1126 59%, 
      #ce1126 68%, 
      #ffffff 68%, 
      #ffffff 69%, 
      #008f39 69%, 
      #008f39 79%,
      transparent 79%
    );
  opacity: 0.12;
}

.hero-bg-shield {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 250px;
  height: 350px;
  opacity: 0.5;
}

.hero-bg-tree {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 300px;
  height: 220px;
  opacity: 0.6;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-copy-col {
  text-align: left;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #22c55e;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.new-hero-h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

.new-hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
  margin-bottom: 40px !important;
  max-width: 620px !important;
}

.new-hero-actions {
  display: flex !important;
  gap: 16px !important;
  justify-content: flex-start !important;
  margin-bottom: 48px !important;
}

.new-hero-actions .btn {
  padding: 12px 28px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  min-height: 48px !important;
  transition: all 0.2s ease;
}

.new-hero-actions .btn-signup {
  background: #22c55e !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3) !important;
}

.new-hero-actions .btn-signup:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4) !important;
}

.new-hero-actions .btn-signin {
  background: #2563eb !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3) !important;
}

.new-hero-actions .btn-signin:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4) !important;
}

/* Sub-hero links bar */
.sub-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.sub-hero-link {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-hero-link:hover {
  color: #ffffff;
}

.sub-hero-link svg {
  width: 14px;
  height: 14px;
}

.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* Split copy/form layout styles */
.auth-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.auth-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 1rem;
}

.auth-bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  color: #22c55e;
  flex-shrink: 0;
}

.auth-bullet-icon svg {
  width: 12px;
  height: 12px;
}

.auth-subtext {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 10px;
}

/* Google Sign-in/up Button inside Form */
.btn-google {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Form input adjustments */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Responsiveness overrides */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-copy-col {
    text-align: center;
  }
  
  .new-hero-actions {
    justify-content: center !important;
  }
  
  .sub-hero-links {
    justify-content: center;
  }
  
  .hero-image-col {
    display: none; /* Hide on mobile/tablets to match mockup focus */
  }
}

.new-cat-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 40px color-mix(in srgb, var(--card-g1), transparent 80%);
}

.new-cat-top {
  height: 90px;
  background: linear-gradient(135deg, var(--card-g1), var(--card-g2));
  opacity: 0.85;
}

.new-cat-content {
  padding: 24px;
  position: relative;
}

.new-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -27px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  color: var(--card-g2);
}

.new-cat-content h3 {
  margin: 32px 0 8px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.new-cat-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.new-cat-jobs {
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* Dashboard Layout Overrides */
body.is-dashboard .site-header {
  display: none !important;
}

body.is-dashboard {
  background: #0a0e1a !important; /* Force deep dark theme for dashboard */
}

/* Hide default bottom nav on desktop, but since this is a mobile match we leave it */
@media (min-width: 1024px) {
  .dashboard-mobile-header {
    display: none !important;
  }
}


/* --- New Landing Page Styles --- */
/* Duplicate hero block removed — styles consolidated above */

.new-cat-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 40px color-mix(in srgb, var(--card-g1), transparent 80%);
}

.new-cat-top {
  height: 90px;
  background: linear-gradient(135deg, var(--card-g1), var(--card-g2));
  opacity: 0.85;
}

.new-cat-content {
  padding: 24px;
  position: relative;
}

.new-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -27px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  color: var(--card-g2);
}

.new-cat-content h3 {
  margin: 32px 0 8px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.new-cat-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.new-cat-jobs {
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* ==========================================
   Dashboard Side Drawer Styles
   ========================================== */
.dashboard-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
}

.dashboard-drawer.open {
  pointer-events: auto;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-drawer.open .drawer-overlay {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #0a0e1a; /* Force deep dark theme for mobile drawer */
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.dashboard-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.drawer-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: white;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.drawer-nav-item.is-active {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.drawer-nav-item svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   Trustpilot Testimonials Carousel Styles
   ========================================== */
.new-reviews-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.new-reviews-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.new-reviews-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.reviews-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 10px;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.reviews-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.review-card {
  flex: 0 0 350px;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .new-reviews-title {
    font-size: 1.8rem;
  }
  
  .review-card {
    flex: 0 0 290px;
    padding: 24px;
  }
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.05);
}

.review-rating {
  color: #fbbf24; /* Trustpilot style stars */
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid rgba(34, 197, 94, 0.3);
  object-fit: cover;
}

.review-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.review-info span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- Premium Affiliate Dashboard Desktop Layout & Responsive Rules --- */

/* Display desktop-only header on wide screens (>992px), hide mobile header */
@media (min-width: 993px) {
  .dashboard-desktop-header {
    display: flex !important;
  }
  .dashboard-mobile-header {
    display: none !important;
  }
  .desktop-overview-view {
    display: flex !important;
  }
  .mobile-overview-view {
    display: none !important;
  }

  /* Make sidebar fixed and content offset so sidebar is constant on scroll */
  .dashboard-page {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  
  .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-bottom: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    z-index: 1000 !important;
    padding: 24px 16px !important;
  }
  
  .dashboard-main {
    margin-left: 280px !important;
    padding: 0 40px 40px !important;
    min-height: 100vh !important;
  }
}

/* On mobile landscape (≤992px), always hide the desktop sidebar — only drawer/hamburger is available */
@media (max-width: 992px) {
  .dashboard-desktop-header {
    display: none !important;
  }
  .dashboard-mobile-header {
    display: flex !important;
  }
  .desktop-overview-view {
    display: none !important;
  }
  .mobile-overview-view {
    display: block !important;
  }
  /* Ensure sidebar NEVER shows on phone — even landscape */
  .dashboard-sidebar {
    display: none !important;
  }
}

/* Referrals Table Styling Improvements */
.referrals-table-container table tbody tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.overview-card button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

/* --- Kenyan Flag Background styling --- */
.kenyan-flag-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background-image: url('/kenya-sunset.png');
  background-size: cover;
  background-position: center;
}

.kenyan-flag-bg svg {
  display: none; /* Hide the old SVG flag elements */
}

/* Category Pill Buttons styles */
.category-pill-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px auto 20px;
  max-width: 1200px;
  padding: 0 20px;
}

.category-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.4);
}

.category-pill svg {
  width: 18px;
  height: 18px;
}

/* Unlock Career & Income Opportunities section styles */
.opportunities-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.opportunities-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.opportunities-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.opportunity-card {
  background: #064e3b; /* Premium dark green style matching mockup */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.opportunity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.opportunity-card-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 20px 20px 10px;
  text-align: left;
}

.opportunity-card-image-wrap {
  margin: 0 16px 16px;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  background: #15803d;
}

.opportunity-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make it all happen section */
.happen-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.happen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.happen-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin: 0;
  text-align: left;
}

.happen-header .btn-join {
  background: #22c55e;
  border: none;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.happen-header .btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.happen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: left;
}

.happen-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.happen-icon {
  width: 32px;
  height: 32px;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.happen-icon svg {
  width: 100%;
  height: 100%;
}

.happen-text {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.5;
}

/* Live Freelancer Showcase Styles */
.live-banner-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.live-banner-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .live-banner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.live-banner-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .live-banner-content h2 {
    text-align: center;
  }
}

.live-banner-content p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: left;
}

@media (max-width: 768px) {
  .live-banner-content p {
    text-align: center;
  }
}

.live-slider-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111827;
}

.live-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.live-slide.active {
  opacity: 1;
  z-index: 1;
}

.live-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 24px;
  color: white;
  z-index: 2;
  text-align: left;
}

.live-slide-caption h4 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
}

.live-slide-caption span {
  color: #22c55e;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Job Details Modal Card */
.job-details-modal-card {
  width: 95%;
  max-width: 650px;
  background: #0b1329;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 85vh;
  overflow-y: auto;
  text-align: left;
}

.payment-modal-overlay.is-active .job-details-modal-card {
  transform: translateY(0) scale(1);
}

.job-details-modal-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
}

.job-details-modal-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.job-details-modal-card p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
  color: #94a3b8;
}

.job-details-modal-card ul, 
.job-details-modal-card ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
  font-size: 0.92rem;
  color: #94a3b8;
}

.job-details-modal-card li {
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════════
   TASKBRIDGE MOBILE APP VIEWPONT BREAKPOINT OVERRIDES (<= 992px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  body.is-dashboard {
    height: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .top-banner {
    display: none !important;
  }
  .tb-mobile-app {
    display: flex;
    flex-direction: column;
    background: 
      radial-gradient(circle at 50% -20%, rgba(20, 184, 166, 0.15), transparent 70%),
      radial-gradient(circle at 80% 40%, rgba(59, 130, 246, 0.08), transparent 50%),
      #060b13 !important;
    height: 100vh !important;
    overflow: hidden !important;
    font-family: 'Inter', sans-serif;
    position: relative;
    padding: 0 !important;
  }
  
  .tb-mobile-app .top-bar {
    padding: 8px 16px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d2b45;
    position: sticky;
    top: 0;
    z-index: 90;
  }
  .tb-mobile-app .top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .tb-mobile-app .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
  }
  .tb-mobile-app .hamburger-btn span {
    display: block;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    width: 100%;
  }
  .tb-mobile-app .hamburger-btn span:nth-child(2) {
    width: 70%;
  }
  .tb-mobile-app .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #c8a882;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border: 2px solid rgba(255,255,255,0.4);
  }
  .tb-mobile-app .hi-text {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
  }
  .tb-mobile-app .name-text {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
  }
  .tb-mobile-app .bell-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
  }
  
  .tb-mobile-app .welcome-card {
    margin: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 16px 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  }
  .tb-mobile-app .welcome-card::before {
    content: '';
    position: absolute;
    right: -18px;
    top: -18px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }
  .tb-mobile-app .welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(29,158,117,0.25);
    color: #5DCAA5;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  .tb-mobile-app .welcome-heading {
    font-size: 21px;
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 6px;
    text-align: left;
  }
  .tb-mobile-app .welcome-heading span {
    color: #1d9e75;
  }
  .tb-mobile-app .welcome-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 14px;
    text-align: left;
  }
  .tb-mobile-app .stats-row {
    display: flex;
    gap: 10px;
  }
  .tb-mobile-app .stat-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 7px 10px;
    flex: 1;
    text-align: left;
  }
  .tb-mobile-app .stat-icon {
    font-size: 18px;
    color: #5DCAA5;
    display: inline-flex;
    align-items: center;
  }
  .tb-mobile-app .stat-label {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
  }
  .tb-mobile-app .stat-val {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
  }
  
  .tb-mobile-app .section-row {
    padding: 4px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .tb-mobile-app .sec-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
  }
  .tb-mobile-app .sec-link {
    font-size: 11px;
    color: #60a5fa;
    cursor: pointer;
    font-weight: 500;
  }
  
  .tb-mobile-app .jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
    padding: 4px 16px 18px;
  }
  @media (max-width: 360px) {
    .tb-mobile-app .jobs-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .tb-mobile-app .job-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .tb-mobile-app .job-item:active {
    transform: scale(0.93);
  }
  .tb-mobile-app .job-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .tb-mobile-app .job-icon i {
    font-size: 26px;
    display: inline-flex;
    align-items: center;
  }
  .tb-mobile-app .job-item:active .job-icon {
    transform: scale(0.92);
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  }
  .tb-mobile-app .job-label {
    font-size: 9.5px;
    color: rgba(255,255,255,0.8);
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.1px;
  }
  
  /* Bottom Navigation Overrides for Mobile App View */
  .tb-mobile-app .bottom-nav {
    background: rgba(10, 25, 47, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    height: auto !important;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  }
  .tb-mobile-app .nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
  }
  .tb-mobile-app .nav-tab i {
    font-size: 24px;
  }
  .tb-mobile-app .nav-tab span {
    display: block !important;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 2px;
  }
  .tb-mobile-app .nav-tab.active {
    color: #14b8a6 !important;
  }
  .tb-mobile-app .nav-tab.active i {
    color: #14b8a6 !important;
  }
  .tb-mobile-app .nav-tab.active span {
    color: #14b8a6 !important;
  }

  /* Category glass glow styles */
  .tb-mobile-app .job-item[data-cat="Government Jobs"] .job-icon { border: 2px solid rgba(120, 170, 220, 0.6) !important; box-shadow: 0 0 12px rgba(80, 110, 145, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="Private Sector"] .job-icon { border: 2px solid rgba(220, 160, 100, 0.6) !important; box-shadow: 0 0 12px rgba(140, 100, 65, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="NGOs"] .job-icon { border: 2px solid rgba(100, 210, 160, 0.6) !important; box-shadow: 0 0 12px rgba(60, 150, 110, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="International Jobs"] .job-icon,
  .tb-mobile-app .job-item[data-cat="International"] .job-icon { border: 2px solid rgba(190, 140, 255, 0.6) !important; box-shadow: 0 0 12px rgba(120, 80, 180, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="Internships"] .job-icon { border: 2px solid rgba(230, 150, 110, 0.6) !important; box-shadow: 0 0 12px rgba(150, 100, 75, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="Attachments"] .job-icon { border: 2px solid rgba(220, 200, 150, 0.6) !important; box-shadow: 0 0 12px rgba(140, 130, 100, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="Scholarships"] .job-icon { border: 2px solid rgba(110, 220, 190, 0.6) !important; box-shadow: 0 0 12px rgba(60, 140, 120, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="Side Hustle"] .job-icon { border: 2px solid rgba(230, 200, 120, 0.6) !important; box-shadow: 0 0 12px rgba(150, 125, 80, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="TaskBridge Institute"] .job-icon,
  .tb-mobile-app .job-item[data-cat="TBI"] .job-icon { border: 2px solid rgba(120, 140, 220, 0.6) !important; box-shadow: 0 0 12px rgba(60, 70, 100, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }
  .tb-mobile-app .job-item[data-cat="Remote Jobs"] .job-icon { border: 2px solid rgba(200, 170, 130, 0.6) !important; box-shadow: 0 0 12px rgba(120, 100, 80, 0.3), 0 4px 15px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15); }

  /* Hamburger Drawer */
  .tb-mobile-app .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .tb-mobile-app .drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
  .tb-mobile-app .drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: #0d1210;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 20px rgba(0,0,0,0.4);
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .tb-mobile-app .drawer.open {
    transform: translateX(0);
  }
  .tb-mobile-app .drawer-header {
    background: #0d2b45;
    padding: 28px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .tb-mobile-app .drawer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #c8a882;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 6px;
  }
  .tb-mobile-app .drawer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  .tb-mobile-app .drawer-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
  .tb-mobile-app .drawer-email {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
  }
  .tb-mobile-app .drawer-menu {
    padding: 10px 0;
    flex: 1;
    overflow-y: auto;
    text-align: left;
  }
  .tb-mobile-app .drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #e2e8f0;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
  }
  .tb-mobile-app .drawer-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  .tb-mobile-app .drawer-item i {
    font-size: 20px;
    color: #00c37a;
    width: 22px;
    display: inline-flex;
    align-items: center;
  }
  .tb-mobile-app .drawer-item.danger {
    color: #f87171;
  }
  .tb-mobile-app .drawer-item.danger i {
    color: #f87171;
  }
  .tb-mobile-app .drawer-divider {
    height: 0.5px;
    background: rgba(255,255,255,0.08);
    margin: 6px 0;
  }
  .tb-mobile-app .drawer-section-label {
    font-size: 10px;
    color: #64748b;
    padding: 8px 16px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
  }

  /* Job Category Detail Slide Panel */
  .tb-mobile-app .detail-view {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #0a0e1a;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .tb-mobile-app .detail-view.active {
    transform: translateX(0);
  }
  .tb-mobile-app .detail-view-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 24px;
  }
  
  .tb-mobile-app .detail-header {
    background: #0d2b45;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left;
  }
  .tb-mobile-app .back-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tb-mobile-app .detail-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
  .tb-mobile-app .detail-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
  }
  .tb-mobile-app .detail-icon-big {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-left: auto;
  }
  .tb-mobile-app .detail-icon-big i {
    font-size: 22px;
    display: inline-flex;
    align-items: center;
  }
  
  .tb-mobile-app .filter-row {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tb-mobile-app .filter-row::-webkit-scrollbar {
    display: none;
  }
  .tb-mobile-app .filter-chip {
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    border: 0.5px solid #e0e0e0;
    background: #fff;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
  }
  .tb-mobile-app .filter-chip.active-chip {
    background: #0d2b45;
    color: #fff;
    border-color: #0d2b45;
  }
  
  .tb-mobile-app .job-card {
    margin: 0 12px 10px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    border: 0.5px solid #e0e0e0;
    cursor: pointer;
    text-align: left;
  }
  .tb-mobile-app .job-card-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }
  .tb-mobile-app .company-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .tb-mobile-app .company-logo i {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
  }
  .tb-mobile-app .job-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
  }
  .tb-mobile-app .job-card-company {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
  }
  .tb-mobile-app .job-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .tb-mobile-app .tag {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
  }
  .tb-mobile-app .tag-blue {
    background: #e3f2fd;
    color: #1565c0;
  }
  .tb-mobile-app .tag-green {
    background: #e8f5e9;
    color: #2e7d32;
  }
  .tb-mobile-app .tag-orange {
    background: #fff3e0;
    color: #e65100;
  }
  .tb-mobile-app .apply-btn {
    display: block;
    margin: 12px 12px 4px;
    background: #0d2b45;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 13px;
    font-weight: 600;
    width: calc(100% - 24px);
    cursor: pointer;
  }
  
  .tb-mobile-app .fab-wa {
    position: fixed;
    right: 14px;
    bottom: 70px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
    z-index: 95;
    cursor: pointer;
  }
  .tb-mobile-app .fab-wa i {
    font-size: 19px;
    display: inline-flex;
    align-items: center;
  }

  /* Redesigned moving cards, stats, and explore glows */
  .tb-mobile-app .moving-cards-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tb-mobile-app .moving-cards-container::-webkit-scrollbar {
    display: none;
  }
  .tb-mobile-app .moving-card {
    flex: 0 0 210px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
  }
  .tb-mobile-app .moving-card:active {
    transform: scale(0.97);
  }
  .tb-mobile-app .moving-card.featured-card {
    flex: 0 0 250px;
    background: radial-gradient(circle at 100% 100%, rgba(20, 184, 166, 0.15) 0%, rgba(255, 255, 255, 0.02) 80%), rgba(255, 255, 255, 0.03);
    border-color: rgba(20, 184, 166, 0.25);
  }
  .tb-mobile-app .moving-cards-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
    margin-bottom: 16px;
  }
  .tb-mobile-app .moving-cards-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
  }
  .tb-mobile-app .moving-cards-dots .dot.active {
    background: #14b8a6;
    width: 14px;
    border-radius: 3px;
  }
  .tb-mobile-app .welcome-stats-container {
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    margin-top: 4px;
  }
  .tb-mobile-app .welcome-stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .tb-mobile-app .stat-gauge-icon {
    color: #14b8a6;
    display: flex;
    align-items: center;
  }
  .tb-mobile-app .stat-info-text {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .tb-mobile-app .stat-label-text {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .tb-mobile-app .stat-value-text {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
  }

  
  body.is-dashboard .site-footer {
    display: none !important;
  }
}



/* -------------------------------------------------------
   MARKETPLACE UPGRADE v2.6 � Premium SaaS Styles
   ------------------------------------------------------- */

/* -- Marketplace Header ------------------------------ */
.mp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(20,184,166,0.08));
  border: 1px solid rgba(96,165,250,0.15);
  border-radius: 22px;
}

.mp-header-text h2 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 950;
}

.mp-header-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mp-header-stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.mp-stat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #dbeafe;
  background: rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 999px;
  white-space: nowrap;
}

.mp-stat-chip span {
  font-weight: 950;
  color: white;
}

.mp-stat-chip.accent {
  color: #bbf7d0;
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.2);
}

.mp-stat-chip.accent span {
  color: #4ade80;
}

/* -- Market Toolbar Override ------------------------ */
.market-toolbar {
  grid-template-columns: 1fr !important;
}

.mp-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-filters-row .select-lite {
  flex: 1 1 140px;
  min-width: 130px;
}

.select-lite {
  min-height: 42px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(5,8,22,0.52);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 200ms ease;
}

.select-lite:hover,
.select-lite:focus {
  border-color: rgba(96,165,250,0.35);
  color: var(--text);
  outline: none;
}

.search-box {
  transition: border-color 200ms ease;
}

.search-box:focus-within {
  border-color: rgba(96,165,250,0.45);
}

/* -- Task Grid Override ----------------------------- */
.task-grid {
  gap: 18px !important;
}

/* -- Task Card Override ----------------------------- */
.task-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.task-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 20px color-mix(in srgb, var(--g1), transparent 70%) !important;
}

.task-thumb {
  min-height: 150px !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.task-thumb-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.task-icon-chip {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(5, 8, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  backdrop-filter: blur(12px);
}

.task-badge {
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px) !important;
  background: rgba(5, 8, 22, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.task-badge.badge-hot {
  background: rgba(239,68,68,0.75) !important;
  color: #ffffff !important;
  border-color: rgba(239,68,68,0.5) !important;
  animation: pulse-hot 2s ease-in-out infinite;
}

.task-badge.badge-new {
  background: rgba(59,130,246,0.65) !important;
  color: #dbeafe !important;
  border-color: rgba(59,130,246,0.4) !important;
}

.task-badge.badge-discount {
  background: rgba(34,197,94,0.65) !important;
  color: #dcfce7 !important;
  border-color: rgba(34,197,94,0.4) !important;
}

@keyframes pulse-hot {
  0%, 100% { box-shadow: 0 0 4px rgba(239,68,68,0.3); }
  50% { box-shadow: 0 0 16px rgba(239,68,68,0.6); }
}

.task-reward-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 12px;
  background: rgba(5,8,22,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  color: #4ade80;
  font-size: 0.88rem;
}

.task-reward-chip strong {
  font-weight: 950;
  color: #ffffff;
}

.task-reward-chip svg {
  width: 16px;
  height: 16px;
}

/* -- Task Body Override ----------------------------- */
.task-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.task-meta span {
  font-size: 0.76rem !important;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4ade80 !important;
  font-size: 0.72rem !important;
  text-transform: none !important;
}

.verified-tag svg {
  width: 13px;
  height: 13px;
}

.task-card h3 {
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
}

.task-card p {
  min-height: 40px !important;
  font-size: 0.88rem !important;
}

.line-clamp-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -- Task Chips Row --------------------------------- */
.task-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.task-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.task-chip svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* -- Task Footer Override --------------------------- */
.task-foot {
  padding-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  gap: 10px !important;
  font-size: 0.78rem !important;
}

.task-foot svg {
  width: 13px;
  height: 13px;
}

/* -- Outline Success Button ------------------------- */
.btn-outline-success {
  color: #4ade80 !important;
  background: rgba(34,197,94,0.08) !important;
  border: 1px solid rgba(34,197,94,0.3) !important;
}

.btn-outline-success:hover {
  background: rgba(34,197,94,0.15) !important;
}

/* -- Responsive: Marketplace on mobile -------------- */
@media (max-width: 900px) {
  .mp-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .mp-header-stats {
    flex-wrap: wrap;
  }
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .task-grid {
    grid-template-columns: 1fr !important;
  }
  .mp-filters-row {
    flex-direction: column;
  }
  .mp-filters-row .select-lite {
    flex: 1 1 100%;
  }
}
