@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #f57da0;
  --pink-light: #f8bbd0;
  --pink-bg: #fce4ec;
  --pink-card: #ef9abb;
  --black: #1a1a1a;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --green: #00a63e;
  --sidebar-w: 260px;
  --radius: 14px;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.09);
}
html {
  zoom: 90%;
}
body {
  flex-direction: column;
  font-family: "Inter", sans-serif;
  background: #f9fafb;
  color: var(--black);
  min-height: 100vh;
  font-size: 14px;
}
select {
  font-family: "Inter", sans-serif;
}

/* SIDEBAR */
.sidebar {
  width: var(--sidebar-w);
  background: #fff;
  border-right: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  padding: 32px 0 16px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}
.sidebar-brand .brand-name {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
}
.sidebar-brand .brand-sub {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

.sidebar-nav {
  padding: 0 8px;
  flex: 1;
}

.nav-section {
  margin-bottom: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #4a5565;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  position: relative;
}
.nav-item:hover {
  background: var(--gray-100);
  color: var(--black);
}
.nav-item.active {
  background: #fce7f3;
  color: var(--pink);
}
.nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.75;
}
.nav-item.active svg {
  opacity: 1;
}

.nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
}
.nav-group-header:hover {
  background: var(--gray-100);
}
.nav-group-header svg {
  width: 16px;
  height: 16px;
}
.nav-group-header .chevron {
  width: 14px;
  height: 14px;
  color: var(--gray-500);
  transition: transform 0.2s;
}
.nav-group-header.open .chevron {
  transform: rotate(180deg);
}
.nav-group-header.active {
  color: #f06292;
  background: #fce7f3;
}
.nav-group-header.active div a {
  color: #f06292;
}

.nav-sub {
  padding-left: 8px;
}
.nav-sub .nav-item {
  font-size: 14px;
  font-weight: 400;
  margin-top: 6px;
}

/* Change SVG stroke color when nav-group-header is active */
.nav-group-header.active svg path,
.nav-group-header.active svg circle,
.nav-group-header.active svg line,
.nav-group-header.active svg polyline {
  stroke: var(--pink) !important;
}

/* Target all SVG elements when nav-item is active */
.nav-item.active svg *[stroke] {
  stroke: var(--pink) !important;
}

/* MAIN */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 32px 36px;
  min-height: 100vh;
}

/* PAGE HEADER */
.page-header {
  margin-bottom: 28px;
  position: relative;
}
.page-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--gray-600);
  text-decoration: none;
  margin-bottom: 14px;
}
.page-header .back-link:hover {
  color: var(--black);
}
.page-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}
.page-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* HERO CARD */
.hero-card {
  background: var(--pink);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.hero-card-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-card-value {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-card-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}
.hero-card-change {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* STAT CARDS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.stat-card-label {
  font-size: 14px;
  color: #4a5565;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 400;
}
.stat-card-label svg {
  width: 24px;
  height: 24px;
  color: var(--gray-400);
}
.stat-card-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  line-height: 1;
}
.stat-card-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 16px;
}
.stat-card-change {
  font-size: 14px;
  color: var(--green);
  margin-top: 16px;
}
.stat-card-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 5px;
}

.stat-card-label .card-icon {
  padding: 12px;
  background: #f3f4f6;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CARD */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title svg {
  width: 18px;
  height: 18px;
  color: var(--gray-500);
}

/* SELECT DROPDOWN */
.select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--gray-700);
  cursor: pointer;
  background: #fff;
  font-family: "Inter", sans-serif;
}
.select-btn svg {
  width: 14px;
  height: 14px;
  color: var(--gray-500);
}

/* GRID 2 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* VIEW LINK */
.view-link {
  font-size: 12.5px;
  color: var(--pink);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-link:hover {
  text-decoration: underline;
}

/* LIST ITEM */
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.list-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.list-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.list-item-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--black);
}
.list-item-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}
.list-item-right {
  text-align: right;
}
.list-item-pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.list-item-val {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* DONUT */
.donut-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}
.donut-legends {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 8px;
  width: 80%;
  margin: 0 auto;
}
.donut-legend {
  padding: 16px;
  background: #f9fafb;
  border-radius: 10px;
}
.donut-legend-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.donut-legend-line span {
  display: inline-block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
}
.donut-legend-sub {
  font-size: 12px;
  color: var(--gray-500);
  padding-left: 32px;
}

