/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}


.table-responsive {
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

.table-responsive::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}


.tablenew {
  overflow-x: clip !important;
}

.card .mobtt {
  margin-bottom: 136px !important;
}

@media (max-width: 768px) {
  .tablenew {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
  }

  .walletsec {

    box-shadow: 86px 47px 105px rgb(253 254 255 / 8%);
    align-items: flex-start;
    justify-content: space-evenly;
    width: 262px;
    background: #ffffff;
    top: 130%;
    display: flex;
    left: -184px;
  }


  .lannav {
    font-size: 12px !important;
  }

  .wallbtn {
    font-size: 14px;
    padding: 0px;
    margin-left: 4px;
    margin-bottom: 0 !important;
  }

  .mobp-6 {
    padding: 6px;
    font-size: 12px;
  }

  .profilemob {
    margin-left: 15px;
  }
}

/* For mobile, tablets, and small laptops */
@media (max-width: 1024px) {
  .tablenew {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    /* smooth scroll on iOS */
    display: block;
    white-space: nowrap;
    /* prevent wrapping */
  }
}


.thin-scrollbar {
  scrollbar-width: thin;
}




/* SECTION BASE */
.soft-section {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.soft-header {
  background: transparent;
  font-weight: 600;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soft-header small {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.soft-icon .bx {
  font-size: 30px;
}

/* FUNNEL CARDS */
.soft-card {
  background: #fff;
  padding: 26px 18px;
  display: flex;
  border-radius: 16px;
  gap: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  transition: .25s;
  align-items: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.soft-card:hover {
  transform: translateY(-4px);
}

/* ICON BADGES */
.soft-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 22px;
}

.soft-icon.primary {
  background: #eef2ff;
  color: #4f46e5;
}

.soft-icon.success {
  background: #ecfdf5;
  color: #16a34a;
}

.soft-icon.warning {
  background: #fff7ed;
  color: #f97316;
}

.soft-icon.info {
  background: #ecfeff;
  color: #0891b2;
}

.soft-icon.orange {
  background: #fff7ed;
  color: #ea580c;
}

/* ALERT */
.soft-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 14px;
}


.metric-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  min-height: 150px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all .35s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.metric-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 30%;
  opacity: 0.95;
}


.metric-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ffffffbd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.metric-icon .bx {
  font-size: 22px;
  color: black;
}

.metric-title {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.metric-sub {
  font-size: 12px;
  color: #6b7280;
}

/* Color themes */
.metric-card.green::before {
  background: linear-gradient(135deg, #bbf7d0, #4ade80);
}

.metric-card.blue::before {
  background: linear-gradient(135deg, #bfdbfe, #60a5fa);
}

.metric-card.purple::before {
  background: linear-gradient(135deg, #e9d5ff, #a855f7);
}

.metric-card.orange::before {
  background: linear-gradient(135deg, #fed7aa, #fb923c);
}

/* KPI CARD BASE */
.kpi-clean-card {
  position: relative;
  padding: 24px 24px 30px 100px;
  background: #fff;
  z-index: -1;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: .3s ease;
}

.kpi-clean-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

/* TOP-LEFT GRADIENT CORNER */
.kpi-corner {
  position: absolute;
  top: -55px;
  left: -52px;
  width: 140px;
  height: 140px;
  border-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ICON INSIDE CORNER */
.kpi-corner-icon {
  width: 42px;
  height: 42px;
  background: #ffffffad;
  border-radius: 50%;
  display: flex;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  margin-top: 41px;
  margin-left: 46px;
  justify-content: center;
}

/* CONTENT */
.kpi-content {
  position: relative;
  z-index: 2;
}

.kpi-title {
  font-size: 14px;
  color: #374151;
  margin: 2px 0;
}

.kpi-value {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.kpi-sub {
  font-size: 12px;
  color: #6b7280;
}

/* COLOR VARIANTS (MATCH REFERENCE) */
.kpi-clean-card.blue .kpi-corner {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
}


.kpi-clean-card.green .kpi-corner {
  background: linear-gradient(135deg, #dcfce7, #86efac);
}


.kpi-clean-card.orange .kpi-corner {
  background: linear-gradient(135deg, #ffedd5, #fdba74);
}


.kpi-clean-card.purple .kpi-corner {
  background: linear-gradient(135deg, #f3e8ff, #d8b4fe);
}

.kpi-corner-icon {
  color: #000000;
}

.kpi-corner-icon .bx {
  font-size: 22px;
}


/* ================= CAMPAIGN VIEW ================= */

/* HERO */
.cam_view-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #4f8cff, #6fd6ff);
  color: #fff;
  padding: 28px 32px;
  border-radius: 14px;
  margin-bottom: 24px;
}

.cam_view-hero h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.cam_view-hero p {
  margin: 6px 0 0;
  opacity: 0.9;
  font-size: 14px;
}

.cam_view-status span {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* METRICS */
.cam_view-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cam_view-metrics .metric {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cam_view-metrics .metric h3 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: #222;
}

.cam_view-metrics .metric span {
  font-size: 13px;
  color: #777;
}

.cam_view-metrics .highlight {
  background: linear-gradient(135deg, #34d399, #22c55e);
  color: #fff;
}

.cam_view-metrics .highlight h3,
.cam_view-metrics .highlight span {
  color: #fff;
}

/* PROGRESS */
.cam_view-progress {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 24px;
}

.cam_view-progress .label {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.cam_view-progress .bar {
  height: 12px;
  background: #e9eef3;
  border-radius: 999px;
  overflow: hidden;
}

.cam_view-progress .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4f8cff, #6fd6ff);
  border-radius: 999px;
}

/* CONFIG */
.cam_view-config {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  background: #fff;
  padding: 26px;
  border-radius: 14px;
}

.cam_view-config label {
  font-size: 12px;
  color: #888;
}

.cam_view-config p {
  margin: 6px 0 0;
  font-weight: 600;
  color: #222;
}

/* ================= ENHANCEMENTS (MISSING PARTS) ================= */

/* HERO DEPTH */
.cam_view-hero {
  position: relative;
  box-shadow: 0 20px 45px rgba(79, 140, 255, 0.35);
  overflow: hidden;
}

.cam_view-hero::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -30%;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

/* METRIC HOVER */
.cam_view-metrics .metric {
  transition: all .25s ease;
}

.cam_view-metrics .metric:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* ================= METRIC CARD ================= */
.metric {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* subtle top glow */
.metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #4f8cff, #6fd6ff);
  opacity: 0.8;
}

/* hover effect */
.metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

/* value */
.metric h3 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
  line-height: 1.2;
}

/* label */
.metric span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

/* ================= HIGHLIGHT METRIC ================= */
.metric.highlight {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
}

.metric.highlight::before {
  display: none;
}

.metric.highlight h3,
.metric.highlight span {
  color: #ffffff;
}

/* ================= EXECUTION STEPS ================= */
.cam_view-steps {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 32px;
}

.cam_view-step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 13px;
  color: #999;
}

.cam_view-step::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: #e5eaf0;
  border-radius: 50%;
  margin: 0 auto 8px;
}

.cam_view-step.active {
  color: #4f8cff;
  font-weight: 600;
}

.cam_view-step.active::before {
  background: linear-gradient(135deg, #4f8cff, #6fd6ff);
}

.cam_view-step::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #e5eaf0;
}

.cam_view-step:last-child::after {
  display: none;
}

/* ================= INSIGHT BOX ================= */
.cam_view-insight {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .cam_view-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .cam_view-config {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .cam_view-metrics {
    grid-template-columns: 1fr;
  }

  .cam_view-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}