/* ============================================================
   XtraEarn — global styles
   ============================================================ */
:root {
  --navy-950: #060B16;
  --navy-900: #0A1120;
  --navy-850: #0D1526;
  --navy-800: #111B31;
  --navy-700: #1B2743;
  --green-400: #4ADE80;
  --green-500: #22C55E;
  --green-600: #16A34A;
  --green-soft: #DCFCE7;
  --ink: #0F172A;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .07);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .09);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.desk-only { display: inline; }

h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: .92rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 6px 16px rgba(22, 163, 74, .35); }
.btn-green:hover { background: var(--green-500); }
.btn-ghost-light { color: #fff; }
.btn-ghost-light:hover { color: var(--green-400); }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.35); color: #fff; padding: 8px 16px; }
.btn-outline-light:hover { border-color: var(--green-400); color: var(--green-400); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 22, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-x {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #4ADE80, #15803D);
  color: #fff; font-weight: 800; font-size: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .45);
  transform: rotate(-6deg);
}
.logo-text { color: #fff; font-size: 1.28rem; font-weight: 500; letter-spacing: -.02em; }
.logo-text b { color: var(--green-400); font-weight: 800; }
.main-nav { display: flex; gap: 26px; margin: 0 auto; }
.main-nav a { color: #CBD5E1; font-size: .92rem; font-weight: 600; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active { font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.main-nav + .header-right { margin-left: 0; }
.lang-switch { color: #CBD5E1; font-size: .88rem; font-weight: 600; }
.caret { font-size: .7rem; opacity: .7; }
.nav-toggle { display: none; color: #fff; font-size: 1.4rem; }

/* header auth area */
.header-auth { display: flex; align-items: center; gap: 12px; }
.user-menu { position: relative; }
.user-menu-btn { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .92rem; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; font-weight: 800; flex: none;
  border: 2px solid rgba(255, 255, 255, .25);
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none; flex-direction: column; z-index: 60;
}
.user-dropdown.open { display: flex; }
.user-dd-head { display: flex; flex-direction: column; padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-dd-head span { color: var(--muted); font-size: .8rem; }
.user-dropdown a, .user-dropdown button {
  text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .9rem; font-weight: 600;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--bg-soft); }
.user-dropdown button { color: #DC2626; width: 100%; }

/* ---------- hero ---------- */
.hero { background: var(--navy-950); color: #fff; overflow: hidden; position: relative; }
.hero-x-shape {
  position: absolute; right: -6%; top: -12%; width: 780px; height: 780px; z-index: 0;
  background: linear-gradient(135deg, rgba(34,197,94,.28), rgba(22,163,74,.05) 60%, transparent);
  clip-path: polygon(20% 0, 50% 42%, 80% 0, 100% 18%, 62% 62%, 100% 100%, 72% 100%, 50% 68%, 28% 100%, 0 100%, 38% 62%, 0 18%);
  filter: blur(2px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px;
  padding: 64px 0 84px; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: rgba(34, 197, 94, .12); border: 1px solid rgba(74, 222, 128, .35);
  color: var(--green-400); font-size: .82rem; font-weight: 700; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--green-400); }
.hero-sub { color: #94A3B8; margin: 18px 0 26px; font-size: 1.02rem; }

/* action cards */
.action-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.action-card {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px; padding: 12px; color: #fff; transition: border-color .15s, background .15s;
}
.action-card:hover { border-color: rgba(74, 222, 128, .5); background: rgba(255, 255, 255, .08); }
.ac-icon {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1rem; flex: none;
}
.ac-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ac-text b { font-size: .72rem; letter-spacing: .04em; }
.ac-text small { color: #94A3B8; font-size: .78rem; }
.ac-arrow {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%; color: #fff;
  font-size: .7rem; display: inline-flex; align-items: center; justify-content: center; flex: none;
}

/* hero search */
.hero-search {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px;
  padding: 8px 8px 8px 14px; box-shadow: var(--shadow-lg);
}
.hero-search .hs-icon { color: var(--muted); }
.hero-search input[type=text] { flex: 1; border: none; outline: none; font: inherit; font-size: .92rem; min-width: 120px; color: var(--ink); }
.hero-search select {
  border: none; border-left: 1px solid var(--line); padding: 8px 10px; font: inherit;
  font-size: .86rem; color: var(--ink); background: #fff; outline: none; max-width: 150px; cursor: pointer;
}
.hero-search .btn { border-radius: 9px; }

/* time chips */
.time-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tc-label { color: #94A3B8; font-size: .85rem; font-weight: 600; margin-right: 2px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
}
.chip-time { background: rgba(255, 255, 255, .07); color: #E2E8F0; border: 1px solid rgba(255, 255, 255, .12); }
.chip-time:hover { border-color: var(--green-400); color: var(--green-400); }
.popular-now { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.popular-now a { color: #CBD5E1; font-size: .84rem; font-weight: 600; }
.popular-now a:hover { color: var(--green-400); }

/* hero visual */
.hero-visual { position: relative; height: 520px; }
.phone {
  position: absolute; left: 50%; top: 44px; transform: translateX(-50%);
  width: 250px; height: 440px; background: #0D1526; border: 6px solid #1B2743;
  border-radius: 34px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 2;
}
.phone-notch { width: 90px; height: 18px; background: #1B2743; border-radius: 0 0 12px 12px; margin: 0 auto; }
.phone-screen { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-greet { font-size: .8rem; color: #94A3B8; line-height: 1.4; }
.phone-greet b { color: #fff; font-size: .92rem; }
.phone-task {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 8px; font-size: .72rem; color: #E2E8F0;
}
.phone-task span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.phone-task small { color: #64748B; font-size: .62rem; }
.phone-task b { color: var(--green-400); font-size: .74rem; }
.pt-emoji { width: 26px; height: 26px; background: rgba(34,197,94,.15); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; flex: none; }
.phone-cash {
  margin-top: auto; text-align: center; font-size: .72rem; font-weight: 700;
  background: var(--green-600); border-radius: 10px; padding: 9px;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 13px;
  box-shadow: var(--shadow-lg); z-index: 3; font-size: .78rem; animation: floaty 5s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .66rem; }
.float-card b { font-size: .78rem; }
.fc-icon { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex: none; }
.fc-price { font-weight: 800; color: var(--ink); margin-left: 4px; }
.fc-1 { top: 10px; left: -6%; }
.fc-2 { top: 88px; right: -8%; animation-delay: .8s; }
.fc-3 { top: 200px; left: -12%; animation-delay: 1.6s; }
.fc-4 { top: 280px; right: -10%; animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-visual .earnings-card {
  position: absolute; bottom: 118px; right: -4%; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  background: rgba(13, 21, 38, .92); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.hero-visual .earnings-card small { color: #94A3B8; font-size: .68rem; display: block; }
.hero-visual .earnings-card b { font-size: 1.25rem; letter-spacing: -.02em; }
.hero-visual .earnings-card span:not(.ec-chart) { color: var(--green-400); font-size: .68rem; }
.ec-chart { font-size: 1.3rem; }
.trust-bar {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(13, 21, 38, .92); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px; padding: 9px 18px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); white-space: nowrap;
}
.avatars-stack { display: flex; }
.avatars-stack span {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .58rem; font-weight: 800; color: #fff; margin-left: -8px;
}
.avatars-stack span:first-child { margin-left: 0; }
.tb-text { display: flex; flex-direction: column; line-height: 1.25; }
.tb-text b { font-size: .82rem; }
.tb-stars { color: #FBBF24; font-size: .7rem; letter-spacing: 1px; display: inline; }
.tb-text small { color: #94A3B8; font-size: .66rem; }

/* ---------- sections ---------- */
.section { padding: 64px 0 24px; }
.section.no-top { padding-top: 40px; }
.section-soft { background: var(--bg-soft); border-radius: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; gap: 12px; }
.see-all { color: var(--green-600); font-weight: 700; font-size: .9rem; }
.see-all:hover { color: var(--green-500); }
.section > .container > h2 { margin-bottom: 26px; }

/* ---------- Modern Category Showcase Section ---------- */
.cat-showcase-section {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
}
.cat-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.section-subtitle {
  color: #64748B;
  font-size: 0.96rem;
  margin-top: 4px;
}
.cat-nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  user-select: none;
}
.cat-carousel-btn:hover:not(:disabled) {
  background: var(--green-600);
  color: #FFFFFF;
  border-color: var(--green-600);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}
.cat-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.see-all-desktop {
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.see-all-desktop:hover {
  background: var(--green-soft);
  color: var(--green-700);
  border-color: var(--green-500);
  transform: translateX(3px);
}
.cat-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cat-segment-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-seg-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.cat-seg-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.6);
}
.cat-seg-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.cat-seg-btn .seg-pill {
  background: #E2E8F0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
}
.cat-seg-btn.active .seg-pill {
  background: #DCFCE7;
  color: #15803D;
}
.cat-home-search-wrap {
  position: relative;
  min-width: 280px;
  flex: 1;
  max-width: 420px;
}
.cat-home-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  font-size: 0.88rem;
  outline: none;
  background: #FFFFFF;
  transition: all 0.2s ease;
}
.cat-home-search-input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}
.cat-search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Single Row Carousel Track */
.cat-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 2px 10px;
}
.cat-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Category Multi-Column Grid & Pills Presentation Modes */
.cat-carousel-track.cat-layout-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 16px !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  padding: 8px 0 !important;
}

.cat-carousel-track.cat-layout-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  padding: 8px 0 !important;
}

@media (max-width: 1400px) {
  .cat-carousel-track.cat-layout-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 992px) {
  .cat-carousel-track.cat-layout-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 640px) {
  .cat-carousel-track.cat-layout-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Individual Category Card inside Carousel (Exactly 6 per row on desktop) */
.cat-card-lux {
  position: relative;
  scroll-snap-align: start;
  flex: 0 0 calc((100% - (5 * 14px)) / 6);
  max-width: calc((100% - (5 * 14px)) / 6);
  min-width: calc((100% - (5 * 14px)) / 6);
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 154px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}
.cat-card-lux::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--card-color, #10B981);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cat-card-lux:hover {
  transform: translateY(-5px);
  border-color: var(--card-color, #10B981);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08), 0 0 16px -4px var(--card-color-glow, rgba(16, 185, 129, 0.2));
}
.cat-card-lux:hover::before {
  opacity: 1;
}
.cat-lux-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.cat-lux-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  background: var(--icon-bg, #F0FDF4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.cat-card-lux:hover .cat-lux-icon {
  transform: scale(1.1) rotate(4deg);
}
.cat-lux-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cat-lux-badge.online {
  background: #DBEAFE;
  color: #1D4ED8;
}
.cat-lux-badge.physical {
  background: #FFEDD5;
  color: #C2410C;
}
.cat-lux-badge.both {
  background: #F3E8FF;
  color: #7E22CE;
}
.cat-lux-body {
  flex: 1;
}
.cat-lux-body b {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-lux-body p {
  font-size: 0.74rem;
  color: #64748B;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-lux-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}
.cat-task-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
}
.cat-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s ease;
}
.cat-card-lux:hover .cat-arrow {
  background: var(--card-color, #10B981);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Carousel Indicators (Dots) */
.cat-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.cat-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.cat-carousel-dot.active {
  width: 24px;
  background: var(--green-600);
}

/* Responsive carousel column counts */
@media (max-width: 1400px) {
  .cat-card-lux {
    flex: 0 0 calc((100% - (4 * 14px)) / 5);
    max-width: calc((100% - (4 * 14px)) / 5);
    min-width: calc((100% - (4 * 14px)) / 5);
  }
}
@media (max-width: 1100px) {
  .cat-card-lux {
    flex: 0 0 calc((100% - (3 * 14px)) / 4);
    max-width: calc((100% - (3 * 14px)) / 4);
    min-width: calc((100% - (3 * 14px)) / 4);
  }
}
@media (max-width: 768px) {
  .cat-card-lux {
    flex: 0 0 calc((100% - (1 * 12px)) / 2.2);
    max-width: calc((100% - (1 * 12px)) / 2.2);
    min-width: calc((100% - (1 * 12px)) / 2.2);
  }
  .see-all-desktop { display: none; }
}
@media (max-width: 480px) {
  .cat-card-lux {
    flex: 0 0 85%;
    max-width: 85%;
    min-width: 85%;
  }
}

/* how it works */
.how-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 34px 18px 22px; text-align: center;
}
.step-num {
  position: absolute; top: 12px; left: 14px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step:nth-child(2) .step-num { background: #2563EB; }
.step:nth-child(3) .step-num { background: #8B5CF6; }
.step:nth-child(4) .step-num { background: var(--green-600); }
.step-icon { font-size: 2.1rem; display: block; margin-bottom: 12px; }
.step h3 { font-size: .95rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .8rem; }
.why-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ECFDF5, #D1FAE5);
  border: 1px solid #A7F3D0; border-radius: 20px; padding: 26px;
}
.why-panel h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }
.why-panel ul { list-style: none; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.why-panel li { display: flex; gap: 10px; font-size: .88rem; align-items: flex-start; }
.ck {
  width: 20px; height: 20px; border-radius: 50%; background: var(--green-600); color: #fff;
  font-size: .65rem; display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 2px;
}
.money-bag { font-size: 1.8rem; text-align: right; margin-top: 8px; position: relative; z-index: 0; }
.money-bag .bag { font-size: 5rem; display: inline-block; filter: drop-shadow(0 10px 14px rgba(22, 163, 74, .35)); }

/* featured tasks */
.feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.task-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s;
}
.task-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.task-thumb {
  position: relative; height: 120px; display: flex; align-items: center; justify-content: center;
}
.task-thumb-emoji { font-size: 3rem; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }
.task-thumb-dur {
  position: absolute; bottom: 8px; left: 8px; background: rgba(2, 6, 23, .55); color: #fff;
  font-size: .66rem; font-weight: 700; border-radius: 999px; padding: 3px 9px; backdrop-filter: blur(4px);
}
.task-card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.chip-cat {
  align-self: flex-start; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--muted); font-size: .68rem; padding: 3px 10px;
}
.task-title { font-size: .92rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.task-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.task-dur { color: var(--muted); font-size: .76rem; font-weight: 600; }
.task-budget { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.stars { color: #F59E0B; font-size: .78rem; letter-spacing: 1px; font-weight: 700; }
.stars-off { color: #E2E8F0; }
.stars-count { color: var(--muted); font-weight: 600; letter-spacing: 0; }
.stars-sm { font-size: .72rem; }

/* trust badges */
.badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; box-shadow: var(--shadow-sm);
}
.badge { display: flex; align-items: center; gap: 12px; padding: 6px 10px; }
.badge-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }
.badge b { font-size: .88rem; display: block; }
.badge small { color: var(--muted); font-size: .76rem; }

/* top earners */
.earner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.earner-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px; transition: transform .16s, box-shadow .16s; position: relative;
}
.earner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.earner-head { display: flex; align-items: center; gap: 12px; }
.earner-head .avatar { border: none; }
.verified-tick { position: absolute; font-size: .9rem; }
.earner-name { font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 5px; }
.earner-role { color: var(--muted); font-size: .74rem; }
.earner-amount { font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.medal { font-size: 1rem; }
.earner-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .74rem; border-top: 1px solid var(--line); padding-top: 10px; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.testi-card blockquote { font-size: .88rem; color: #334155; line-height: 1.6; flex: 1; }
.testi-user { display: flex; align-items: center; gap: 11px; }
.testi-user .avatar { border: none; width: 40px !important; height: 40px !important; }
.testi-user b { font-size: .86rem; display: block; line-height: 1.2; }
.testi-user small { color: var(--muted); font-size: .72rem; }
.testi-stars { color: #F59E0B; font-size: .74rem; letter-spacing: 2px; }
.dots { display: flex; gap: 7px; justify-content: center; margin-top: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; }
.dot.active { background: var(--green-500); }

/* CTA */
.cta-banner {
  background: radial-gradient(120% 200% at 10% 0%, rgba(34,197,94,.25), transparent 50%), var(--navy-900);
  border-radius: 24px; padding: 46px 48px; display: flex; align-items: center; gap: 24px;
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-text { flex: 1; }
.cta-text h2 { margin-bottom: 8px; }
.cta-text p { color: #94A3B8; }
.cta-actions { display: flex; gap: 12px; }
.cta-coins { font-size: 2.2rem; display: flex; }
.cta-coins span { font-size: 1.5rem; margin: 18px 0 0 6px; opacity: .85; }

/* footer */
.site-footer { background: var(--navy-950); color: #94A3B8; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1.2fr; gap: 28px; padding: 54px 0 34px; }
.f-brand p { font-size: .86rem; margin: 14px 0 18px; max-width: 240px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center;
  color: #CBD5E1; font-size: .85rem; font-weight: 700; transition: background .15s, color .15s;
}
.socials a:hover { background: var(--green-600); color: #fff; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 { color: #fff; font-size: .92rem; margin-bottom: 6px; }
.f-col a { font-size: .86rem; }
.f-col a:hover { color: var(--green-400); }
.store-badge {
  display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 8px 14px; width: fit-content; color: #fff; transition: border-color .15s;
}
.store-badge:hover { border-color: var(--green-400); }
.store-badge small { display: block; font-size: .6rem; color: #94A3B8; }
.store-badge b { font-size: .88rem; }
.store-badge span.apple::before { content: ''; width: 18px; height: 20px; background: #fff; display: inline-block;
  clip-path: path('M13.1 5.6c.9-1.1 1.5-2.6 1.3-4.1-1.3.1-2.9.9-3.8 2-.8 1-1.6 2.5-1.4 4 1.5.1 3-.8 3.9-1.9zm3.5 9.9c-.7 1.6 0 3.6 1.6 4.4-.7 1.6-1.6 3.2-2.9 3.2-1.2 0-1.6-.8-3-.8s-1.9.8-3 .8c-1.3 0-2.3-1.5-3-3-1.6-3.3-1.8-7.2-.8-9.2.7-1.4 2-2.3 3.4-2.3 1.3 0 2.1.8 3.2.8 1.1 0 1.7-.8 3.2-.8 1.2 0 2.4.7 3.2 1.7-2.8 1.5-2.3 5.2-.9 5.2z');
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0 26px; font-size: .82rem;
}
.fb-right { display: flex; gap: 16px; }
.lang-switch.dark { color: #94A3B8; font-weight: 600; }

/* ---------- modals ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(2, 6, 23, .7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; padding: 28px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); position: relative; max-height: 92vh; overflow: auto;
  animation: pop .18s ease;
}
.modal-wide { max-width: 560px; }
@keyframes pop { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-x { position: absolute; top: 14px; right: 14px; color: var(--muted); font-size: 1rem; padding: 6px; border-radius: 8px; }
.modal-x:hover { background: var(--bg-soft); color: var(--ink); }
.modal-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; }
.modal-brand .logo-x { width: 28px; height: 28px; font-size: 1rem; }
.modal-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.modal-sub { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.auth-tab { padding: 9px; border-radius: 8px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.auth-tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.demo-hint { background: var(--green-soft); border: 1px solid #BBF7D0; color: #166534; border-radius: 8px; padding: 8px 12px; font-size: .78rem; margin-bottom: 14px; }
.demo-hint code { font-weight: 700; }
form label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 700; margin-bottom: 14px; color: #334155; }
form label small { font-weight: 500; color: var(--muted); }
form input, form select, form textarea {
  font: inherit; font-size: .92rem; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 10px; outline: none; transition: border-color .15s; background: #fff; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--green-500); }
form textarea { resize: vertical; }
.auth-swap { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 6px; }
.auth-swap a { color: var(--green-600); font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-row .grow { grid-column: span 1; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 80px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 12px;
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; transition: all .3s ease; z-index: 10000000 !important; max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast-error { background: #B91C1C; }
.toast-info { background: #1D4ED8; }

/* ---------- tasks page ---------- */
.page-head { background: var(--navy-950); color: #fff; padding: 44px 0 36px; }
.page-head h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.page-head p { color: #94A3B8; margin-top: 6px; }
.tasks-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 34px 0 60px; }
.filters { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; align-self: start; }
.filter-group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list a {
  padding: 8px 12px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: #334155;
  display: flex; justify-content: space-between; align-items: center;
}
.filter-list a:hover { background: var(--bg-soft); }
.filter-list a.active { background: var(--green-soft); color: #166534; }
.filter-list a small { color: var(--muted); font-weight: 500; }

/* Distinctive Category & Filter Cards for Tasks Sidebar */
.filter-card-online {
  background: #F0F7FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}
.filter-card-online h4 {
  color: #1D4ED8 !important;
  font-weight: 700;
}
.filter-card-online input {
  border: 1.5px solid #93C5FD !important;
  background: #FFFFFF !important;
}
.filter-card-online input:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}
.filter-card-online .filter-list a:hover {
  background: #DBEAFE !important;
}
.filter-card-online .filter-list a.active {
  background: #2563EB !important;
  color: #FFFFFF !important;
}
.filter-card-online .filter-list a.active small {
  color: #EFF6FF !important;
}

.filter-card-physical {
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.06);
}
.filter-card-physical h4 {
  color: #C2410C !important;
  font-weight: 700;
}
.filter-card-physical input {
  border: 1.5px solid #FDBA74 !important;
  background: #FFFFFF !important;
}
.filter-card-physical input:focus {
  border-color: #EA580C !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15) !important;
}
.filter-card-physical .filter-list a:hover {
  background: #FFEDD5 !important;
}
.filter-card-physical .filter-list a.active {
  background: #EA580C !important;
  color: #FFFFFF !important;
}
.filter-card-physical .filter-list a.active small {
  color: #FFF7ED !important;
}

.filter-card-subcats {
  background: #FAF5FF;
  border: 1.5px solid #E9D5FF;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.06);
}
.filter-card-subcats h4 {
  color: #7E22CE !important;
  font-weight: 700;
}
.filter-card-subcats .filter-list a:hover {
  background: #F3E8FF !important;
}
.filter-card-subcats .filter-list a.active {
  background: #9333EA !important;
  color: #FFFFFF !important;
}

.filter-card-location {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06);
}
.filter-card-location h4 {
  color: #15803D !important;
  font-weight: 700;
}
.filter-card-location select {
  border: 1.5px solid #86EFAC !important;
}

.filter-card-quick {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.tasks-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.tasks-count { color: var(--muted); font-size: .9rem; }
.tasks-toolbar select {
  font: inherit; font-size: .88rem; padding: 9px 12px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; outline: none;
}
.tasks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.empty-state {
  grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--muted);
  background: var(--bg-soft); border-radius: 16px; border: 1px dashed var(--line);
}
.empty-state .big { font-size: 2.6rem; display: block; margin-bottom: 10px; }

/* ---------- task detail ---------- */
.task-detail { display: grid; grid-template-columns: 1fr 340px; gap: 26px; padding: 34px 0 60px; }
.td-main { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.td-main .task-thumb { height: 200px; border-radius: 14px; margin-bottom: 20px; }
.td-main .task-thumb-emoji { font-size: 4.5rem; }
.td-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.td-desc { color: #334155; margin: 16px 0; line-height: 1.7; white-space: pre-line; }
.td-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.td-tags .chip { background: var(--bg-soft); border: 1px solid var(--line); color: #334155; font-size: .74rem; }
.td-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.info-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.info-row:last-child { border-bottom: none; }
.info-row span { color: var(--muted); }
.info-row b { text-align: right; }
.applicant { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .88rem; }
.applicant .avatar { width: 32px !important; height: 32px !important; border: none; font-size: .68rem !important; }
.applicant small { color: var(--muted); display: block; }
.app-status { color: var(--muted); font-size: .74rem; white-space: nowrap; }
.app-actions { display: flex; gap: 6px; }
.btn-accept, .btn-reject {
  padding: 5px 11px; border-radius: 8px; font-size: .74rem; font-weight: 700;
  border: 1.5px solid var(--line); color: #334155; transition: all .15s;
}
.btn-accept { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.btn-accept:hover { background: var(--green-500); }
.btn-reject:hover { border-color: #DC2626; color: #DC2626; }
.breadcrumb { font-size: .84rem; color: var(--muted); padding-top: 22px; }
.breadcrumb a { color: var(--green-600); font-weight: 600; }
.applied-note { background: var(--green-soft); border: 1px solid #BBF7D0; color: #166534; border-radius: 10px; padding: 11px 14px; font-size: .86rem; font-weight: 700; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .feat-grid, .earner-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy-950); padding: 18px 5%; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .tasks-layout { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .task-detail { grid-template-columns: 1fr; }
}
/* ---------- physical / on-site ---------- */
.section-sub { color: var(--muted); font-size: .95rem; max-width: 640px; margin-top: 6px; }
.physical-grid { margin-bottom: 18px; }
.thumb-badge {
  position: absolute; font-size: .64rem; font-weight: 800; border-radius: 999px;
  padding: 3px 8px; backdrop-filter: blur(4px); top: 8px; right: 8px;
}
.tb-physical { background: rgba(21, 128, 61, .85); color: #fff; }
.tb-urgent { background: rgba(220, 38, 38, .88); color: #fff; top: 34px; }
.task-loc { color: var(--muted); font-size: .74rem; font-weight: 600; }
.chip-physical { background: #DCFCE7; border: 1px solid #A7F3D0; color: #166534; margin-left: 6px; }
.chip-urgent { background: #FEE2E2; border: 1px solid #FECACA; color: #991B1B; margin-left: 6px; }
.location-banner {
  display: flex; flex-direction: column; gap: 2px; background: var(--green-soft);
  border: 1px solid #A7F3D0; border-radius: 12px; padding: 12px 16px; margin: 14px 0;
}
.location-banner b { color: #166534; font-size: .8rem; }
.location-banner span { font-weight: 700; }
.location-banner small { color: #15803D; }
.physical-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--navy-900); color: #fff; border-radius: 20px; padding: 26px 30px;
}
.physical-cta p { color: #94A3B8; font-size: .9rem; margin-top: 4px; max-width: 560px; }
.physical-cta-actions { display: flex; gap: 12px; flex: none; }
.btn-outline { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: var(--green-400); color: var(--green-400); }

/* ---------- verified experts ---------- */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expert-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  transition: transform .16s, box-shadow .16s;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.expert-card b { font-size: .95rem; }
.expert-card small { color: var(--muted); font-size: .76rem; }
.vbadge {
  display: inline-block; background: #DBEAFE; border: 1px solid #BFDBFE; color: #1D4ED8;
  font-size: .66rem; font-weight: 800; border-radius: 999px; padding: 2px 9px;
}
.vbadge.big { font-size: .74rem; margin-left: 8px; vertical-align: middle; }

/* ---------- task workspace ---------- */
.workspace { margin-top: 26px; border-top: 2px dashed var(--line); padding-top: 22px; }
.ws-title { font-size: 1.05rem; margin-bottom: 16px; }
.delivery {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 14px;
}
.delivery.approved { background: #F0FDF4; border-color: #BBF7D0; }
.delivery.rejected { background: #FEF2F2; border-color: #FECACA; }
.delivery-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.delivery-head .avatar { width: 28px !important; height: 28px !important; border: none; font-size: .6rem !important; }
.delivery-status { font-size: .76rem; font-weight: 800; margin-left: auto; }
.delivery-note { color: #334155; font-size: .9rem; margin-top: 10px; }
.delivery-file {
  display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 700;
  color: var(--green-600); background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px; margin-right: 8px;
}
.delivery-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-sm { padding: 8px 16px; font-size: .84rem; }
.btn-reject2 { border: 1.5px solid var(--line); color: #B91C1C; background: #fff; }
.btn-reject2:hover { border-color: #DC2626; }

.submit-card, .chat-card, .review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px;
}
.submit-card h3, .chat-card h3, .review-card h3 { margin-bottom: 14px; font-size: 1rem; }

.chat-log {
  display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow-y: auto;
  padding: 4px 2px; margin-bottom: 14px;
}
.chat-msg { display: flex; flex-direction: column; gap: 1px; }
.chat-msg b { font-size: .74rem; color: var(--green-600); }
.chat-msg span {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px;
  padding: 8px 13px; font-size: .88rem; max-width: 75%; width: fit-content;
}
.chat-msg.mine { align-items: flex-end; }
.chat-msg.mine span { background: var(--green-600); border-color: var(--green-600); color: #fff; border-radius: 12px 12px 4px 12px; }
.chat-msg small { color: var(--muted); font-size: .64rem; }
.chat-empty { color: var(--muted); font-size: .88rem; text-align: center; padding: 12px; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font: inherit; outline: none; }
.chat-form input:focus { border-color: var(--green-500); }

.star-picker { display: flex; gap: 4px; margin-bottom: 12px; }
.star-btn { font-size: 1.6rem; color: #E2E8F0; transition: color .1s, transform .1s; }
.star-btn:hover { transform: scale(1.15); }
.star-btn.on { color: #F59E0B; }
.review-done { font-size: 1.1rem; color: #F59E0B; }
.review-done p { color: #334155; font-size: .9rem; margin-top: 6px; }
.app-link { color: inherit; }
.app-link:hover { color: var(--green-600); }

/* ---------- wallet ---------- */
.wallet-layout { padding: 36px 0 60px; }
.wallet-grid { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.balance-card {
  background: radial-gradient(120% 200% at 0% 0%, rgba(34,197,94,.3), transparent 55%), var(--navy-900);
  color: #fff; border-radius: 20px; padding: 28px; position: sticky; top: 90px;
}
.balance-card small { color: #94A3B8; font-size: .8rem; }
.balance-card b { display: block; font-size: 2.4rem; letter-spacing: -.03em; margin: 6px 0 18px; }
.balance-actions { display: flex; gap: 10px; }
.balance-note { color: #94A3B8; font-size: .76rem; margin-top: 18px; line-height: 1.6; }
.tx-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.tx-card h3 { margin-bottom: 8px; }
.tx-list { display: flex; flex-direction: column; }
.tx-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.tx-row:last-child { border-bottom: none; }
.tx-icon { width: 38px; height: 38px; background: var(--bg-soft); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none; }
.tx-info { flex: 1; min-width: 0; }
.tx-info b { font-size: .88rem; display: block; }
.tx-info small { color: var(--muted); font-size: .74rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-date { margin-top: 1px; }
.tx-amount { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.tx-in .tx-amount { color: var(--green-600); }
.tx-out .tx-amount { color: #B91C1C; }

/* ---------- profile ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 20px; }
.profile-head { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.profile-head h1 { font-size: 1.4rem; letter-spacing: -.02em; }
.profile-sub { color: var(--muted); font-size: .88rem; margin: 4px 0 8px; }
.level-chip {
  margin-left: auto; background: #FEF3C7; border: 1px solid #FDE68A; color: #92400E;
  font-weight: 800; font-size: .8rem; border-radius: 999px; padding: 6px 14px; white-space: nowrap;
}
.avail-chip { font-size: .74rem; font-weight: 800; border-radius: 999px; padding: 3px 11px; display: inline-block; }
.avail-green { background: #DCFCE7; color: #166534; }
.avail-yellow { background: #FEF3C7; color: #92400E; }
.avail-red { background: #FEE2E2; color: #991B1B; }
.profile-bio { color: #334155; margin: 16px 0; font-size: .95rem; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip-badge { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1D4ED8; font-size: .72rem; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.profile-stats div { text-align: center; }
.profile-stats b { display: block; font-size: 1.15rem; }
.profile-stats small { color: var(--muted); font-size: .72rem; }
.skills-row h4 { font-size: .78rem; color: var(--muted); margin: 14px 0 8px; }
.skills-row .chip { margin: 0 6px 6px 0; }
.chip-skill { background: var(--green-soft); border: 1px solid #A7F3D0; color: #166534; font-size: .74rem; }
.profile-review { border-top: 1px solid var(--line); padding: 14px 0; }
.profile-review:first-of-type { border-top: none; }
.profile-review p { color: #334155; font-size: .9rem; margin-top: 6px; }

.check-label { flex-direction: row !important; align-items: center; gap: 10px !important; }
.pt-type-switch { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.pt-type-btn { padding: 10px; border-radius: 8px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.pt-type-btn.active { background: #fff; color: var(--green-600); box-shadow: var(--shadow-sm); }
.grow2 { grid-column: span 2; }

/* ---------- admin dashboard ---------- */
.admin-layout { padding: 32px 0 60px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.admin-stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s ease;
}
.admin-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.admin-stat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.admin-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.admin-stat-label { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.admin-stat-num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 6px; }
.admin-stat-sub { color: var(--muted); font-size: .78rem; display: flex; gap: 8px; flex-wrap: wrap; }
.admin-stat-sub span { display: inline-flex; align-items: center; gap: 3px; }

.admin-nav-tabs {
  display: flex; gap: 8px; border-bottom: 2px solid var(--line); margin-bottom: 24px; overflow-x: auto;
}
.admin-tab {
  padding: 12px 20px; font-weight: 700; font-size: .95rem; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color .15s, border-color .15s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.admin-tab:hover { color: var(--ink); }
.admin-tab.active { color: var(--green-600); border-bottom-color: var(--green-600); }

.admin-panel-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm);
}
.admin-toolbar {
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px;
}
.admin-search-box {
  position: relative; flex: 1; min-width: 240px; max-width: 400px;
}
.admin-search-box input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 14px 9px 36px;
  font: inherit; font-size: .88rem; outline: none; background: var(--bg-soft);
}
.admin-search-box input:focus { border-color: var(--green-500); background: #fff; }
.admin-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.admin-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .86rem;
  background: #fff; color: var(--ink); outline: none;
}

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
.admin-table th {
  background: var(--bg-soft); padding: 12px 14px; font-weight: 700; color: var(--muted);
  border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: .74rem; letter-spacing: .04em;
}
.admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(248, 250, 252, .75); }

.admin-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
}
.badge-admin { background: #EEF2FF; color: #4F46E5; border: 1px solid #C7D2FE; }
.badge-freelancer { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.badge-client { background: #E0F2FE; color: #0369A1; border: 1px solid #BAE6FD; }
.badge-status-open { background: #DCFCE7; color: #166534; }
.badge-status-in_progress { background: #FEF3C7; color: #92400E; }
.badge-status-delivered { background: #FFEDD5; color: #C2410C; }
.badge-status-completed { background: #E0E7FF; color: #4338CA; }
.badge-status-cancelled { background: #FEE2E2; color: #991B1B; }

.btn-xs { padding: 5px 10px; font-size: .78rem; border-radius: 6px; }
.btn-outline-dark { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline-dark:hover { background: var(--bg-soft); border-color: var(--muted-2); }
.btn-danger-light { background: #FEE2E2; color: #991B1B; }
.btn-danger-light:hover { background: #FCA5A5; }
.admin-actions-cell { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .wallet-grid, .profile-grid { grid-template-columns: 1fr; }
  .balance-card { position: static; }
  .expert-grid { grid-template-columns: 1fr 1fr; }
  .physical-cta { flex-direction: column; text-align: center; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .action-cards { grid-template-columns: 1fr; }
  .feat-grid, .earner-grid, .tasks-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-wrap: wrap; }
  .hero-search select { border-left: none; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 22px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .desk-only { display: none; }
  .user-name, .caret { display: none; }
  .btn-post { display: none; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .physical-cta-actions { flex-direction: column; width: 100%; }
}

/* ==========================================================================
   ENTERPRISE DARK-MODE ADMIN DASHBOARD STYLES (MATCHING SCREENSHOT)
   ========================================================================== */
.admin-body {
  background: #0B0F19;
  color: #E2E8F0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* ---------- Topbar ---------- */
.adm-topbar {
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 120;
}
.adm-topbar-left { display: flex; align-items: center; gap: 16px; width: 240px; }
.adm-icon-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .15s;
}
.adm-icon-btn:hover { background: rgba(255,255,255,0.06); color: #fff; }
.adm-badge-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #EF4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
}
.adm-logo .logo-x { width: 28px; height: 28px; font-size: 1.05rem; }
.adm-logo .logo-text { font-size: 1.18rem; }

.adm-topbar-center { flex: 1; max-width: 480px; margin: 0 20px; }
.adm-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0 12px;
}
.adm-search-icon { color: #64748B; font-size: 0.88rem; margin-right: 8px; }
.adm-search-wrap input {
  background: transparent;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  padding: 9px 0;
  width: 100%;
  outline: none;
}
.adm-kbd {
  background: #0F172A;
  color: #94A3B8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.08);
}

.adm-topbar-right { display: flex; align-items: center; gap: 14px; }
.adm-top-btn {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  color: #CBD5E1;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .15s;
}
.adm-top-btn:hover { background: #334155; color: #fff; }
.adm-btn-create {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  border: none;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: all .15s;
}
.adm-btn-create:hover { opacity: 0.92; transform: translateY(-1px); }

.adm-dropdown-wrap { position: relative; }
.adm-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  z-index: 130;
}
.adm-dropdown-menu.open { display: flex; }
.adm-dropdown-menu a {
  padding: 8px 12px;
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 7px;
  display: block;
}
.adm-dropdown-menu a:hover { background: #334155; color: #fff; }

.adm-topbar-icons { display: flex; align-items: center; gap: 4px; }
.adm-user-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  cursor: pointer;
}
.adm-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm-avatar-circle.small { width: 28px; height: 28px; font-size: 0.72rem; }
.adm-user-info { display: flex; flex-direction: column; line-height: 1.1; }
.adm-user-info b { font-size: 0.84rem; color: #fff; }
.adm-user-info small { font-size: 0.7rem; color: #94A3B8; }

/* ---------- Layout: Sidebar + Main Content ---------- */
.adm-layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  min-height: calc(100vh - 64px);
  width: 100%;
  position: relative;
}

/* ---------- Sidebar ---------- */
.adm-sidebar {
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
  flex: 0 0 260px !important;
  background: #0F172A;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0 !important;
  box-sizing: border-box;
}
.adm-balance-card {
  background: linear-gradient(145deg, #1E1B4B, #111827);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  padding: 16px;
}
.adm-balance-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: #94A3B8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.adm-link-icon { color: #818CF8; font-size: 0.9rem; }
.adm-balance-val { font-size: 1.55rem; font-weight: 800; color: #fff; margin: 6px 0; letter-spacing: -0.02em; }
.adm-balance-growth { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: #34D399; font-weight: 700; }

.adm-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Sidebar Nav Accordion / Dropdown Menus */
.adm-nav-group {
  margin-bottom: 2px;
}
.adm-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  color: #CBD5E1;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all .15s ease;
  border: 1px solid transparent;
}
.adm-nav-parent:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.05);
}
.adm-nav-group.open > .adm-nav-parent {
  background: rgba(99, 102, 241, 0.12);
  color: #A5B4FC;
  border-color: rgba(99, 102, 241, 0.25);
}
.adm-nav-parent-left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.adm-nav-parent-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.adm-nav-chevron {
  font-size: 0.8rem;
  transition: transform .22s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748B;
  display: inline-block;
}
.adm-nav-group.open .adm-nav-chevron {
  transform: rotate(180deg);
  color: #A5B4FC;
}
.adm-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  position: relative;
}
.adm-sub-menu::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.adm-nav-group.open .adm-sub-menu {
  max-height: 800px;
  padding-top: 4px;
  padding-bottom: 6px;
}
.adm-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px 7px 16px;
  border-radius: 8px;
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
  position: relative;
}
.adm-sub-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding-left: 20px;
}
.adm-sub-item.active {
  background: #4F46E5;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}
.adm-sub-item .sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #64748B;
  display: inline-block;
  margin-right: 6px;
  transition: all .15s;
}
.adm-sub-item:hover .sub-dot {
  background: #38BDF8;
}
.adm-sub-item.active .sub-dot {
  background: #fff;
  box-shadow: 0 0 6px #fff;
}

.adm-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #94A3B8;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all .15s;
}
.adm-nav-item:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.adm-nav-item.active { background: #4F46E5; color: #fff; font-weight: 700; }
.adm-nav-icon { font-size: 1.1rem; width: 22px; text-align: center; }
.adm-nav-text { flex: 1; }
.adm-nav-badge {
  background: #1E293B;
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
}
.adm-nav-badge.alert { background: rgba(239, 68, 68, 0.2); color: #F87171; }
.adm-nav-badge.warning { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
.adm-nav-pill-live {
  background: #10B981;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.adm-help-card {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.adm-help-icon { font-size: 1.6rem; margin-bottom: 4px; }
.adm-help-title { font-size: 0.88rem; font-weight: 700; color: #fff; }
.adm-help-sub { font-size: 0.74rem; color: #94A3B8; margin: 3px 0 10px; }
.adm-btn-ticket {
  width: 100%;
  background: transparent;
  border: 1px solid #6366F1;
  color: #818CF8;
  padding: 7px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
}
.adm-btn-ticket:hover { background: #6366F1; color: #fff; }

.adm-sb-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #1E293B;
  border-radius: 12px;
}
.adm-sb-user-text { flex: 1; line-height: 1.1; }
.adm-sb-user-text b { font-size: 0.82rem; color: #fff; display: block; }
.adm-sb-user-text small { font-size: 0.7rem; color: #94A3B8; }

/* ---------- Main Content Area ---------- */
.adm-main {
  flex: 1 1 auto;
  min-width: 0 !important;
  max-width: calc(100% - 260px);
  width: calc(100% - 260px);
  padding: 24px 30px 60px;
  overflow-x: hidden;
  background: #0B0F19;
  box-sizing: border-box;
}

.adm-page-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.adm-date-picker-wrap {
  position: relative;
  display: inline-block;
}
.adm-date-badge {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: #E2E8F0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}
.adm-date-badge:hover {
  background: #1E293B;
  border-color: #6366F1;
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}
.adm-date-badge.open {
  border-color: #6366F1;
  background: #1E293B;
}

/* Dropdown Popover */
.adm-date-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 580px;
  background: #0F172A;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 16px;
  z-index: 1000;
  display: none;
  animation: pop .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.adm-date-dropdown.open { display: block; }

.dp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: #fff;
}
.dp-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 0;
}
.dp-section-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.dp-presets-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dp-preset-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #CBD5E1;
  text-align: left;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.dp-preset-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.dp-preset-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818CF8;
  font-weight: 700;
}

.dp-calendar-col {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}
.dp-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.dp-inputs-row small {
  display: block;
  color: #94A3B8;
  font-size: 0.7rem;
  margin-bottom: 3px;
  font-weight: 700;
}
.dp-inputs-row input[type="date"] {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  outline: none;
}
.dp-inputs-row input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Visual Mini Calendar */
.dp-mini-cal {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
}
.dp-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.82rem;
}
.dp-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dp-nav-btn:hover { background: #6366F1; }
.dp-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: #64748B;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.dp-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.dp-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #CBD5E1;
  border-radius: 6px;
  cursor: pointer;
  transition: all .1s;
  user-select: none;
}
.dp-cal-day:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.dp-cal-day.empty { pointer-events: none; opacity: 0; }
.dp-cal-day.today { border: 1px solid #6366F1; font-weight: 700; }
.dp-cal-day.in-range {
  background: rgba(99, 102, 241, 0.2);
  color: #A5B4FC;
  border-radius: 0;
}
.dp-cal-day.range-start {
  background: #6366F1 !important;
  color: #fff !important;
  font-weight: 800;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.dp-cal-day.range-end {
  background: #6366F1 !important;
  color: #fff !important;
  font-weight: 800;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.dp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dp-selected-preview {
  color: #94A3B8;
  font-size: 0.76rem;
  font-weight: 600;
}
.dp-actions-group {
  display: flex;
  gap: 8px;
}

.adm-btn-export {
  background: #6366F1;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.adm-btn-export:hover { opacity: 0.92; }

/* ---------- Views Switcher Panels ---------- */
.adm-view-panel { display: none; }
.adm-view-panel.active { display: block; animation: pop .18s ease; }

/* ---------- Top 6 KPI Metric Cards ---------- */
.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.adm-kpi-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.adm-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-accent, #6366F1);
}
.adm-kpi-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  position: relative;
}
.adm-pulse-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}
.adm-kpi-info small { color: #94A3B8; font-size: 0.78rem; font-weight: 600; }
.adm-kpi-info h3 { font-size: 1.45rem; font-weight: 800; color: #fff; margin: 4px 0 6px; letter-spacing: -0.02em; }
.adm-kpi-growth { font-size: 0.72rem; font-weight: 700; }
.adm-kpi-growth.up { color: #34D399; }
.adm-kpi-growth.online { color: #10B981; font-weight: 800; }

/* ---------- Top Bar Enhancements ---------- */
.adm-btn-visit {
  border: 1px solid #10B981;
  color: #10B981;
  background: transparent;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all .2s;
}
.adm-btn-visit:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
  border-color: #34D399;
}
.adm-btn-create-glow {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: all .15s ease;
}
.adm-btn-create-glow:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.adm-nav-caret {
  margin-left: auto;
  color: #64748B;
  font-size: 1rem;
  font-weight: bold;
}

/* ---------- Analytics 4-Column Grids ---------- */
.adm-analytics-grid-4 {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 1380px) {
  .adm-analytics-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .adm-analytics-grid-4 {
    grid-template-columns: 1fr;
  }
}

.adm-chart-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.adm-chart-card.adm-earnings-card {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  z-index: 1 !important;
  width: 100% !important;
}
.adm-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.adm-card-head h3 { font-size: 0.98rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
.adm-chart-legend { display: flex; gap: 14px; font-size: 0.76rem; color: #94A3B8; font-weight: 600; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.legend-dot.green { background: #10B981; }
.legend-dot.purple { background: #8B5CF6; }

.adm-pill-btn {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  color: #CBD5E1;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.adm-pill-btn-sm {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  color: #94A3B8;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.chart-svg-wrap { position: relative; width: 100%; height: 240px; }
.adm-svg-chart { width: 100%; height: 100%; overflow: visible; }
.chart-point { cursor: pointer; transition: r .15s; }
.chart-point:hover { r: 6; }
.adm-chart-tip {
  position: absolute;
  background: #0F172A;
  border: 1px solid #6366F1;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  z-index: 10;
  white-space: nowrap;
}

.adm-chart-footer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  margin-top: 12px;
}
.cs-item small { display: block; color: #94A3B8; font-size: 0.7rem; }
.cs-item b { color: #fff; font-size: 0.88rem; }

/* ---------- Donut Cards ---------- */
.adm-donut-body { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; justify-content: center; }
.adm-donut-wrap { position: relative; width: 140px; height: 140px; }
.adm-donut-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.adm-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.adm-donut-center b { font-size: 1.05rem; color: #fff; }
.adm-donut-center small { color: #94A3B8; font-size: 0.68rem; }
.adm-donut-legend { width: 100%; display: flex; flex-direction: column; gap: 5px; font-size: 0.74rem; }
.adm-donut-leg-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.d-dot { width: 8px; height: 8px; border-radius: 50%; }
.d-name { flex: 1; color: #94A3B8; font-weight: 500; }
.d-count { color: #fff; font-weight: 700; }
.adm-card-foot { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; margin-top: 10px; text-align: center; font-size: 0.78rem; }
.adm-card-foot a { color: #818CF8; font-weight: 700; text-decoration: none; }

/* ---------- Live Activity Stream ---------- */
.adm-activity-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.adm-act-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; }
.act-icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.act-body { flex: 1; line-height: 1.2; }
.act-body b { color: #fff; font-size: 0.8rem; display: block; }
.act-body span { color: #94A3B8; font-size: 0.72rem; }
.act-time { color: #64748B; font-size: 0.68rem; }

/* ---------- Quick Actions 2x4 Grid ---------- */
.adm-quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.adm-qa-btn {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #CBD5E1;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.adm-qa-btn .qa-icon { font-size: 1.15rem; }
.adm-qa-btn:hover {
  background: #334155;
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Top Earners List ---------- */
.adm-top-earners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adm-earner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.adm-earner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-earner-rank {
  font-weight: 800;
  color: #94A3B8;
  font-size: 0.8rem;
  width: 14px;
}
.adm-earner-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.adm-earner-name {
  font-weight: 700;
  color: #F8FAFC;
  font-size: 0.8rem;
}
.adm-earner-amount {
  font-weight: 800;
  color: #10B981;
  font-size: 0.82rem;
  margin-right: 8px;
}
.adm-earner-rating {
  color: #FBBF24;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ---------- Disputes List ---------- */
.adm-disputes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adm-disp-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  font-size: 0.78rem;
}
.adm-disp-card-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(99,102,241,0.3);
}

/* ---------- Platform Sparklines ---------- */
.adm-platform-sparklines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}
.adm-spark-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.adm-spark-info small {
  display: block;
  color: #94A3B8;
  font-size: 0.72rem;
}
.adm-spark-info b {
  font-size: 0.9rem;
  color: #fff;
}
.adm-spark-trend {
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
}
.adm-spark-trend.up { color: #10B981; }
.adm-spark-trend.down { color: #38BDF8; }
.adm-sparkline-svg {
  width: 90px;
  height: 22px;
}

/* ---------- Dashboard Executive Split Layout (Left Sub-KPIs + Right Geo & Security Intel) ---------- */
.adm-exec-split-layout {
  display: grid;
  grid-template-columns: 1.35fr 1.65fr;
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}
@media (max-width: 1200px) {
  .adm-exec-split-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Panel: Operational & Platform Health Metrics */
.adm-exec-metrics-panel {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.adm-sub-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .adm-sub-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.adm-sub-kpi {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}
.adm-sub-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  background: #0D1527;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.sk-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.sk-icon {
  font-size: 1.1rem;
}
.sk-title {
  font-size: 0.76rem;
  color: #94A3B8;
  font-weight: 600;
}
.adm-sub-kpi h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}
.sk-sub {
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
}
.sk-change {
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  padding: 2px 6px;
  border-radius: 5px;
  margin-top: 4px;
}
.sk-change.up {
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
}
.sk-change.down {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
}
.sk-change.warning {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
}

/* Right Panel: Operational Intelligence & Regional Analytics */
.adm-exec-intel-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-intel-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
}

/* Regional Geo Breakdown List */
.adm-geo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.adm-geo-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-geo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.adm-geo-city {
  color: #F8FAFC;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.adm-geo-stats {
  color: #94A3B8;
  font-size: 0.72rem;
  font-weight: 600;
}
.adm-geo-stats b {
  color: #10B981;
}
.adm-geo-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.adm-geo-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}
.adm-geo-fill.dhaka { background: linear-gradient(90deg, #10B981, #34D399); }
.adm-geo-fill.ctg { background: linear-gradient(90deg, #6366F1, #818CF8); }
.adm-geo-fill.sylhet { background: linear-gradient(90deg, #38BDF8, #22D3EE); }
.adm-geo-fill.rajshahi { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.adm-geo-fill.others { background: linear-gradient(90deg, #EC4899, #F472B6); }

/* Security Radar 2x2 Grid */
.adm-radar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 580px) {
  .adm-radar-grid {
    grid-template-columns: 1fr;
  }
}
.adm-radar-box {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.adm-radar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.adm-radar-icon.green { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.adm-radar-icon.blue { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.adm-radar-icon.purple { background: rgba(139, 92, 246, 0.15); color: #8B5CF6; }
.adm-radar-icon.orange { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }

.adm-radar-info small {
  display: block;
  color: #94A3B8;
  font-size: 0.7rem;
  font-weight: 500;
}
.adm-radar-info b {
  color: #fff;
  font-size: 0.88rem;
}

/* Quick Administrative Shortcuts Strip */
.adm-shortcuts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .adm-shortcuts-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
.adm-shortcut-btn {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
}
.adm-shortcut-btn:hover {
  background: #1E293B;
  border-color: rgba(99, 102, 241, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.adm-shortcut-btn .sc-icon { font-size: 1.25rem; }
.adm-shortcut-btn .sc-badge {
  background: #EF4444;
  color: #fff;
  font-size: 0.62rem;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 800;
}

/* ---------- Global Command Palette (Ctrl + K) ---------- */
.cmd-palette-modal {
  animation: pop .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.cmd-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cmd-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.cmd-esc-badge {
  background: #1E293B;
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.cmd-results-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cmd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #CBD5E1;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all .1s;
}
.cmd-item:hover, .cmd-item.selected {
  background: #1E293B;
  color: #fff;
}
.cmd-item .cmd-icon {
  font-size: 1.1rem;
}
.cmd-item .cmd-badge {
  margin-left: auto;
  background: rgba(99, 102, 241, 0.2);
  color: #818CF8;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}
.cmd-footer-tip {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 16px;
  background: #0B0F19;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: #64748B;
}
.sk-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sk-icon { font-size: 1rem; }
.sk-title { font-size: 0.72rem; color: #94A3B8; font-weight: 700; }
.adm-sub-kpi h4 { font-size: 1.25rem; font-weight: 800; color: #fff; margin: 2px 0 4px; }
.sk-sub { color: #64748B; font-size: 0.68rem; display: block; margin-bottom: 4px; }
.sk-change { font-size: 0.68rem; font-weight: 700; }
.sk-change.up { color: #34D399; }
.sk-change.down { color: #38BDF8; }

/* ---------- Detailed Tables in Management Tabs ---------- */
.adm-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.adm-panel-head h2 { font-size: 1.4rem; font-weight: 800; color: #fff; margin: 0 0 4px; }
.adm-panel-head p { color: #94A3B8; font-size: 0.88rem; margin: 0; }
.adm-panel-actions { display: flex; gap: 10px; }

.adm-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  background: #111827;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.adm-input, .adm-select {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px;
  outline: none;
}
.adm-input:focus, .adm-select:focus { border-color: #6366F1; }
.adm-input { flex: 1; }

.adm-table-wrap {
  width: 100% !important;
  overflow-x: auto;
  box-sizing: border-box;
}
.adm-table {
  width: 100% !important;
  border-collapse: collapse;
  font-size: 0.86rem;
  table-layout: auto;
}
.adm-table th {
  background: #1E293B;
  color: #94A3B8;
  text-align: left;
  padding: 14px 18px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.adm-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #CBD5E1;
  vertical-align: middle;
}
.adm-table tr:hover td {
  background: rgba(99, 102, 241, 0.05);
}
.adm-table.detailed { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.adm-table.detailed th {
  background: #1E293B;
  color: #94A3B8;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.adm-table.detailed td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #CBD5E1;
  vertical-align: middle;
}
.adm-table.detailed tr:hover td { background: rgba(255,255,255,0.02); }

.adm-role-badge { padding: 3px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 800; }
.adm-role-badge.admin { background: #4F46E5; color: #fff; }
.adm-role-badge.freelancer { background: #065F46; color: #6EE7B7; }
.adm-role-badge.client { background: #1E3A8A; color: #93C5FD; }

.adm-badge.verified { color: #34D399; font-weight: 700; font-size: 0.76rem; }
.adm-badge.unverified { color: #64748B; font-size: 0.76rem; }
.adm-tag { background: #1E293B; padding: 4px 8px; border-radius: 6px; font-size: 0.78rem; color: #94A3B8; }
.adm-mini-tag { font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.adm-mini-tag.yellow { background: rgba(245,158,11,0.2); color: #FBBF24; }
.adm-mini-tag.red { background: rgba(239,68,68,0.2); color: #F87171; }

.adm-action-btns { display: flex; gap: 6px; }
.adm-btn-act {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.1);
  color: #CBD5E1;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all .15s;
}
.adm-btn-act:hover { background: #334155; color: #fff; }
.adm-btn-act.danger:hover { background: #DC2626; color: #fff; border-color: #DC2626; }

/* ---------- Categories CMS Grid ---------- */
.adm-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adm-cat-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: border-color .15s;
}
.adm-cat-card:hover { border-color: var(--cat-accent, #10B981); }
.cat-top { display: flex; justify-content: space-between; align-items: center; }
.cat-emoji { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.adm-cat-card h4 { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 4px 0 0; }
.cat-slug { color: #64748B; font-size: 0.78rem; font-family: monospace; }
.cat-count { color: #94A3B8; font-size: 0.82rem; margin-top: 4px; }
.cat-count b { color: #fff; }

/* ---------- Homepage Dynamic CMS Layout ---------- */
.adm-cms-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.adm-cms-form { display: flex; flex-direction: column; gap: 18px; }
.adm-form-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
}
.adm-form-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 16px; }
.adm-form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 0.84rem; font-weight: 700; color: #CBD5E1; margin-bottom: 14px; }

.adm-cms-preview h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 14px; }
.adm-preview-box {
  background: radial-gradient(120% 200% at 10% 0%, rgba(34,197,94,.25), transparent 50%), #060B14;
  border: 1.5px solid #16A34A;
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  position: sticky;
  top: 90px;
}
.adm-prev-pill {
  background: rgba(34,197,94,0.2);
  color: #4ADE80;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 14px;
}
.adm-prev-title { font-size: 1.6rem; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.adm-prev-sub { color: #94A3B8; font-size: 0.88rem; line-height: 1.5; margin: 0 0 16px; }
.adm-prev-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-chip { background: #1E293B; color: #CBD5E1; padding: 4px 10px; border-radius: 12px; font-size: 0.76rem; }
.adm-prev-trust { color: #F59E0B; font-size: 0.8rem; font-weight: 700; margin-bottom: 16px; }
.adm-prev-cta { background: #111827; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px; }
.adm-prev-cta b { display: block; font-size: 0.92rem; color: #fff; }
.adm-prev-cta p { color: #94A3B8; font-size: 0.78rem; margin: 4px 0 0; }

/* ---------- Bulk Import & Export Hub ---------- */
.adm-import-export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.adm-export-btn-group { display: flex; flex-direction: column; gap: 12px; }
.exp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #1E293B;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}
.adm-dropzone {
  border: 2px dashed #4F46E5;
  background: rgba(79, 70, 229, 0.05);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}
.adm-dropzone:hover, .adm-dropzone.dragover { background: rgba(79, 70, 229, 0.15); border-color: #818CF8; }
.adm-dropzone b { color: #fff; font-size: 0.95rem; }
.adm-dropzone small { color: #94A3B8; font-size: 0.8rem; }
.adm-preview-pre {
  background: #0B0F19;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px;
  border-radius: 10px;
  color: #34D399;
  font-size: 0.78rem;
  max-height: 180px;
  overflow: auto;
}

/* ---------- Admin Modals Styling ---------- */
.adm-modal-backdrop,
.modal-overlay,
.adm-modal-overlay,
div.adm-modal[id^="modal-"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(2, 6, 23, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  padding: 24px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.adm-modal-backdrop.open,
.modal-overlay.open,
.adm-modal-overlay.open,
div.adm-modal[id^="modal-"].open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.adm-modal-box,
.adm-modal-content,
.modal.adm-modal,
.adm-modal-backdrop > .adm-modal,
.adm-modal-backdrop .adm-modal,
.adm-modal-overlay .adm-modal,
.modal-overlay .adm-modal,
.adm-modal:not([id^="modal-"]) {
  background: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85) !important;
  position: relative !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  width: 100% !important;
  margin: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: pop 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.adm-modal-close,
.adm-close-btn,
.modal-x {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.adm-modal-close:hover,
.adm-close-btn:hover,
.modal-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.adm-modal .modal-title { color: #fff !important; }
.adm-modal .modal-sub { color: #94A3B8 !important; }
.adm-modal-form label { color: #CBD5E1 !important; }
.adm-modal-form input, .adm-modal-form select, .adm-modal-form textarea {
  background: #1E293B !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #fff !important;
}
.adm-quick-create-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.adm-quick-card {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .15s;
}
.adm-quick-card:hover { background: #334155; border-color: #6366F1; transform: translateY(-2px); }
.adm-quick-card span { font-size: 1.8rem; margin-bottom: 4px; }
.adm-quick-card b { color: #fff; font-size: 0.95rem; }
.adm-quick-card small { color: #94A3B8; font-size: 0.76rem; }
.btn-purple { background: #6366F1; color: #fff; }
.btn-purple:hover { background: #4F46E5; }

/* Responsive adjustments for Enterprise Admin */
@media (max-width: 1300px) {
  .adm-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .adm-analytics-grid { grid-template-columns: 1fr 1fr; }
  .adm-mid-grid { grid-template-columns: 1fr 1fr; }
  .adm-sub-kpi-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .adm-sidebar {
    position: fixed;
    top: 64px;
    left: -280px;
    bottom: 0;
    z-index: 110;
    transition: left .25s ease;
  }
  .adm-sidebar.open { left: 0; }
  .adm-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 16px 14px 40px !important;
  }
  .adm-kpi-grid { grid-template-columns: 1fr 1fr; }
  .adm-analytics-grid { grid-template-columns: 1fr; }
  .adm-mid-grid { grid-template-columns: 1fr; }
  .adm-sub-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .adm-cms-layout, .adm-import-export-grid { grid-template-columns: 1fr; }
  .adm-cat-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Dropdowns: Notifications, Messages, and Panels ---------- */
.adm-dropdown-menu.notif-panel, .adm-dropdown-menu.msg-panel {
  width: 340px;
  right: 0;
  left: auto;
  padding: 12px 14px;
}
.adm-dd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
  margin-bottom: 8px;
  font-size: 0.84rem;
}
.adm-btn-text-sm {
  background: transparent;
  border: none;
  color: #818CF8;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.adm-btn-text-sm:hover { text-decoration: underline; }
.adm-notif-dd-list { display: flex; flex-direction: column; gap: 8px; max-height: 240px; overflow-y: auto; }
.adm-notif-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  transition: background .12s;
}
.adm-notif-item:hover { background: rgba(255,255,255,0.04); }
.adm-notif-item .n-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.adm-notif-item .n-icon.green { background: rgba(16,185,129,0.2); }
.adm-notif-item .n-icon.amber { background: rgba(245,158,11,0.2); }
.adm-notif-item .n-icon.red { background: rgba(239,68,68,0.2); }
.adm-notif-item .n-icon.purple { background: rgba(139,92,246,0.2); }
.adm-notif-item .n-info { flex: 1; line-height: 1.2; }
.adm-notif-item .n-info b { color: #fff; font-size: 0.8rem; display: block; }
.adm-notif-item .n-info small { color: #94A3B8; font-size: 0.72rem; }
.adm-notif-item time { color: #64748B; font-size: 0.68rem; flex-shrink: 0; }
.adm-dd-foot {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
  margin-top: 8px;
  text-align: center;
  font-size: 0.78rem;
}
.adm-dd-foot a { color: #818CF8; font-weight: 700; }

/* ---------- Skills Grid & Pills ---------- */
.adm-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}
.adm-skill-pill {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #fff;
}
.adm-skill-pill:hover { border-color: #6366F1; }

/* ---------- Analytics Summary Grid & Bar Visuals ---------- */
.adm-analytics-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.adm-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}
.adm-bar-col .bar-fill {
  width: 100%;
  max-width: 48px;
  border-radius: 6px 6px 0 0;
  transition: height .3s ease;
}
.adm-bar-col small { color: #94A3B8; font-size: 0.74rem; font-weight: 700; }

/* ---------- User Dossier Inspector Modal Styles ---------- */
.user-dossier-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #1E1B4B, #0F172A);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  margin-bottom: 16px;
}
.user-dossier-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.user-dossier-hero-info { flex: 1; }
.user-dossier-hero-info h3 { margin: 0 0 4px; font-size: 1.2rem; color: #fff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.user-dossier-hero-info p { margin: 0; color: #94A3B8; font-size: 0.82rem; }
.user-dossier-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

.user-dossier-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.uds-card {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}
.uds-card small { color: #94A3B8; font-size: 0.72rem; display: block; }
.uds-card b { color: #fff; font-size: 1.1rem; display: block; margin-top: 2px; }

.user-dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}
.udg-item b { color: #94A3B8; display: block; font-size: 0.72rem; text-transform: uppercase; margin-bottom: 2px; }
.udg-item span { color: #E2E8F0; font-weight: 600; }

.user-dossier-ctrls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.user-dossier-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.ud-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.ud-tab-btn.active { color: #818CF8; border-color: #818CF8; }
.ud-tab-content { display: none; max-height: 200px; overflow-y: auto; }
.ud-tab-content.active { display: block; }

.adm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.adm-status-badge.active { background: rgba(16,185,129,0.15); color: #34D399; border: 1px solid rgba(16,185,129,0.3); }
.adm-status-badge.suspended { background: rgba(239,68,68,0.15); color: #F87171; border: 1px solid rgba(239,68,68,0.3); }

/* ---------- Task Dossier Inspector Modal Styles ---------- */
.task-dossier-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #0F172A, #1E1B4B);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  margin-bottom: 16px;
}
.task-dossier-emoji {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.task-dossier-hero-info { flex: 1; }
.task-dossier-hero-info h3 { margin: 0 0 4px; font-size: 1.15rem; color: #fff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task-dossier-hero-info p { margin: 0; color: #94A3B8; font-size: 0.8rem; }
.task-parties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.task-party-card {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.task-party-card .tpc-info b { font-size: 0.84rem; color: #fff; display: block; }
.task-party-card .tpc-info small { color: #94A3B8; font-size: 0.74rem; display: block; }
.task-party-card .tpc-role {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #818CF8;
  margin-bottom: 2px;
  display: block;
}

.escrow-breakdown-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.ebb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 4px 0;
}
.ebb-row.total {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 700;
}
.task-applicant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.task-delivery-card {
  background: #1E293B;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  font-size: 0.82rem;
}

/* ---------- Transaction Digital Receipt & Ledger Styles ---------- */
.tx-receipt-card {
  background: #0F172A;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  color: #E2E8F0;
  position: relative;
}
.tx-receipt-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.tx-receipt-brand b {
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.tx-receipt-brand b span { color: #10B981; }
.tx-receipt-brand small {
  display: block;
  color: #94A3B8;
  font-size: 0.76rem;
  margin-top: 2px;
}
.tx-amount-hero {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  margin-bottom: 16px;
}
.tx-amount-hero .tah-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 4px 0;
}
.tx-amount-hero .tah-value.positive { color: #34D399; }
.tx-amount-hero .tah-value.negative { color: #F87171; }
.tx-amount-hero .tah-label {
  font-size: 0.78rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.tx-details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}
.tx-detail-item {
  background: #1E293B;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.tx-detail-item label {
  color: #94A3B8;
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}
.tx-detail-item b {
  color: #fff;
  font-size: 0.84rem;
}
.tx-barcode-strip {
  text-align: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  color: #64748B;
  font-family: monospace;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}/* ===================================================
   USERS MANAGEMENT CENTER — COMPLETE SUITE STYLES
   =================================================== */

/* 10 KPI Strip */
.adm-users-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 1300px) {
  .adm-users-kpi-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 1000px) {
  .adm-users-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.adm-ukpi-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.adm-ukpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
}
.adm-ukpi-card.active-filter-kpi {
  border-color: #8B5CF6 !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
  background: #1E1B4B !important;
}
.adm-ukpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ukpi-accent, #6366F1);
}
.ukpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ukpi-icon { font-size: 1.1rem; }
.ukpi-label { font-size: 0.72rem; color: #94A3B8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.ukpi-val { font-size: 1.25rem; font-weight: 800; color: #fff; line-height: 1.2; }
.ukpi-sub { font-size: 0.68rem; color: #64748B; margin-top: 2px; }

/* Filter Bar Extensions */
.adm-users-filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1.2fr;
  gap: 10px;
  background: #111827;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}
@media (max-width: 1200px) {
  .adm-users-filter-bar {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .adm-users-filter-bar {
    grid-template-columns: 1fr;
  }
}

/* Floating Multi-Select Bulk Actions Bar */
.adm-bulk-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #0F172A;
  border: 1px solid #6366F1;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.adm-bulk-bar.visible {
  transform: translateX(-50%) translateY(0);
}
.adm-bulk-count {
  font-weight: 800;
  color: #fff;
  font-size: 0.84rem;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

/* Risk Badges */
.risk-pill {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.risk-pill.low { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }
.risk-pill.medium { background: rgba(245, 158, 11, 0.15); color: #F59E0B; border: 1px solid rgba(245, 158, 11, 0.3); }
.risk-pill.high { background: rgba(239, 68, 68, 0.15); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.3); }

/* User Table Elements */
.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar-wrap {
  position: relative;
}
.user-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}
.user-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #111827;
}
.user-online-dot.offline {
  background: #64748B;
}
.user-meta-info b {
  color: #fff;
  font-size: 0.84rem;
  display: block;
}
.user-meta-info small {
  color: #94A3B8;
  font-size: 0.72rem;
}
.user-tag-pill {
  background: rgba(99, 102, 241, 0.12);
  color: #818CF8;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
  margin-right: 3px;
  margin-top: 2px;
}

/* User 360 Profile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.adm-user-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 780px;
  max-width: 95vw;
  background: #0B0F19;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
  z-index: 1060;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer-overlay.open .adm-user-drawer {
  transform: translateX(0);
}

.u360-header {
  background: #111827;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.u360-profile-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.u360-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #6366F1;
  object-fit: cover;
}
.u360-name-block h3 {
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 4px;
}

.u360-tabs {
  display: flex;
  gap: 6px;
  background: #0F172A;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}
.u360-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}
.u360-tab-btn.active {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
}

.u360-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

/* AI Insights Box */
.ai-insight-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  position: relative;
}
.ai-insight-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #C084FC;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.ai-insight-body {
  color: #E2E8F0;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Metrics Grid Strip */
.u360-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.u360-metric-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: 10px;
}
.u360-metric-card small {
  color: #94A3B8;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 2px;
}
.u360-metric-card b {
  color: #fff;
  font-size: 1.15rem;
}

/* Risk Signals Checklist */
.risk-signals-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.risk-signal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

/* Row Action Dropdown Menu */
.adm-action-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.adm-action-trigger {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.adm-action-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: #0F172A;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 6px;
  width: 220px;
  z-index: 100;
  display: none;
}
.adm-action-dropdown-wrap.open .adm-action-menu {
  display: block;
}
.adm-act-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #CBD5E1;
  font-size: 0.78rem;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all .12s ease;
}
.adm-act-link:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #fff;
}
.adm-act-link.danger {
  color: #F87171;
}
.adm-act-link.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}
.adm-act-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

/* ==========================================================================
   TASK TEMPLATES & BLUEPRINTS CENTER — PIXEL-PERFECT THEME & LAYOUT
   ========================================================================== */
.tmpl-kpi-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 1200px) {
  .tmpl-kpi-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .tmpl-kpi-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tmpl-kpi-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .2s ease;
  cursor: pointer;
}
.tmpl-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.tmpl-kpi-card.active-filter {
  border-color: #6366F1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(17, 24, 39, 1) 100%);
  box-shadow: 0 0 0 1px #6366F1;
}

.tmpl-kpi-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.tmpl-kpi-icon-box.green { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.tmpl-kpi-icon-box.blue { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.tmpl-kpi-icon-box.orange { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.tmpl-kpi-icon-box.purple { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
.tmpl-kpi-icon-box.pink { background: rgba(236, 72, 153, 0.15); color: #F472B6; }
.tmpl-kpi-icon-box.cyan { background: rgba(6, 182, 212, 0.15); color: #22D3EE; }

.tmpl-kpi-info {
  display: flex;
  flex-direction: column;
}
.tmpl-kpi-label {
  font-size: 0.76rem;
  color: #94A3B8;
  font-weight: 500;
}
.tmpl-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 2px 0 3px;
  letter-spacing: -0.5px;
}
.tmpl-kpi-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
}
.tmpl-kpi-sub.positive { color: #34D399; }

/* Main Split Layout: Left Cards (3fr) + Right Sidebar (1fr) */
.tmpl-main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1080px) {
  .tmpl-main-layout {
    grid-template-columns: 1fr;
  }
}

/* 4-Column Card Grid */
.tmpl-cards-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1300px) {
  .tmpl-cards-grid-4col {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .tmpl-cards-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .tmpl-cards-grid-4col {
    grid-template-columns: 1fr;
  }
}

/* Individual Template Card */
.tmpl-card-item {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .2s ease;
  position: relative;
}
.tmpl-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Graphic / Illustration Banner */
.tmpl-card-banner {
  height: 120px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}
.tmpl-banner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 2;
  text-transform: capitalize;
}
.tmpl-banner-badge.green {
  background: #10B981;
  color: #fff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}
.tmpl-banner-badge.purple {
  background: #8B5CF6;
  color: #fff;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
}

/* Theme Backgrounds for Banners */
.banner-theme-logo-pencil {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 40%, #047857 100%);
}
.banner-theme-social-3d {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%);
}
.banner-theme-translate-avatar {
  background: linear-gradient(135deg, #0F766E 0%, #0E7490 50%, #0284C7 100%);
}
.banner-theme-excel-table {
  background: linear-gradient(135deg, #14532D 0%, #166534 50%, #15803D 100%);
}
.banner-theme-voice-neon {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #31104B 100%);
}
.banner-theme-content-pen {
  background: linear-gradient(135deg, #78350F 0%, #92400E 50%, #B45309 100%);
}
.banner-theme-video-player {
  background: linear-gradient(135deg, #3B0764 0%, #581C87 50%, #6B21A8 100%);
}
.banner-theme-audio-headphone {
  background: linear-gradient(135deg, #4A044E 0%, #701A75 50%, #86198F 100%);
}
.banner-theme-ai-neural {
  background: linear-gradient(135deg, #1E1B4B 0%, #4338CA 100%);
}
.banner-theme-code-testing {
  background: linear-gradient(135deg, #042F2E 0%, #0F766E 100%);
}
.banner-theme-market-survey {
  background: linear-gradient(135deg, #7C2D12 0%, #C2410C 100%);
}
.banner-theme-store-photo {
  background: linear-gradient(135deg, #713F12 0%, #A16207 100%);
}

/* Card Body */
.tmpl-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tmpl-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1.3;
  cursor: pointer;
}
.tmpl-card-title:hover {
  color: #818CF8;
}
.tmpl-card-category {
  font-size: 0.72rem;
  color: #818CF8;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.tmpl-card-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.4;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}

/* Metadata Row: Budget + Turnaround */
.tmpl-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.75rem;
  color: #CBD5E1;
  margin-top: auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.tmpl-card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Card Footer: Uses + Rating + 3 Dots Menu */
.tmpl-card-footer {
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}
.tmpl-card-uses {
  color: #94A3B8;
}
.tmpl-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tmpl-card-rating b {
  color: #FBBF24;
}
.tmpl-card-rating small {
  color: #64748B;
}

.tmpl-menu-dots-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  border-radius: 4px;
  transition: all .12s;
}
.tmpl-menu-dots-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Right Sidebar Widgets */
.tmpl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tmpl-widget-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}
.tmpl-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tmpl-widget-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.tmpl-widget-link {
  font-size: 0.72rem;
  color: #818CF8;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.tmpl-widget-link:hover {
  text-decoration: underline;
}

/* Category List Items */
.tmpl-cat-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .12s ease;
  text-decoration: none;
  margin-bottom: 2px;
}
.tmpl-cat-item-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.tmpl-cat-item-row.active {
  background: rgba(99, 102, 241, 0.15);
}
.tmpl-cat-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tmpl-cat-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}
.tmpl-cat-name {
  font-size: 0.8rem;
  color: #E2E8F0;
  font-weight: 500;
}
.tmpl-cat-count {
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Quick Action Links */
.tmpl-quick-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  color: #CBD5E1;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
  transition: all .12s ease;
  margin-bottom: 3px;
}
.tmpl-quick-action-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.tmpl-qa-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tmpl-qa-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}
.tmpl-qa-badge.purple { background: rgba(139, 92, 246, 0.25); color: #C4B5FD; }
.tmpl-qa-badge.orange { background: rgba(245, 158, 11, 0.25); color: #FCD34D; }

/* Popular Tags Pills */
.tmpl-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tmpl-tag-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: #94A3B8;
  cursor: pointer;
  transition: all .12s ease;
}
.tmpl-tag-chip:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  border-color: #6366F1;
}

/* Pagination Strip */
.tmpl-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #94A3B8;
}
.tmpl-pages-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tmpl-page-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all .12s ease;
}
.tmpl-page-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.tmpl-page-btn.active {
  background: #6366F1;
  border-color: #6366F1;
  color: #fff;
  font-weight: 700;
}
.tmpl-page-ellipsis {
  padding: 0 4px;
  color: #64748B;
}

/* ============================================================
   NOTIFICATION BELL & DROPDOWN DRAWER
   ============================================================ */
.notif-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notif-bell-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  position: relative;
  transition: all .15s ease;
}

.notif-bell-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 99px;
  border: 2px solid #0F172A;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: 90vw;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow: hidden;
  animation: pop .15s ease-out;
}

.notif-dd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #1E293B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notif-dd-head strong {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}

.notif-count-tag {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
}

.notif-mark-read-btn {
  background: none;
  border: none;
  color: #38BDF8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.notif-mark-read-btn:hover {
  text-decoration: underline;
}

.notif-tabs {
  display: flex;
  background: #111827;
  padding: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 4px;
}

.notif-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .12s ease;
}

.notif-tab:hover {
  color: #fff;
}

.notif-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #22C55E;
}

.notif-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: #E2E8F0;
  transition: background .12s ease;
  position: relative;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notif-item.unread {
  background: rgba(34, 197, 94, 0.04);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
}

.notif-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.notif-msg {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.35;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 0.7rem;
  color: #64748B;
}

.notif-dd-foot {
  padding: 10px 16px;
  background: #1E293B;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   INVOICE & RECEIPT MODAL OVERLAY FIX
   ============================================================ */
#xe-invoice-modal.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(2, 6, 23, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  padding: 20px;
  box-sizing: border-box;
}

#xe-invoice-modal.modal-overlay.open {
  display: flex !important;
}

/* ============================================================
   TASKS BROWSE PAGE - ENHANCED QUICK PILLS & ACTIVE CHIPS
   ============================================================ */
.task-quick-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.task-quick-pills::-webkit-scrollbar { display: none; }

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  text-decoration: none;
}
.quick-pill:hover {
  background: var(--bg-soft);
  border-color: #CBD5E1;
  color: #0F172A;
}
.quick-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.quick-pill .pill-badge {
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 800;
}
.quick-pill.active .pill-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 18px;
}
.active-filters-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  transition: all 0.12s ease;
}
.filter-chip .chip-remove {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.12);
  color: #1E40AF;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  transition: all 0.12s ease;
}
.filter-chip .chip-remove:hover {
  background: #1E40AF;
  color: #fff;
}
.btn-clear-all-chips {
  background: transparent;
  border: none;
  color: #EF4444;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: auto;
  transition: background 0.12s ease;
}
.btn-clear-all-chips:hover {
  background: #FEE2E2;
}

.search-box-container {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box-container input {
  padding-right: 32px !important;
}
.search-clear-btn {
  position: absolute;
  right: 90px;
  background: #E2E8F0;
  border: none;
  color: #64748B;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  line-height: 1;
}
.search-clear-btn.visible {
  display: flex;
}
.search-clear-btn:hover {
  background: #CBD5E1;
  color: #0F172A;
}

.filter-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.filter-sidebar-head h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-reset-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-600);
  cursor: pointer;
  text-decoration: none;
}
.filter-reset-link:hover {
  text-decoration: underline;
  color: var(--green-700);
}

/* ================= SERVICES & CATALOG SEGMENTED TABS ================= */
.adm-tabs, #srv-segment-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding: 6px !important;
  background: #0B0F19 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  margin-bottom: 20px !important;
  scrollbar-width: none !important;
}
.adm-tabs::-webkit-scrollbar, #srv-segment-tabs::-webkit-scrollbar {
  display: none !important;
}

.adm-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #1E293B !important;
  color: #94A3B8 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  outline: none !important;
}

.adm-tab-btn:hover {
  background: #334155 !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px) !important;
}

.adm-tab-btn.active {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  color: #FFFFFF !important;
  border-color: #818CF8 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45) !important;
}

.adm-tab-btn .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #E2E8F0 !important;
  line-height: 1 !important;
}

.adm-tab-btn.active .badge {
  background: #FFFFFF !important;
  color: #4338CA !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.adm-tab-btn .badge.red {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}

.adm-tab-btn.active .badge.red {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
}

/* =========================================================
   HOMEPAGE EXPERT MARKETPLACE & 1-ON-1 CONSULTATIONS SUITE
========================================================= */
.home-experts-section {
  background: radial-gradient(circle at 50% 0%, #1E1B4B 0%, #0F172A 70%, #020617 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.home-experts-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.home-exp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.home-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #C4B5FD;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.home-exp-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: #A78BFA;
  border-radius: 50%;
}

.home-exp-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.home-exp-head .section-sub {
  color: #94A3B8;
  font-size: 0.94rem;
  max-width: 680px;
  margin: 0;
  line-height: 1.55;
}

/* Domain Highlights Showcase Cards */
.home-exp-domains-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.home-domain-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.home-domain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.3);
  background: rgba(30, 41, 59, 0.8);
}

.home-domain-card.active {
  border-color: #8B5CF6;
  background: rgba(79, 70, 229, 0.15);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.home-domain-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.home-domain-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.home-domain-cnt {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

.home-domain-card h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
}

.home-domain-card p {
  margin: 0;
  color: #94A3B8;
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Toolbar & Domain Filter Pills */
.home-exp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 24px;
  gap: 14px;
  flex-wrap: wrap;
}

.home-exp-tabs-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-exp-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.home-exp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.home-exp-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.home-exp-pill.active {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #fff;
  border-color: #818CF8;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.home-exp-pill .pill-cnt {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.home-exp-search-input {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 14px;
  color: #fff;
  font-size: 0.84rem;
  min-width: 240px;
  outline: none;
}

.home-exp-search-input:focus {
  border-color: #8B5CF6;
}

/* Expert Cards Grid */
.home-exp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.home-expert-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.home-expert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(124, 58, 237, 0.15);
}

.home-exp-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.home-exp-avatar-wrap {
  position: relative;
  flex: none;
}

.home-exp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.home-exp-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0F172A;
}

.home-exp-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1.3;
}

.home-exp-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93C5FD;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  margin-top: 3px;
}

.home-exp-title {
  color: #CBD5E1;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.home-exp-edu {
  color: #94A3B8;
  font-size: 0.76rem;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-exp-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1E293B;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: #94A3B8;
  margin-bottom: 14px;
}

.home-exp-stats b {
  color: #fff;
}

.home-exp-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0 14px;
}

.home-exp-price-box .price-label {
  font-size: 0.72rem;
  color: #94A3B8;
}

.home-exp-price-box .price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FBBF24;
}

.home-exp-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
}

.btn-exp-dossier {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-exp-dossier:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-exp-book {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transition: all 0.15s;
}

.btn-exp-book:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.45);
}

/* Trust Bar */
.home-exp-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 24px;
}

.hetb-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hetb-icon {
  font-size: 1.6rem;
}

.hetb-item b {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.hetb-item small {
  color: #94A3B8;
  font-size: 0.76rem;
}

/* Tier Selection Option Cards in Booking Modal */
.book-tier-card {
  background: #1E293B;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.book-tier-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: #243048;
}

.book-tier-card.selected {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

@media (max-width: 992px) {
  .home-exp-domains-showcase { grid-template-columns: 1fr 1fr; }
  .home-exp-cards-grid { grid-template-columns: 1fr 1fr; }
  .home-exp-trust-bar { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .home-exp-domains-showcase { grid-template-columns: 1fr; }
  .home-exp-cards-grid { grid-template-columns: 1fr; }
}

/* User Wallet Dashboard Tabs */
/* User Wallet Dashboard Tabs — 100% Fully Responsive Layout */
.wallet-tabs-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  margin-bottom: 26px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .wallet-tabs-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .wallet-tabs-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 6px;
    gap: 6px;
    border-radius: 14px;
  }
}

@media (max-width: 380px) {
  .wallet-tabs-container {
    grid-template-columns: 1fr;
  }
}

.wallet-tab-btn {
  background: transparent;
  border: 1.5px solid transparent;
  color: #475569;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .wallet-tab-btn {
    padding: 11px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 680px) {
  .wallet-tab-btn {
    padding: 9px 6px;
    font-size: 0.78rem;
    gap: 5px;
  }
  .wallet-tab-badge {
    display: none; /* Hide badge on mobile screens to allow clean text fit */
  }
}

.wallet-tab-icon {
  font-size: 1.05rem;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Micro badges inside tabs */
.wallet-tab-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
}

.wallet-tab-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

/* Attractive, Interactive Hover States */
.wallet-tab-btn:hover:not(.active) {
  color: #0F172A;
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.1);
}

.wallet-tab-btn:hover .wallet-tab-icon {
  transform: scale(1.22) rotate(-3deg);
}

/* Category-Aware Vibrant Themed Hover Effects */
.wallet-tab-btn.tab-overview:hover:not(.active) {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1D4ED8;
  border-color: #93C5FD;
  box-shadow: 0 6px 18px -2px rgba(37, 99, 235, 0.2);
}

.wallet-tab-btn.tab-referrals:hover:not(.active) {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  color: #047857;
  border-color: #6EE7B7;
  box-shadow: 0 6px 18px -2px rgba(16, 185, 129, 0.22);
}
.wallet-tab-btn.tab-referrals:hover:not(.active) .wallet-tab-badge {
  background: #10B981;
  color: #FFFFFF;
}

.wallet-tab-btn.tab-loyalty:hover:not(.active) {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #B45309;
  border-color: #FCD34D;
  box-shadow: 0 6px 18px -2px rgba(245, 158, 11, 0.22);
}
.wallet-tab-btn.tab-loyalty:hover:not(.active) .wallet-tab-badge {
  background: #F59E0B;
  color: #FFFFFF;
}

.wallet-tab-btn.tab-transfer:hover:not(.active) {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  color: #15803D;
  border-color: #86EFAC;
  box-shadow: 0 6px 18px -2px rgba(34, 197, 94, 0.2);
}

.wallet-tab-btn.tab-payout:hover:not(.active) {
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  color: #6D28D9;
  border-color: #C4B5FD;
  box-shadow: 0 6px 18px -2px rgba(147, 51, 234, 0.2);
}

.wallet-tab-btn.tab-statement:hover:not(.active) {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  color: #C2410C;
  border-color: #FDBA74;
  box-shadow: 0 6px 18px -2px rgba(234, 88, 12, 0.2);
}

/* Active State with Rich Elevation and Gradient */
.wallet-tab-btn.active {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.wallet-tab-btn.tab-referrals.active {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wallet-tab-btn.tab-loyalty.active {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wallet-tab-btn.tab-transfer.active {
  background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wallet-tab-btn.tab-payout.active {
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wallet-tab-btn.tab-statement.active {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  box-shadow: 0 6px 20px rgba(51, 65, 85, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wallet-tab-btn.active .wallet-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* ============================================================
   GROWTH ENGINES: CAMPAIGNS, FEATURED, REFERRALS & LOYALTY
   ============================================================ */

/* 1. Dynamic Top Campaign Announcement Bar */
.top-campaign-bar {
  background: linear-gradient(90deg, #1E1B4B 0%, #312E81 30%, #4338CA 70%, #1E1B4B 100%);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 16px;
  position: relative;
  z-index: 55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.top-campaign-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}

.top-camp-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.top-camp-badge {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.top-camp-text {
  font-weight: 600;
  color: #E0E7FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-camp-text b {
  color: #FCD34D;
}

.top-camp-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.top-camp-btn {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.top-camp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.6);
}

.top-camp-close {
  color: #A5B4FC;
  font-size: 1rem;
  padding: 0 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.top-camp-close:hover {
  color: #fff;
}

/* 2. Featured & Boosted Task Badges and Cards */
.task-card.is-featured {
  border: 1.5px solid #F59E0B;
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.15) 0%, rgba(255, 255, 255, 1) 40%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
  position: relative;
}

.task-card.is-featured::before {
  content: '🔥 FEATURED';
  position: absolute;
  top: 10px;
  right: 12px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.task-card.is-urgent {
  border-left: 4px solid #EF4444;
}

.badge-urgent-chip {
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 3. Boost Task Modal Plans */
.boost-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.boost-plan-card {
  background: #1E293B;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.boost-plan-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.boost-plan-card.selected {
  border-color: #3B82F6;
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.boost-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.boost-plan-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.boost-plan-price {
  color: #FBBF24;
  font-size: 1.2rem;
  font-weight: 800;
}

.boost-plan-perks {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: #94A3B8;
}

.boost-plan-perks li {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.boost-plan-perks li::before {
  content: '✓';
  color: #10B981;
  font-weight: 800;
}

/* 4. Talent Spotlight & Featured Professionals Showcase */
.pro-spotlight-section {
  background: #0B1120;
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.pro-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.pro-spotlight-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.pro-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.pro-spotlight-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.pro-spotlight-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.pro-spotlight-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pro-spotlight-skill {
  color: #38BDF8;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pro-spotlight-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #94A3B8;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.pro-spotlight-actions {
  display: flex;
  gap: 8px;
}

.btn-spotlight-book {
  flex: 1;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-spotlight-book:hover {
  background: #10B981;
}

.btn-spotlight-profile {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}

.btn-spotlight-profile:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* 5. Gamification Navbar Badge */
.nav-gamification-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FCD34D;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-gamification-pill:hover {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

/* 6. Referral Suite & Loyalty Hub Component Cards */
.referral-hub-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
  margin-bottom: 24px;
}

.ref-link-box {
  display: flex;
  align-items: center;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px 8px 6px 14px;
  margin: 14px 0;
}

.ref-link-input {
  flex: 1;
  background: none;
  border: none;
  color: #38BDF8;
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
}

.ref-social-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ref-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.ref-share-btn:hover {
  transform: translateY(-2px);
}

.btn-share-whatsapp { background: #25D366; }
.btn-share-telegram { background: #0088CC; }
.btn-share-facebook { background: #1877F2; }
.btn-share-email { background: #64748B; }

/* 7. Loyalty Level Progression Hub */
.loyalty-level-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
}

.loyalty-progress-track {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  height: 12px;
  width: 100%;
  overflow: hidden;
  margin: 12px 0 6px;
}

.loyalty-progress-fill {
  background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6);
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s ease;
}

.streak-flame-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
  animation: pulseFlame 1.8s infinite;
}

@keyframes pulseFlame {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.15); }
}

.rewards-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.reward-shop-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.reward-shop-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .pro-spotlight-grid { grid-template-columns: 1fr 1fr; }
  .rewards-shop-grid { grid-template-columns: 1fr 1fr; }
  .boost-plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pro-spotlight-grid { grid-template-columns: 1fr; }
  .rewards-shop-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Admin Console Subtabs & Navigation Pills (High Contrast)
   ============================================================ */
.adm-subtabs-wrap {
  background: #0B1120 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  align-items: center !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.adm-subtabs-wrap::-webkit-scrollbar {
  height: 6px;
}

.adm-subtabs-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.adm-subtab-btn {
  background: #1E293B !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.adm-subtab-btn:hover {
  background: #334155 !important;
  color: #FFFFFF !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25) !important;
  transform: translateY(-1px) !important;
}

.adm-subtab-btn.active {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
  color: #FFFFFF !important;
  border-color: #34D399 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  font-weight: 800 !important;
  transform: translateY(-1px) !important;
}

.adm-subtab-btn span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   CMS Drag & Drop Visual Builder & Studios
   ============================================================ */
.cms-draggable-item {
  transition: all 0.15s ease;
  user-select: none;
}
.cms-draggable-item:hover {
  background: #1E293B !important;
  border-color: #38BDF8 !important;
  transform: translateX(4px);
}
.cms-draggable-item:active {
  cursor: grabbing !important;
  opacity: 0.7;
}

.cms-section-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cms-section-card:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.cms-drag-handle {
  cursor: grab;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
.cms-drag-handle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}
.cms-drag-handle:active {
  cursor: grabbing;
}

.cms-dragging {
  opacity: 0.4 !important;
  border: 2px dashed #10B981 !important;
  transform: scale(0.98);
}

.cms-drop-target {
  border-top: 3px solid #10B981 !important;
  box-shadow: 0 -4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* Category Grid & Testimonials Preview Cards in CMS Canvas */
.cms-section-card [style*="border-left"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cms-section-card [style*="border-left"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   DYNAMIC TASK POSTING ENGINE STYLES
   ========================================== */
.pt-modal-container {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #0B1120;
  border-radius: 16px;
}

.pt-stepper-bar {
  display: flex;
  gap: 6px;
  background: #0F172A;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-step-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pt-step-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #CBD5E1;
}

.pt-step-item.active {
  background: #4F46E5;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.pt-step-item.completed {
  color: #10B981;
}

.pt-step-item .pt-step-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.pt-step-item.active .pt-step-badge {
  background: #fff;
  color: #4F46E5;
  font-weight: 800;
}

.pt-step-item.completed .pt-step-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.pt-dyn-field-wrap {
  transition: all 0.2s ease;
}

/* Custom switch slider for dynamic toggles */
.switch input:checked + .slider {
  background-color: #10B981 !important;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #10B981;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

/* ==========================================
   DYNAMIC TASK POSTING FORM ALIGNMENT & UI ENHANCEMENTS
   ========================================== */
#xe-pt-modal .pt-field-col label,
#xe-pt-modal label.pt-field-label,
#xe-pt-modal .pt-label-row label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #CBD5E1 !important;
  margin: 0 !important;
}

#xe-pt-modal form label {
  display: block;
}

#xe-pt-modal .adm-select,
#xe-pt-modal .adm-input {
  background: #1E293B !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  padding: 10px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

#xe-pt-modal .adm-select:focus,
#xe-pt-modal .adm-input:focus {
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
  outline: none !important;
}

#xe-pt-modal .adm-input.is-invalid,
#xe-pt-modal .adm-select.is-invalid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

.pt-inline-err {
  color: #F87171 !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  margin-top: 5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.pt-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.pt-form-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 640px) {
  .pt-form-row-2col,
  .pt-form-row-3col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

#xe-pt-modal .pt-field-col {
  display: flex;
  flex-direction: column;
}

#xe-pt-modal label {
  color: #CBD5E1;
}

.pt-suggest-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: #94A3B8;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pt-suggest-chip:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: #6EE7B7;
  transform: translateY(-1px);
}

/* ==========================================================================
   ADVANCED USER PROFILE STUDIO & HUB V2
   ========================================================================== */
.profile-v2-wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 80px;
  box-sizing: border-box;
}

/* Hero & Banner */
.pv2-hero-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px -10px rgba(15, 23, 42, 0.08);
  margin-bottom: 24px;
  position: relative;
}

.pv2-banner {
  height: 200px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #064E3B 100%);
  position: relative;
  overflow: hidden;
}

.pv2-banner-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}

.pv2-banner-badge {
  position: absolute;
  top: 18px;
  right: 24px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.pv2-banner-edit-btn {
  position: absolute;
  top: 18px;
  left: 24px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #F8FAFC;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.pv2-banner-edit-btn:hover {
  background: rgba(16, 185, 129, 0.9);
  border-color: #10B981;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.pv2-hero-content {
  padding: 0 32px 28px;
  position: relative;
}

.pv2-hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -55px;
  margin-bottom: 16px;
  gap: 20px;
  flex-wrap: wrap;
}

.pv2-avatar-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pv2-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  background: #10B981;
}

.pv2-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3.5px solid #ffffff;
}

.pv2-avatar-edit-btn {
  position: absolute;
  bottom: 2px;
  right: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0F172A;
  border: 2.5px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  z-index: 3;
}

.pv2-avatar-edit-btn:hover {
  background: #10B981;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.pv2-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.pv2-preset-card {
  height: 70px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-end;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  background-size: cover;
  background-position: center;
}

.pv2-preset-card:hover {
  transform: translateY(-2px);
  border-color: #10B981;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.pv2-color-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pv2-color-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s ease;
}

.pv2-color-circle:hover, .pv2-color-circle.active {
  transform: scale(1.15);
  border-color: #0F172A;
  box-shadow: 0 0 0 2px #10B981;
}

.pv2-upload-dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pv2-upload-dropzone:hover {
  border-color: #10B981;
  background: #ECFDF5;
}

.pv2-status-online { background: #10B981; box-shadow: 0 0 10px #10B981; }
.pv2-status-busy { background: #EF4444; }
.pv2-status-away { background: #F59E0B; }

.pv2-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 6px;
}

.pv2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.pv2-btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.pv2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.pv2-btn-outline {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #1E293B;
}

.pv2-btn-outline:hover {
  background: #EDF2F7;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.pv2-user-info h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pv2-verified-pill {
  font-size: 0.76rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.pv2-username-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-decoration: none;
  vertical-align: middle;
}

.pv2-username-chip:hover {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.12);
}

.pv2-username-chip svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.pv2-username-chip:hover svg {
  opacity: 1;
}

/* Username field in edit profile modal */
.pv2-uname-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
  background: #fff;
}

.pv2-uname-wrap:focus-within {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.pv2-uname-prefix {
  padding: 0 10px;
  color: #94A3B8;
  font-weight: 700;
  font-size: 1rem;
  background: #F8FAFC;
  border-right: 1.5px solid #E2E8F0;
  height: 42px;
  display: flex;
  align-items: center;
}

.pv2-uname-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  flex: 1;
  padding: 0 12px;
  font-size: 0.95rem;
  height: 42px;
}

.pv2-uname-status {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
  min-height: 18px;
  transition: color 0.2s;
}

.pv2-uname-status.available {
  color: #059669;
}

.pv2-uname-status.taken {
  color: #DC2626;
}

.pv2-uname-status.checking {
  color: #94A3B8;
}

.pv2-uname-preview {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 3px;
}

.pv2-headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #475569;
  margin: 0 0 10px;
}

.pv2-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #64748B;
}

.pv2-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pv2-rate-tag {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 3px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
}

/* Gamification Progress Card */
.pv2-level-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 20px;
  padding: 22px 28px;
  color: #FFFFFF;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.pv2-level-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

.pv2-level-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pv2-level-next {
  font-size: 0.82rem;
  color: #94A3B8;
}

.pv2-progress-bar-wrap {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.pv2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #06B6D4 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.pv2-level-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94A3B8;
}

/* Key Metrics Grid */
.pv2-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pv2-metric-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pv2-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.pv2-metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pv2-metric-body b {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.pv2-metric-body small {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 600;
}

/* Layout Split */
.pv2-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1080px) {
  .pv2-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Tabs Navigation */
.pv2-tabs-nav {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
  overflow-x: auto;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  scrollbar-width: thin;
}

.pv2-tab-btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748B;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pv2-tab-btn:hover {
  color: #0F172A;
  background: #F1F5F9;
}

.pv2-tab-btn.active {
  color: #10B981;
  background: #ECFDF5;
}

/* Tab Panels */
.pv2-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
}

.pv2-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Portfolio Grid */
.pv2-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pv2-portfolio-card {
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.pv2-portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.pv2-portfolio-card.pv2-card-live-editing {
  border: 2px solid #10B981 !important;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.22) !important;
  transform: translateY(-2px) !important;
  position: relative !important;
  background: #ffffff !important;
}

.pv2-portfolio-img-wrap {
  height: 180px;
  background: #F1F5F9;
  position: relative;
  overflow: hidden;
}

.pv2-portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pv2-portfolio-card:hover .pv2-portfolio-img {
  transform: scale(1.04);
}

.pv2-portfolio-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.pv2-portfolio-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pv2-portfolio-body h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
}

.pv2-portfolio-body p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0 0 12px;
  flex: 1;
  line-height: 1.45;
}

.pv2-portfolio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 10px;
}

/* Reviews & Histogram */
.pv2-review-overview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: #F8FAFC;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 24px;
  align-items: center;
}

.pv2-score-box {
  text-align: center;
}

.pv2-big-score {
  font-size: 3rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  margin-bottom: 4px;
}

.pv2-stars-wrap {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.pv2-histogram-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.pv2-histo-bar-wrap {
  flex: 1;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.pv2-histo-fill {
  height: 100%;
  background: #F59E0B;
  border-radius: 999px;
}

.pv2-review-item {
  border-bottom: 1px solid #F1F5F9;
  padding: 16px 0;
}

.pv2-review-item:last-child {
  border-bottom: none;
}

.pv2-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* Sidebar Widgets Modern Design */
.pv2-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pv2-widget {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  width: 100%;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.pv2-widget:hover {
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
}

.pv2-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.pv2-widget-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.pv2-widget-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.pv2-widget-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pv2-widget-badge-green {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.pv2-widget-badge-status {
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.pv2-verify-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv2-verify-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  transition: all 0.2s ease;
  min-width: 0;
}

.pv2-verify-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pv2-verify-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.pv2-verify-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pv2-verify-info {
  min-width: 0;
  flex: 1;
}

.pv2-verify-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
  display: block;
  line-height: 1.25;
}

.pv2-verify-sub {
  font-size: 0.72rem;
  color: #64748B;
  display: block;
  margin-top: 2px;
  line-height: 1.25;
}

.pv2-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.pv2-status-pill-verified {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.pv2-status-pill-pending {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.pv2-trust-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  color: #64748B;
  line-height: 1.4;
}

/* Availability Card Features */
.pv2-avail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.pv2-avail-item {
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pv2-avail-label {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pv2-avail-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv2-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pv2Pulse 2s infinite;
}

@keyframes pv2Pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Completeness Widget */
.pv2-complete-widget {
  background: linear-gradient(145deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1px solid #A7F3D0;
}

.pv2-complete-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pv2-complete-bar-wrap {
  height: 8px;
  background: rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pv2-complete-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.pv2-complete-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.pv2-complete-check-item {
  font-size: 0.72rem;
  color: #065F46;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.pv2-link-btn {
  color: #10B981;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.pv2-link-btn:hover {
  text-decoration: underline;
  color: #059669;
}

.pv2-badge-fast {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1E40AF;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Specialty Highlights & Badges Modern Styles */
.pv2-specialty-card {
  padding: 16px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pv2-specialty-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.pv2-specialty-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.pv2-specialty-body b {
  display: block;
  font-size: 0.92rem;
  color: #0F172A;
  margin-bottom: 4px;
  font-weight: 700;
}

.pv2-specialty-body p {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.pv2-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pv2-skill-pill {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pv2-skill-pill:hover {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

/* Task History List */
.pv2-task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv2-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #F8FAFC;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.pv2-task-item:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateX(4px);
}

.pv2-task-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F172A;
  margin-bottom: 4px;
}

.pv2-task-sub {
  font-size: 0.78rem;
  color: #64748B;
}

.pv2-task-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.pv2-badge-completed { background: #ECFDF5; color: #065F46; }
.pv2-badge-progress { background: #EFF6FF; color: #1E40AF; }
.pv2-badge-open { background: #FEF3C7; color: #92400E; }

/* Modal Form Controls */
.pv2-modal-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 18px;
  overflow-x: auto;
}

.pv2-modal-tab-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.85rem;
  color: #64748B;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.pv2-modal-tab-btn.active {
  color: #10B981;
  border-bottom-color: #10B981;
}

.pv2-form-group {
  margin-bottom: 16px;
}

.pv2-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.pv2-input, .pv2-textarea, .pv2-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.88rem;
  background: #FFFFFF;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.pv2-input:focus, .pv2-textarea:focus, .pv2-select:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

@media (max-width: 900px) {
  .pv2-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pv2-layout-grid { grid-template-columns: 1fr; }
  .pv2-portfolio-grid { grid-template-columns: 1fr; }
  .pv2-review-overview { grid-template-columns: 1fr; text-align: center; }
  .pv2-hero-row { flex-direction: column; align-items: flex-start; margin-top: -50px; }
  .pv2-actions { width: 100%; }
  .pv2-btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .pv2-metrics-grid { grid-template-columns: 1fr; }
  .pv2-banner { height: 140px; }
  .pv2-avatar { width: 90px; height: 90px; font-size: 2.2rem; }
}

/* ==========================================================================
   USER VERIFICATION WIZARD & TRUST PILLARS
   ========================================================================== */
.pv2-verify-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

.pv2-vb-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.pv2-vb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #DBEAFE;
  color: #1D4ED8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pv2-vb-content strong {
  display: block;
  font-size: 0.96rem;
  color: #1E3A8A;
  margin-bottom: 2px;
}

.pv2-vb-content p {
  font-size: 0.82rem;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

.pv2-verify-card.clickable {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pv2-verify-card.clickable:hover {
  transform: translateY(-1px);
  border-color: #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.pv2-status-pill-unverified {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.pv2-status-pill-pending {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.pv2-widget-badge-amber {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* ============================================================
   INTERACTIVE CATEGORY PICKER & SKILL TAGS STUDIO
   ============================================================ */
.pv2-cat-section {
  margin-top: 8px;
}

.pv2-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pv2-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.pv2-cat-pill:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: #1D4ED8;
  transform: translateY(-1px);
}

.pv2-cat-pill.active {
  background: #ECFDF5;
  border-color: #10B981;
  color: #065F46;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.18);
}

.pv2-cat-pill.active::after {
  content: '✓';
  font-size: 0.72rem;
  margin-left: 2px;
  color: #10B981;
}

/* Interactive Tag Input for Skills */
.pv2-skills-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  min-height: 46px;
  cursor: text;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pv2-skills-box:focus-within {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.pv2-skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pv2TagIn 0.15s ease;
}

@keyframes pv2TagIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.pv2-skill-tag-del {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.15);
  color: #1E40AF;
  font-size: 0.68rem;
  line-height: 1;
  transition: all 0.12s;
}

.pv2-skill-tag-del:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.pv2-skill-input {
  border: none;
  outline: none;
  padding: 4px 6px;
  font-size: 0.85rem;
  color: #0F172A;
  min-width: 140px;
  flex: 1;
  background: transparent;
}

/* Suggested Skills Tray */
.pv2-suggested-tray {
  margin-top: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
}

.pv2-suggested-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pv2-suggested-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pv2-suggest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pv2-suggest-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pv2-suggest-pill:hover {
  border-color: #10B981;
  color: #047857;
  background: #F0FDF4;
  transform: translateY(-1px);
}

.pv2-suggest-pill.added {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #059669;
  cursor: default;
  opacity: 0.65;
}

.pv2-suggest-pill.added:hover {
  transform: none;
}


/* Verification Wizard Modal */
.vw-modal {
  max-width: 680px;
  width: 95%;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.vw-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 24px 28px 20px;
  position: relative;
}

.vw-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vw-title-row h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.vw-subtitle {
  color: #94A3B8;
  font-size: 0.84rem;
  margin: 0 0 16px;
  line-height: 1.4;
}

.vw-progress-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.vw-progress-fill {
  background: #10B981;
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.vw-steps-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.vw-step-tab {
  padding: 14px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vw-step-tab.active {
  color: #059669;
  border-bottom-color: #059669;
  background: #FFFFFF;
}

.vw-step-tab.completed {
  color: #10B981;
}

.vw-body {
  padding: 24px 28px;
  max-height: 70vh;
  overflow-y: auto;
}

.vw-verify-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.vw-verify-card:focus-within {
  border-color: #3B82F6;
}

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

.vw-verify-title {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0F172A;
}

.vw-input-group {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.vw-input-group input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
}

.vw-input-group input:focus {
  border-color: #2563EB;
}

.vw-demo-code {
  background: #FEF3C7;
  border: 1px dashed #F59E0B;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #92400E;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vw-dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.vw-dropzone:hover {
  border-color: #3B82F6;
  background: #EFF6FF;
}

.vw-dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.vw-preview-thumb {
  max-height: 140px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  margin-top: 10px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.vw-payout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.vw-payout-opt {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.15s;
}

.vw-payout-opt:hover {
  border-color: #3B82F6;
  background: #F8FAFC;
}

.vw-payout-opt.selected {
  border-color: #10B981;
  background: #ECFDF5;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   PORTFOLIO DYNAMIC TAGS, CATEGORIES & LIVE LINK STYLES
   ========================================================================== */
@keyframes pv2TagPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.pv2-tag-input-container {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  cursor: text;
  transition: all 0.2s ease;
}
.pv2-tag-input-container:focus-within {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
  background: #FFFFFF;
}

.pv2-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  animation: pv2TagPop 0.2s ease-out;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
  user-select: none;
}
.pv2-tag-chip-del {
  background: none;
  border: none;
  cursor: pointer;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s;
}
.pv2-tag-chip-del:hover {
  color: #DC2626;
  background: rgba(220, 38, 38, 0.12);
  transform: scale(1.15);
}

.pv2-tag-single-input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 0.82rem !important;
  color: #0F172A !important;
  flex: 1;
  min-width: 140px;
  padding: 4px 6px !important;
  box-shadow: none !important;
}

.pv2-suggest-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 3px 9px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.pv2-suggest-chip:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}
.pv2-suggest-chip.active {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.pv2-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.pv2-cat-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
}
.pv2-cat-pill.active {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.pv2-link-preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 7px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.pv2-link-preset-chip:hover {
  border-color: #10B981;
  color: #10B981;
  background: #ECFDF5;
  transform: translateY(-1px);
}
.pv2-link-preset-chip.active {
  border-color: #10B981;
  background: #10B981;
  color: #FFFFFF;
}

/* ---------- Add Certificate Modal Enhancements ---------- */
.cert-quick-chip {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.cert-quick-chip:hover {
  background: #EFF6FF !important;
  border-color: #3B82F6 !important;
  color: #1D4ED8 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
}
.cert-quick-chip:active {
  transform: translateY(0);
}

#cert-drop-zone {
  transition: all 0.2s ease;
}
#cert-drop-zone:hover {
  border-color: #10B981 !important;
  background: #F0FDF4 !important;
}