/* DESTINATION CARD */
.dest-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dest-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dest-icon {
  width: 42px;
  height: 42px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dest-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gray-700);
}
.dest-pkg-label {
  font-size: 11.5px;
  color: var(--gray-500);
  text-align: right;
}
.dest-pkg-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}
.dest-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.dest-desc {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.dest-link {
  font-size: 12.5px;
  color: var(--pink);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dest-link:hover {
  text-decoration: underline;
}

/* REWARD CARD */
.reward-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.reward-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reward-img img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f5f5f5;
  padding: 16px;
}
.reward-info {
  padding: 14px 16px;
}
.reward-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.reward-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

/* MINI STAT */
.mini-stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.mini-stat-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.mini-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
}
.mini-stat-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}
.mini-stat-value.green {
  color: var(--green);
}

/* MARKETING REWARD SECTION CARDS */
.mrkw-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.mrkw-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.mrkw-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gray-700);
}
.mrkw-pkg-label {
  font-size: 12px;
  color: var(--gray-500);
  text-align: right;
  margin-bottom: 2px;
}
.mrkw-pkg-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}
.mrkw-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mrkw-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  margin-top: 8px;
}
.mrkw-items {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.mrkw-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mrkw-link {
  font-size: 12.5px;
  color: var(--pink);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.nav-group-header a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  color: #364153;
  width: 184px;
  font-weight: 500;
  font-size: 16px;
}
.rev-legend {
  display: flex;
  justify-content: space-around;
  gap: 48px;
  margin-top: 20px;
  width: 80%;
  margin: 0 auto;
  margin-top: 60px;
}
.rev-legend-item {
  text-align: center;
}
.rev-legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-bottom: 4px;
}
.rev-legend-label {
  font-size: 12px;
  color: var(--gray-600);
}
.rev-legend-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-top: 5px;
}

/* donet_1 */
.donut_one .donut-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto;
}
.donut_one .donut-container canvas {
  width: 380px !important;
  height: 380px !important;
}
.donut_one .donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.donut_one .donut-center-val {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  font-family: "Inter", sans-serif;
}
.donut_one .donut-center-lbl {
  font-size: 14px;
  color: #6a7282;
  font-family: "Inter", sans-serif;
}

/* donut_2 */
.donut_two .donut-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto 32px;
}
.donut_two .donut-container canvas {
  width: 380px !important;
  height: 380px !important;
}
.donut_two .donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.donut_two .donut-center-val {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  font-family: "Inter", sans-serif;
}
.donut_two .donut-center-lbl {
  font-size: 14px;
  color: var(--gray-500);
  font-family: "Inter", sans-serif;
}

/* donut_3 */
.donut_three .donut-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto 32px;
}
.donut_three .donut-container canvas {
  width: 380px !important;
  height: 380px !important;
}
.donut_three .donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.donut_three .donut-center-val {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  font-family: "Inter", sans-serif;
}
.donut_three .donut-center-lbl {
  font-size: 14px;
  color: var(--gray-500);
  font-family: "Inter", sans-serif;
}

/*incentive command-center page css start */

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reward-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.reward-img-box {
  background: #f9fafb;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.reward-img-box img {
  max-width: 100%;
  object-fit: contain;
}

.reward-img-placeholder {
  width: 80px;
  height: 80px;
  background: var(--gray-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-img-placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--gray-400);
}

.reward-info {
  padding: 14px 16px 18px;
}

.reward-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 5px;
}

.reward-price {
  font-size: 16px;
  color: var(--gray-700);
  font-weight: 500;
}
/*incentive command-center page css end */

/* Middle row - two big cards */
.mid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-title svg {
  width: 16px;
  height: 16px;
  color: var(--gray-600);
}
.view-link {
  font-size: 13px;
  color: var(--pink);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}
.view-link:hover {
  text-decoration: underline;
}

/* Donut chart area */
.donut-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 12px;
}
.donut-rel {
  position: relative;
  width: 260px;
  height: 260px;
}
.donut-rel canvas {
  width: 260px !important;
  height: 260px !important;
  transform: rotate(90deg);
}
.donut-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.donut-label-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}
.donut-label-sub {
  font-size: 11px;
  color: var(--gray-500);
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}

/* Legend rows */
.legend-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 12px 0;
}
select.dropdown {
  width: auto;
  min-width: 140px;
  background: #f3f3f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
  gap: 12px;
  border: none;
}
.dropdown-text {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
}
.dropdown-icon {
  width: 24px;
  height: 24px;
  border-right: 3px solid #9a9a9a;
  border-bottom: 3px solid #9a9a9a;
  transform: rotate(45deg);
  margin-top: -5px;
}
.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.legend-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-name {
  font-size: 13.5px;
  color: var(--gray-700);
}
.legend-right {
  text-align: right;
}
.legend-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.legend-pct {
  font-size: 12px;
  color: var(--gray-500);
}

/* Bottom row */
.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bottom-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.bottom-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.bottom-panel-title svg {
  width: 16px;
  height: 16px;
  color: var(--gray-600);
}

/* Revenue channel items */
.channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: white;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid #e8e8e8;
}
.channel-item:last-child {
  margin-bottom: 0;
}
.channel-item:hover {
  background: var(--gray-100);
}
.channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f59bb5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-icon.black {
  background: #000000;
}
.channel-icon svg {
  width: 18px;
  height: 18px;
}
.channel-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}
.channel-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}
.channel-arrow {
  color: var(--gray-400);
}
.channel-arrow svg {
  width: 16px;
  height: 16px;
}

/* Marketing rewards grid */
.mreward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mreward-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 16px;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: background 0.15s;
}
.mreward-item:hover {
  background: var(--gray-100);
}
.mreward-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.mreward-icon.pink {
  background: #c0c0c0;
}
.mreward-item .pink-bg {
  background-color: #f59bb5 !important;
}
.mreward-icon .light-grey-bg {
  background-color: #e8e8e8 !important;
}
.mreward-icon svg {
  width: 18px;
  height: 18px;
}
.mreward-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 3px;
}
.mreward-count {
  font-size: 12px;
  color: var(--gray-500);
}
#menuToggle {
  display: none;
  font-size: 18px;
  background: #f06292;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
  position: absolute;
  right: 0%;
  top: 0;
  z-index: 999999;
}


/* ---- dp-menu */
.on-demand-dropdown{
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: #fff;
  z-index: 9999;
  display: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.on-demand-dropdown.active{
  display: block;
}

.dropdown-inner{
  display: flex;
}

.left-box{
  width: 220px;
  background: #fff;
  padding: 16px;
  position: relative;
  
}

.left-box h3{
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: "Teko", sans-serif;
}

.left-box p{
  margin-bottom: 6px;
  line-height: normal;
  font-size: 12px;
}

.left-box img{
  width: 100%;
  margin-top: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.right-box{
  flex: 1;
  background: #fff;
}

.top-tabs{
  display: flex;
}

.top-tabs button{
  flex: 1;
  border: none;
  padding: 16px;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  position: relative;
}

.top-tabs button.active{
  background: #FEE5ED;
}
.top-tabs button.active::before {
    content: '';
    width: 18px;
    height: 10px;
    background-color: #F0578C;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    left: 46%;
    bottom: 0;
}

.coach-bar{
  background: #F0578C;
  color: #fff;
  text-align: center;
  padding: 6px;
  font-weight: 400;
  font-size: 14px;
      display: flex;
    justify-content: center;
    gap: 4px;
}
.coach-bar span{
  display: flex;
}

.coach-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  padding: 20px;
}

.coach-col h4{
  color: #F0578C;
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 4px;
  font-family: "Teko", sans-serif;
}

.coach-col a{
  display: block;
  color: #000;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 12px;
}

.coach-col span{
  display: inline-block;
  margin-top: auto;
  color: #F0578C;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
}
.coach-col {
    display: flex;
    flex-direction: column;
}

nav{
  position: relative;
}

/* RESPONSIVE */



@media (max-width: 1100px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .donut-legends {
    grid-template-columns: repeat(2, 1fr);
  }

  .rewards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mid-row {
    grid-template-columns: 1fr;
  }
  .main {
    padding: 20px;
  }
  .bottom-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  :root {
    --sidebar-w: 0px;
  }
  .sidebar {
    transform: translateX(-100%);
  }
  .main {
    margin-left: 0;
    padding: 20px 16px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .donut-legends {
    grid-template-columns: 1fr 1fr;
  }
  .hero-card-value {
    font-size: 32px;
  }

  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-toggle {
    display: block;
  }
  aside.sidebar.active {
    transform: translateX(0);
    height: 100%;
    width: 260px;
  }
}
@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
  .donut-legends {
    grid-template-columns: 1fr;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
  }
}

/* header */
/* common */
.header_main {
  background: #fff;
  zoom: 110%;
}
.header_main .my-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.header_main a {
  text-decoration: none;
}

.header_main button {
  border: none;
  cursor: pointer;
  background: transparent;
}

.header_main .btn-pri {
  font-family: "Teko", sans-serif;
  background: #f59bb5;
  padding: 7px 48px;
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.header_main .btn-pri:hover {
  background: #f57da0;
}

/* ================= NAVBAR ================= */

.header_main {
  padding: 16px 0;
}

.header_main .my-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1480px;
}

.header_main .menu {
  display: flex;
  gap: 35px;
  text-transform: uppercase;
}

.header_main .menu a {
  color: #131313;
  font-family: "Teko", sans-serif;
  letter-spacing: 2px;
  font-size: 17px;
  transition: all 0.4s ease;
}

.header_main .menu a:hover {
  color: #f59bb5;
}

.header_main .button-group {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header_main .menu-toggle {
  display: none;
}

/* ================= FOOTER ================= */

.site-footer {
  padding: 40px 24px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 9999;
  position: relative;
}

.footer-logo img {
  width: 70px;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-nav a {
  font-size: 14px;
  color: #808080;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: #000;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}
@media (max-width: 1360px) {
.header_main .menu{
  gap: 16px;
}
}
@media (max-width: 1280px) {
.header_main .menu a{
  font-size: 14px;
}
}

@media (max-width: 1080px) {
  .header_main .menu {
    display: none;
  }
  .header_main .menu-toggle {
    display: block;
  }
  .header_main .button-group{
    gap: 12px;
  }
  .header_main .menu.active {
    display: flex;
    z-index: 9999999999;
  }
  .header_main .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 24px;
    width: 260px;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    display: none;
    border: 1px solid #eee;
    z-index: 99;
  }
  .footer-nav {
    row-gap: 6px;
  }
  .header_main .menu a{
  font-size: 16px;
}
}

.main-conteiner {
  max-width: 1550px;
  margin: 0 auto;
  position: relative;
}

/* dropdown navbar css */
.dropbtn {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Chevron style */
.chevron {
  font-size: 12px;
  margin-top: -1px;
}

/* Rotate when active */
/* .dropdown.active .chevron {
  transform: rotate(180deg);
} */
.nav-drop-down {
  display: none;
}

.dropdown .nav-drop-down {
  padding: 12px;
}

.dropdown {
  position: relative;
}

/* FIX: remove from layout */
.nav-drop-down {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: auto;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 999;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

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

.dropdown.active .chevron {
  color: #f3628c;
}
.dropdown:hover {
  color: #f3628c !important;
}
.dropdown span.chevron svg {
  stroke: #131313 !important;
}
.dropdown:hover span.chevron svg {
  stroke: #f3628c !important;
}
.dropdown:hover .nav-drop-down {
  display: flex !important;
}

@media (max-width: 767px) {
  .nav-drop-down {
    position: relative; /* acts like accordion */
  }
    #menuToggle{
    display: block;
  }
    .left-box{
    display: none;
  }
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 12px;
}
.top-tabs button {

    font-size: 14px;
}
}
