@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
  height: 100vh;
  overflow: hidden;
  background: var(--full-bg);
}

.no-scroll {
  overflow: hidden !important;
}

.offer_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  grid-column-gap: 10px;
  grid-row-gap: 2px;
  border-radius: 0.625rem;
  padding-top: 0.5rem;

  @media (max-width: 900px) {
    grid-gap: 0.5rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

* {
  padding: 0px;
  margin: 0px;
  user-select: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif !important;
  -webkit-tap-highlight-color: transparent;
}

*:before,
*:after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

in-page-messages {
  margin-right: 12px;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
  display: none !important;
  height: 15px;
  width: 15px;
  width: 0px;
  background: transparent;
}

::-webkit-scrollbar-track {
  border-left: 6.75px solid transparent;
  border-right: 6.75px solid transparent;
  border-top: 6.75px solid transparent;
  border-bottom: 6.75px solid transparent;
  background-color: var(--scroll-background);
  border-radius: 2px;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border: 5.5px solid transparent;
  border-radius: 9px;
  background-clip: content-box;
}

/*  */

:root {
  --full-bg: rgba(255, 255, 255, 1);
  --main-bg: rgba(248, 249, 253, 1);

  --logo-bg: rgba(222, 89, 71, 1);
  --logo-icon: rgba(222, 89, 71, 1);
  --logo-color: rgba(9, 10, 12, 1);

  --sidebar-item-background: none;
  --sidebar-item-border: none;
  --sidebar-item-color: rgba(97, 101, 107, 1);

  --sidebar-item-active-background: rgba(222, 89, 71, 0.16);
  --sidebar-item-active-border: none;
  --sidebar-item-active-color: rgba(222, 89, 71, 1);

  --sidebar-item-hover-background: rgba(241, 241, 241, 1);
  --sidebar-item-hover-color: rgba(97, 101, 107, 1);

  --search-bg: rgba(255, 255, 255, 1);
  --search-border: none;
  --search-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.05);
  --search-bg-hover: rgba(22, 22, 22, 1);
  --search-icon: rgba(24, 23, 23, 1);
  --search-placeholder: rgba(24, 23, 23, 1);
  --search-color: rgba(24, 23, 23, 1);
  --search-color-dimmed: rgba(24, 23, 23, 1);

  --filter-bg: rgba(255, 255, 255, 1);
  --filter-bg-hover: rgba(240, 240, 240, 1);
  --filter-border: none;
  --filter-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.05);
  --filter-item-border: 1px solid rgb(206, 200, 200);
  --filter-arrow: rgba(145, 145, 145, 1);
  --filter-color: rgba(163, 163, 163, 1);

  --filter-checkbox-bg: rgba(237, 237, 237, 1);
  --filter-checkbox-border: rgba(254, 254, 254, 1);
  --filter-checkbox-active-bg: rgba(222, 89, 71, 1);
  --filter-checkbox-active-border: rgba(249, 249, 249, 1);

  --slider-title: rgba(9, 10, 12, 1);
  --slider-title-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.45);

  --slider-icon-color: rgba(222, 89, 71, 1);
  --slider-icon-shadow: 0px 0px 12px 0px rgba(255, 0, 0, 0.75);

  --slider-arrow-bg: linear-gradient(180deg, #ebebeb 0%, #fefefe 100%);
  --slider-arrow-border: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  --slider-arrow-border-width: 2px;
  --slider-arrow-color: rgba(93, 93, 93, 1);

  --slider-all-bg: linear-gradient(180deg, #f4f4f4 0%, #fefefe 100%);
  --slider-all-border: 0.89px solid #ececec;
  --slider-all-color: rgba(171, 170, 170, 1);

  --slider-arrow-hover-bg: linear-gradient(180deg, #ebebeb 0%, #fefefe 100%);
  --slider-arrow-hover-border: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  --slider-arrow-hover-color: rgba(35, 202, 255, 1);
  --slider-arrow-shadow: 0px 2.7px 2.92px -1.35px rgba(0, 0, 0, 0.25);

  --slider-arrow-disabled-border: linear-gradient(180deg, #eeeeee 0%, rgba(207, 207, 207, 0.5) 100%);
  --slider-arrow-disabled-bg: rgba(226, 226, 226, 1);
  --slider-arrow-disabled-color: rgba(177, 177, 177, 1);
  --slider-arrow-disabled-shadow: 0px 2.7px 2.92px -1.35px rgba(0, 0, 0, 0.25);

  --offers-bg: rgba(255, 255, 255, 1);
  --offers-border: 1px solid rgba(234, 234, 234, 1);
  --offers-shadow: 0px 3px 5px 0px rgba(161, 161, 161, 0.2);
  --offers-platforms-bg: rgba(52, 52, 52, 0.47);
  --offers-tag-bg: rgba(25, 25, 25, 0.75);
  --offers-tag-shadow: 0px 4px 8px 0px rgba(27, 27, 27, 0.16);
  --offers-tag-color: rgba(255, 255, 255, 0.9);
  --offers-color: rgba(73, 73, 73, 1);
  --offers-price: rgba(212, 70, 70, 1);

  --popup-offer-description: rgba(163, 163, 163, 1);

  --offers-hover-bg: rgba(255, 255, 255, 1);
  --offers-hover-border: none;

  --popup-bg: rgba(250, 250, 250, 1);
  --popup-border: 1px solid rgba(157, 154, 154, 1);
  --popup-shadow: none;

  --popup-subtitle-color: rgba(145, 145, 145, 1);

  --popup-events-bg: rgba(226, 226, 226, 1);

  --popup-back-color: rgba(163, 163, 163, 1);
  --popup-back-bg: rgba(230, 230, 230, 1);
  --popup-back-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.09);

  --popup-close-action-bg: rgba(73, 73, 73, 1);
  --popup-close-action-color: rgba(212, 212, 212, 1);

  --popup-close-action2-bg: rgba(73, 73, 73, 1);

  --popup-qr-color: rgba(28, 28, 28, 1);

  --popup-rewards-bg: rgba(0, 244, 84, 0.31);
  --popup-rewards-color: rgba(0, 142, 49, 1);

  --popup-rewards-text-color: rgba(28, 28, 28, 1);

  --popup-tag-bg: rgba(226, 226, 226, 1);
  --popup-tag-color: rgba(58, 58, 58, 1);

  --popup-provider-color: rgba(28, 28, 28, 1);

  --popup-activate-bg: linear-gradient(289.83deg, #b13030 30.17%, #de5947 97.55%);
  --popup-activate-shadow: none;
  --popup-activate-color: rgba(255, 255, 255, 1);

  --offer-gradient-hover-1: #b130306b;
  --offer-gradient-hover-2: #de59477b;
  --offer-gradient-hover-3: #de59470f;
  --offer-gradient-bg: #de59473e;

  --popup-close-bg: rgba(230, 230, 230, 1);
  --popup-close-color: rgba(142, 142, 142, 1);

  --spinner: #b13030;

  /* joyride */
  --joyride-bg: rgba(255, 255, 255, 1);
  --joyride-border: none;
  --joyride-shadow: 0px 4px 20px 0px rgba(255, 30, 0, 0.1);
  --joyride-arrow: rgba(255, 255, 255, 1);
  --joyride-color: rgba(57, 57, 57, 1);
  --joyride-color-dimmed: rgba(67, 67, 67, 1);
  --joyride-skip-color: rgb(80, 80, 80);
  --joyride-primary: rgba(222, 89, 71, 1);
  --joyride-spotlight-shadow: rgba(255, 255, 255, 1);
  --joyride-color-action: rgba(84, 84, 84, 1);
  /*  */

  --qr-bg: #0e2240;

  --scroll-background: #393939;
  --scroll-thumb: #49494b;

  --not-found-message: #ffffff;

  --search-result-item-bg: #041a38;

  --active-cashback-bg: linear-gradient(289.83deg, #b13030 30.17%, #de5947 97.55%);
  --active-cashback-color: rgba(255, 255, 255, 1);

  --base-skeleton-base-color: #fafafa;
  --base-skeleton-highlight-color: #ccc;

  --earning-btn-color: #f5f5f5;
  --earning-btn-bg: rgba(222, 89, 71, 1);
  --earning-btn-hover-bg: linear-gradient(289.83deg, #b13030 30.17%, #b13030 97.55%);

  --earning-page-bg: rgba(250, 250, 250, 1);
  --earning-page-shadow: none;
  --earning-page-border: none;

  --earning-stat-title-color: rgba(255, 255, 255, 0.9);
  --earning-stat-desc-color: rgba(255, 255, 255, 1);
  --earning-stat-subtitle-color: rgba(255, 255, 255, 0.8);

  --earning-stat-title2-color: rgba(98, 98, 98, 0.9);
  --earning-stat-desc2-color: rgba(152, 152, 152, 1);
  --earning-stat-subtitle2-color: rgba(69, 69, 69, 0.8);

  --earning-stat-bg: rgba(255, 255, 255, 1);
  --earning-stat-border: none;
  --earning-stat-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);

  --earning-history-title-color: rgba(79, 79, 79, 0.8);

  --earning-history-tab-bg: rgba(0, 0, 0, 0.08);
  --earning-history-tab-color: rgba(79, 79, 79, 1);
  --earning-history-tab-border: none;

  --earning-history-tab-active-bg: radial-gradient(
    50% 50% at 50% 50%,
    rgba(189, 57, 40, 0.91) 0%,
    rgba(191, 76, 61, 0.91) 100%
  );
  --earning-history-tab-active-color: rgba(255, 255, 255, 1);
  --earning-history-tab-active-border: 1px solid transparent;
  --earning-history-tab-active-shadow: none;

  /* --earning-table-border: 1px solid rgba(235, 235, 235, 1); */
  --earning-table-border: none;

  --earning-table-header-bg: rgba(242, 242, 242, 1);
  --earning-table-header-color: rgba(0, 0, 0, 1);
  --earning-table-header-border: none;

  --earning-table-body-bg: rgba(255, 255, 255, 1);
  --earning-table-body-border: 1px solid rgba(0, 0, 0, 0.1);
  --earning-table-body-title-color: rgba(46, 46, 46, 0.9);
  --earning-table-body-color: rgba(46, 46, 46, 0.9);

  --earning-history-pending-bg: rgba(211, 135, 13, 0.15);
  --earning-history-pending-border: 1px solid rgba(237, 171, 65, 0.3);
  --earning-history-pending-color: rgba(224, 148, 24, 1);

  --earning-history-completed-bg: rgba(59, 208, 101, 0.15);
  --earning-history-completed-border: 1px solid rgba(59, 208, 101, 0.3);
  --earning-history-completed-color: rgba(41, 169, 77, 1);

  --spinner-color: #de5947;

  --action-back-icon-bg: #fafafa;
  --action-back-icon-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.09);
  --action-back-icon-color: #919191;
  --action-back-text-color: #787878;

  --earnings-card-bg: rgba(255, 255, 255, 1);
  --earnings-card-border: 1px solid rgba(232, 232, 232, 1);
  --earnings-card-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05);
  --earnings-card-title-color: #494949;
  --earnings-card-date-color: rgba(73, 73, 73, 0.5);
  --earnings-card-price-color: #494949;

  /* popup-tooltip */
  --popup-tooltip-background: #f3f3f3;
  --popup-tooltip-border: 1px solid #d1d1d1;
  --popup-tooltip-border-color: #d1d1d1;
  --popup-tooltip-text-color: rgba(46, 46, 46, 0.9);

  --coin-settings-tooltip-arrow: #e6e6e6;
  --coin-settings-tooltip-border: #d1d1d1;

  /* sort icon */
  --web3-sort-icon: transparent;
  --web3-sort-active-icon: #0000007f;
  --web3-info-icon: #0000007f;

  --sww-text-color: rgba(106, 106, 106, 1);
  --sww-btn-color: rgba(255, 255, 255, 1);
  --sww-btn-background: rgba(41, 182, 246, 1);
  --sww-bg-color: rgba(0, 0, 0, 0.02);

  /*  */

  --bottom-bar-bg: rgba(255, 255, 255, 1);
  --bottom-bar-border: 0.5px solid rgba(255, 255, 255, 0.3);
  --bottom-bar-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.08);

  --bottom-bar-item-bg: rgba(0, 0, 0, 0.03);
  --bottom-bar-item-color: rgba(77, 77, 77, 1);

  --bottom-bar-item-active-bg: radial-gradient(
    50% 50% at 50% 50%,
    rgba(189, 57, 40, 0.91) 0%,
    rgba(191, 76, 61, 0.91) 100%
  );
  --bottom-bar-item-active-color: rgba(255, 255, 255, 1);
}

/* Dark mode styles */
[data-theme='dark'] {
  --full-bg: rgba(19, 19, 19, 1);
  --main-bg: rgba(10, 10, 10, 1);

  --logo-bg: rgba(222, 89, 71, 1);
  --logo-icon: rgba(228, 229, 233, 1);
  --logo-color: rgba(228, 229, 233, 1);

  --sidebar-item-background: none;
  --sidebar-item-border: none;
  --sidebar-item-color: rgba(202, 202, 202, 1);

  --sidebar-item-active-background: rgba(255, 76, 52, 0.13);
  --sidebar-item-active-border: none;
  --sidebar-item-active-color: rgba(255, 109, 90, 1);

  --sidebar-item-hover-background: rgba(32, 32, 32, 1);
  --sidebar-item-hover-color: rgba(202, 202, 202, 1);

  --search-bg: rgba(20, 20, 20, 1);
  --search-shadow: none;
  --search-border: 1px solid rgba(30, 32, 36, 1);
  --search-bg-hover: rgba(22, 22, 22, 1);
  --search-icon: rgba(202, 202, 202, 1);
  --search-placeholder: rgba(202, 202, 202, 0.5);
  --search-color: rgba(202, 202, 202, 1);
  --search-color-dimmed: rgba(202, 202, 202, 0.683);

  --filter-bg: rgba(20, 20, 20, 1);
  --filter-shadow: none;
  --filter-bg-hover: rgba(22, 22, 22, 1);
  --filter-border: 1px solid rgba(30, 32, 36, 1);
  --filter-item-border: 1px solid rgba(40, 40, 40, 1);
  --filter-arrow: rgba(145, 145, 145, 1);
  --filter-color: rgba(163, 163, 163, 1);

  --filter-checkbox-bg: rgba(60, 60, 60, 1);
  --filter-checkbox-border: rgba(21, 23, 26, 1);
  --filter-checkbox-active-bg: rgba(222, 89, 71, 1);
  --filter-checkbox-active-border: rgba(30, 30, 30, 1);

  --slider-title: rgba(255, 255, 255, 1);
  --slider-title-shadow: 4px 0 10px rgba(255, 255, 255, 0.45);

  --slider-icon-color: rgba(222, 89, 71, 1);
  --slider-icon-shadow: 0px 0px 12px 0px rgba(255, 0, 0, 0.75);

  --slider-arrow-bg: rgb(43, 36, 35);
  --slider-arrow-border: rgba(222, 89, 71, 1);
  --slider-arrow-border-width: 1px;
  --slider-arrow-color: rgba(222, 89, 71, 1);

  --slider-all-bg: rgba(37, 37, 37, 1);
  --slider-all-border: 1px solid rgba(39, 39, 39, 1);
  --slider-all-color: rgba(130, 130, 130, 1);

  --slider-arrow-hover-bg: rgb(108, 55, 46);
  --slider-arrow-hover-border: rgba(222, 89, 71, 1);
  --slider-arrow-hover-color: rgba(222, 89, 71, 1);

  --slider-arrow-disabled-border: #de594756;
  --slider-arrow-disabled-bg: rgb(40, 27, 27);
  --slider-arrow-disabled-color: #de594756;
  --slider-arrow-disabled-shadow: none;

  --offers-bg: rgba(22, 22, 22, 1);
  --offers-shadow: none;
  --offers-border: 1px solid rgba(33, 33, 33, 1);
  --offers-platforms-bg: rgba(52, 52, 52, 0.65);
  --offers-title: rgba(205, 205, 205, 1);
  --offers-category: rgba(151, 151, 151, 1);
  --offers-tag-bg: rgba(25, 25, 25, 0.75);
  --offers-tag-shadow: 0px 4px 8px 0px rgba(27, 27, 27, 0.16);
  --offers-tag-color: rgba(255, 255, 255, 0.9);
  --offers-color: rgba(205, 205, 205, 1);
  --offers-price: rgba(218, 218, 218, 1);

  --popup-offer-description: rgba(163, 163, 163, 1);

  --offers-hover-bg: rgba(25, 25, 25, 1);
  --offers-hover-border: linear-gradient(
    150.85deg,
    rgba(214, 214, 214, 0.5) -0.91%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(49, 49, 49, 0.5) 100%
  );

  --popup-bg: rgba(19, 19, 19, 1);
  --popup-border: 1px solid rgba(26, 26, 26, 1);
  --popup-shadow: 0px 56px 64px 0px rgba(41, 15, 0, 0.56);

  --popup-subtitle-color: rgba(237, 237, 237, 1);

  --popup-events-bg: rgba(35, 35, 35, 1);

  --popup-back-color: rgba(163, 163, 163, 1);
  --popup-back-bg: rgba(37, 37, 41, 1);
  --popup-back-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);

  --popup-close-action-bg: rgba(187, 187, 187, 0.2);
  --popup-close-action-color: rgba(255, 255, 255, 1);

  --popup-close-action2-bg: rgba(187, 187, 187, 0.3);

  --popup-qr-color: rgba(255, 255, 255, 1);

  --popup-rewards-bg: rgba(0, 244, 84, 0.21);
  --popup-rewards-color: rgba(101, 255, 154, 1);

  --popup-rewards-text-color: rgba(255, 255, 255, 0.8);

  --popup-tag-bg: rgba(14, 34, 64, 1);
  --popup-tag-color: rgba(93, 154, 238, 1);

  --popup-provider-color: rgba(255, 255, 255, 1);

  --popup-activate-bg: linear-gradient(0deg, #b13030 0%, #b13030 100%);
  --popup-activate-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.55);
  --popup-activate-color: rgba(255, 255, 255, 1);

  --text-normal: rgba(255, 255, 255, 1);
  --text-dimmed: rgba(163, 163, 163, 1);

  --offer-gradient-hover-1: #b130306b;
  --offer-gradient-hover-2: #de59477b;
  --offer-gradient-hover-3: #de59470f;
  --offer-gradient-bg: #de59473e;

  --popup-close-bg: rgba(37, 37, 41, 1);
  --popup-close-color: rgba(142, 142, 142, 1);

  --spinner: #b13030;

  /* joyride */
  --joyride-bg: rgba(23, 23, 23, 1);
  --joyride-border: 1px solid rgba(33, 32, 32, 1);
  --joyride-shadow: 0px 4px 20px 0px rgba(255, 30, 0, 0.1);
  --joyride-arrow: rgba(23, 23, 23, 1);
  --joyride-color: rgba(221, 221, 221, 1);
  --joyride-color-dimmed: rgba(134, 134, 134, 1);
  --joyride-primary: rgba(222, 89, 71, 1);
  --joyride-spotlight-shadow: rgb(34, 34, 34);
  --joyride-color-action: rgba(84, 84, 84, 1);
  /*  */

  --qr-bg: #0e2240;

  --scroll-background: #393939;
  --scroll-thumb: #49494b;

  --not-found-message: #ffffff;

  --search-result-item-bg: #041a38;

  --active-cashback-bg: linear-gradient(289.83deg, #b13030 30.17%, #de5947 97.55%);
  --active-cashback-color: rgba(255, 255, 255, 1);

  --base-skeleton-base-color: #202020;
  --base-skeleton-highlight-color: #444;

  --earning-btn-color: #f5f5f5;
  --earning-btn-bg: rgba(142, 54, 43, 1);
  --earning-btn-hover-bg: rgba(142, 54, 43, 1);

  --earning-page-bg: none;
  --earning-page-shadow: none;
  --earning-page-border: none;

  --earning-stat-title-color: rgba(255, 255, 255, 0.9);
  --earning-stat-desc-color: rgba(255, 255, 255, 1);
  --earning-stat-subtitle-color: rgba(255, 255, 255, 0.8);

  --earning-stat-title2-color: rgba(255, 255, 255, 0.9);
  --earning-stat-desc2-color: rgba(255, 255, 255, 1);
  --earning-stat-subtitle2-color: rgba(255, 255, 255, 0.8);

  --earning-stat-bg: rgba(255, 255, 255, 0.05);
  --earning-stat-border: 0.25px solid rgba(79, 79, 79, 0.16);
  --earning-stat-shadow: none;

  --earning-history-title-color: #cacaca;

  --earning-table-border: none;

  --earning-history-tab-bg: rgba(255, 255, 255, 0.05);
  --earning-history-tab-color: rgba(255, 255, 255, 0.8);
  --earning-history-tab-border: none;

  --earning-history-tab-active-bg: rgba(42, 42, 43, 1);
  --earning-history-tab-active-color: rgba(255, 255, 255, 1);
  --earning-history-tab-active-border: none;
  --earning-history-tab-active-shadow: none;

  --earning-table-header-bg: rgba(29, 29, 29, 1);
  --earning-table-header-color: rgba(163, 163, 163, 1);
  --earning-table-header-border: none;

  --earning-table-body-bg: rgba(19, 19, 19, 1);
  --earning-table-body-border: 1px solid rgba(163, 163, 163, 0.1);
  --earning-table-body-title-color: rgba(163, 163, 163, 1);
  --earning-table-body-color: rgba(255, 255, 255, 0.5);

  --earning-history-pending-bg: rgba(211, 135, 13, 0.15);
  --earning-history-pending-border: 1px solid rgba(237, 171, 65, 0.3);
  --earning-history-pending-color: rgba(255, 177, 51, 1);

  --earning-history-completed-bg: rgba(59, 208, 101, 0.15);
  --earning-history-completed-border: 1px solid rgba(59, 208, 101, 0.3);
  --earning-history-completed-color: rgba(59, 208, 101, 1);

  --spinner-color: #de5947;

  --action-back-icon-bg: #3c3c3c;
  --action-back-icon-color: #919191;
  --action-back-text-color: #787878;

  --earnings-card-bg: rgba(38, 37, 38, 1);
  --earnings-card-border: none;
  --earnings-card-shadow: none;
  --earnings-card-title-color: rgba(255, 255, 255, 0.76);
  --earnings-card-date-color: rgba(255, 255, 255, 0.5);
  --earnings-card-price-color: rgba(255, 255, 255, 0.8);

  /* popup-tooltip */
  --popup-tooltip-background: #1b1b1b;
  --popup-tooltip-border: 1px solid #2a2a2a;
  --popup-tooltip-border-color: #2a2a2a;
  --popup-tooltip-text-color: #a3a3a3;

  --coin-settings-tooltip-arrow: #282828;
  --coin-settings-tooltip-border: #2e2e2e;

  /* sort icon */
  --web3-sort-icon: transparent;
  --web3-sort-active-icon: #a4a8ab;
  --web3-info-icon: #a4a8ab;

  --sww-text-color: rgba(163, 163, 163, 1);
  --sww-btn-color: rgba(255, 255, 255, 1);
  --sww-btn-background: linear-gradient(to right, rgba(222, 89, 71, 1), #b13030);
  --sww-bg-color: rgba(0, 0, 0, 0.05);

  /*  */

  --bottom-bar-bg: rgba(19, 19, 19, 1);
  --bottom-bar-border: 0.5px solid rgba(255, 255, 255, 0.3);
  --bottom-bar-shadow: 0px -15px 15px 0px rgba(255, 0, 0, 0.08);

  --bottom-bar-item-bg: rgba(255, 255, 255, 0.03);
  --bottom-bar-item-color: rgba(202, 202, 202, 1);

  --bottom-bar-item-active-bg: radial-gradient(
    50% 50% at 50% 50%,
    rgba(189, 57, 40, 0.91) 0%,
    rgba(191, 76, 61, 0.91) 100%
  );
}

@media screen and (max-width: 900px) {
  :root {
    --full-bg: #f0f0f0;

    --offers-bg: #fff;
    --offers-border: 1px solid #eaeaea;
    --offers-shadow: 0px 3px 5px 0px rgba(161, 161, 161, 0.2);

    --offers-price: #494949;
    --offers-title: #494949;
    --offers-mobile-category: rgba(82, 82, 82, 0.5);

    --earning-btn-bg: rgba(142, 54, 43, 1);

    --offers-view-all: #828282;

    --menu-tab-color: #181717;
    --menu-tab-active-color: #f6f6f6;

    --menu-tab-background: #fafafa;
    --menu-tab-active-background: #b13030;

    --menu-tab-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.09);

    --earning-history-tab-bg: #fafafa;
    --earning-history-tab-color: #181717;
    --earning-history-tab-border: none;
    --earning-history-tab-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.09);

    --earning-history-tab-active-bg: #b13030;
    --earning-history-tab-active-color: #e4e4e4;
    --earning-history-tab-active-border: none;
    --earning-history-tab-active-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);

    --earning-stat-subtitle-color: rgba(228, 228, 228, 0.6);
    --earning-stat-subtitle2-color: rgba(82, 82, 82, 0.5);

    --earning-stat-desc2-color: #525252;

    --earning-history-pending-bg: rgba(243, 182, 30, 0.28);
    --earning-history-pending-border: none;
    --earning-history-pending-color: #d99b00;

    --earning-history-completed-bg: rgba(59, 208, 101, 0.28);
    --earning-history-completed-border: none;
    --earning-history-completed-color: #008d28;
  }

  [data-theme='dark'] {
    --full-bg: #121113;

    --offers-bg: #1f1f20;
    --offers-border: 1px solid #212121;
    --offers-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);

    --offers-price: #ffffff;
    --offers-title: #cdcdcd;
    --offers-mobile-category: rgba(82, 82, 82, 0.9);

    --offers-view-all: #828282;

    --menu-tab-color: #cacaca;
    --menu-tab-active-color: #e4e4e4;

    --menu-tab-background: #1b1b1b;
    --menu-tab-active-background: #b13030;

    --earning-history-tab-bg: #1b1b1b;
    --earning-history-tab-color: #cacaca;
    --earning-history-tab-border: none;
    --earning-history-tab-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);

    --earning-history-tab-active-bg: #b13030;
    --earning-history-tab-active-color: #e4e4e4;
    --earning-history-tab-active-border: none;
    --earning-history-tab-active-shadow: none;

    --earning-stat-subtitle-color: rgba(228, 228, 228, 0.6);
    --earning-stat-subtitle2-color: rgba(228, 228, 228, 0.6);

    --earning-history-pending-bg: rgba(243, 182, 30, 0.12);
    --earning-history-pending-border: none;
    --earning-history-pending-color: #f3b61e;

    --earning-history-completed-bg: rgba(59, 208, 101, 0.07);
    --earning-history-completed-border: none;
    --earning-history-completed-color: #3bd065;
  }
}

/*  */

.store_card {
  position: relative;
}

.store_card:not(:hover) .show_now_device {
  transform: translateY(0);
  transition: 0.3s;
}

.store_card:hover .show_now_device {
  transition: 0.3s;
}

/* Define the animation for hover */
@keyframes slide-in-hover {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Define the animation for when not hovering */
@keyframes slide-out-hover {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.show_now_overlay_button,
.store_card:not(:hover) .show_now_overlay_button {
  top: 60%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: 0.3s;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.show_now_overlay_button {
  cursor: pointer;
}

.show_now_overlay_button p {
  border: none;
  color: #fff;
  font-weight: 500;
  margin-top: 8px;
  background: none;
  font-size: 18px;
}

.show_now_overlay_button_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 15px;
  background: #b13030;
}

.show_now_overlay_button_icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.store_card:hover .show_now_overlay_button {
  top: 40%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.activate_btn {
  width: calc(100% - 16px);
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(289.83deg, #b13030 30.17%, #de5947 97.55%);
  color: #ffffff;
  height: 25px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  position: absolute;
  transform: translate(-50%, 0);
  left: 50%;
  bottom: -40px;
  transition: 0.2s;
  border-radius: 6px;
}

.store_card:not(:hover) .activate_btn {
  bottom: -40px;
}

.store_card:hover .activate_btn {
  bottom: 12px;
}

/*  */

.earnings_container {
  width: 100%;
  padding: 24px;
  max-width: 100%;
  border: var(--earning-page-border);
  box-shadow: var(--earning-page-shadow);
  background: var(--earning-page-bg);
  position: relative;
  overflow: hidden;

  @media (max-width: 900px) {
    box-shadow: none;
    background: none;
    border: none;
    border-radius: 0px;
    padding: 20px;
  }
}

.earnings_stats {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;

  @media (max-width: 900px) {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

.earnings_stat {
  width: 240px;
  max-width: 100%;
  min-height: 100px;
  padding: 10px 16px;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: var(--earning-stat-shadow);
  border-radius: 6px;
  position: relative;

  @media (max-width: 900px) {
    padding: 6px 10px;
    border-radius: 5px;
    min-height: 66px;
  }
}

.earnings_stat:first-child {
  background: var(--earning-btn-bg);
}

.earnings_stat .earnings_stat_name {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: var(--earning-stat-title-color);

  @media (max-width: 900px) {
    font-size: 12px;
    line-height: 16px;
  }
}

.earnings_stat .earnings_stat_value {
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  color: var(--earning-stat-desc-color);

  @media (max-width: 900px) {
    font-size: 15px;
    line-height: 16px;
  }
}

.earnings_stat .earnings_stat_date {
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: var(--earning-stat-subtitle-color);

  @media (max-width: 900px) {
    font-size: 10px;
    line-height: 14px;
  }
}

.earnings_stat:last-child .earnings_stat_name {
  color: var(--earning-stat-title2-color);
}

.earnings_stat:last-child .earnings_stat_value {
  color: var(--earning-stat-desc2-color);
}

.earnings_stat:last-child .earnings_stat_date {
  color: var(--earning-stat-subtitle2-color);
}

.earnings_stat:last-child {
  background: var(--earning-stat-bg);
  border: var(--earning-stat-border);
}

.earnings_stat_date span {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: var(--earning-stat-desc-color);
}

.history {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--earning-history-title-color);

  @media (max-width: 900px) {
    margin-top: 16px;
  }
}

.history_title {
  @media (max-width: 900px) {
    display: none;
  }
}

.history_tabs {
  display: flex;
  overflow: auto;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  width: fit-content;
  max-width: 100%;
}

.history_tab {
  min-width: 74px;
  padding: 0 18px;
  height: 30px;
  border-radius: 4px;
  background: var(--earning-history-tab-bg);
  color: var(--earning-history-tab-color);
  border: var(--earning-history-tab-border);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  text-wrap: nowrap;

  @media (max-width: 900px) {
    min-width: unset;
    padding: 0 10px;
    height: 25px;
  }
}

.history_tab_active {
  background: var(--earning-history-tab-active-bg);
  color: var(--earning-history-tab-active-color);
  border: var(--earning-history-tab-active-border);
  box-shadow: var(--earning-history-tab-active-shadow);
}

.history_table_wrapper {
  width: calc(100vw - 230px);
  background: linear-gradient(to bottom, var(--earning-table-header-bg) 29px, var(--earning-table-body-bg) 29px);
  margin-top: 20px;
  border-radius: 6px;
  border: var(--earning-table-border);
  overflow: auto;
  height: calc(100vh - 340px);
  position: relative;

  @media (max-width: 1100px) {
    height: unset;
    min-height: 50vh;
    width: 100%;
    margin-top: 16px;
    background: none;
  }
}

.history_table_wrapper_min {
  overflow: hidden;
}

.history_table_wrapper::-webkit-scrollbar-track {
  margin-top: 50px;
}

.history_table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.history_table_wrapper_min .history_table {
  min-width: unset;
}

.history_title {
  width: fit-content;
  cursor: pointer;
}

.history_table_head {
  position: sticky;
  top: 0;
}

.history_table_head_item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history_table_head_item svg {
  cursor: pointer;
}

.history_table_head td {
  font-weight: 400;
}

.history_table_head tr {
  height: 30px;
  border-radius: 4px;
  background: var(--earning-table-header-bg);
  box-shadow: var(--earning-table-header-shadow);
  border-bottom: 1px solid var(--main-bg);
  color: var(--earning-table-header-color);
  font-size: 12px;
  font-weight: 400;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 0 14px;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.history_table_body tr {
  height: 58px;
  background: var(--earning-table-body-item-bg);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 0 14px;
  gap: 10px;
  align-items: center;
  transition: 0.2s;
}

.history_table_body_pending {
  border-left: 5px solid#d99b00;
  border-right: 5px solid#d99b00;
}

.history_table_body_completed {
  border-left: 5px solid #008d28;
  border-right: 5px solid #008d28;
}

.history_table_body:last-child tr {
  border-bottom: none;
}

.table_name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.table_name img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: white;
}

.table_name_text p:first-child {
  font-size: 14px;
  font-weight: 400;
  color: var(--earning-table-body-title-color);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.table_name_text p:nth-child(2) {
  font-size: 13px;
  font-weight: 500;
  color: var(--earning-table-body-color);
}

.table_text {
  font-size: 13px;
  font-weight: 500;
  line-height: 29.25px;
  color: var(--earning-table-body-color);
  text-transform: capitalize;
}

.pager {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: 50px;
  z-index: 10;

  @media (max-width: 900px) {
    bottom: 140px;
  }
}

.empty_table_msg {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  height: 100px;
  color: var(--earning-table-body-color);
  font-size: 14px;
  margin-top: 10px;
  border-radius: 8px;

  @media (max-width: 900px) {
    min-height: 100px;
    height: 50vh;
    align-items: center;
  }
}

.earning_stat_info {
  position: absolute;
  right: 10px;
  bottom: 10px;

  @media (max-width: 900px) {
    right: 6px;
    bottom: 2px;
  }
}

.earning_stat_info svg {
  cursor: pointer;
}

.table_text {
  width: fit-content;
}

.table_text_pending {
  background: var(--earning-history-pending-bg);
  border: var(--earning-history-pending-border);
  color: var(--earning-history-pending-color);
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 0 16px;
  font-size: 12px;
}

.table_text_completed {
  background: var(--earning-history-completed-bg);
  border: var(--earning-history-completed-border);
  color: var(--earning-history-completed-color);
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 0 16px;
  font-size: 12px;
}

.earnings_cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.earnings_card {
  border-radius: 6px;
  padding: 8px;
  gap: 12px;
  display: grid;
  grid-template-columns: 60px 1fr 100px;
  background: var(--earnings-card-bg);
  border: var(--earnings-card-border);
  box-shadow: var(--earnings-card-shadow);
}

.earnings_card_pending {
  border-left: 2px solid var(--earning-history-pending-color);
  border-right: 2px solid var(--earning-history-pending-color);
}

.earnings_card_completed {
  border-left: 2px solid var(--earning-history-completed-color);
  border-right: 2px solid var(--earning-history-completed-color);
}

.earnings_card img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.earnings_card_name {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.earnings_card_name_text {
  color: var(--earnings-card-title-color);
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.earnings_card_date {
  color: var(--earnings-card-date-color);
  font-size: 12px;
  font-weight: 400;
}

.earnings_card_status {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.earnings_card_price {
  text-align: right;
  color: var(--earnings-card-price-color);
  font-size: 16px;
  font-weight: 500;
}

.earnings_card_price span {
  font-size: 12px;
  font-weight: 400;
}

@media screen and (max-width: 1200px) {
  .table_name_text p:first-child {
    max-width: 200px;
  }
}

.joyride_content {
  text-align: left !important;
}

.joyride_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.joyride_title h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--joyride-color);
}

.joyride_title p {
  font-size: 14px;
  font-weight: 400;
  color: var(--joyride-color-dimmed);
}

.joyride_text {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: var(--joyride-color-dimmed);
}

:root {
  --rt-transition-show-delay: 0.3s;
  --rt-transition-closing-delay: 0.3s;
  --rt-opacity: 1 !important;
}

.custom_tooltip {
  background: var(--popup-tooltip-background) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  color: var(--popup-tooltip-text-color) !important;
  font-size: 12px !important;
  z-index: 99999 !important;
  max-width: min(80vw, 320px) !important;
  text-wrap: wrap !important;
  text-overflow: clip;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom_tooltip.show {
  opacity: 1 !important;
  transform: translateY(0);
}

@media screen and (max-width: 900px) {
  .earnings_stats {
    gap: 10px;
  }

  .earnings_stat {
    width: 100%;
  }

  .history_tabs {
    gap: 5px;
    margin-top: 10px;
  }

  .earnings_card_name_text {
    font-size: 12px;
  }

  .earnings_card_date {
    font-size: 11px;
  }

  .table_text_completed,
  .table_text_pending {
    padding: 0 10px;
    border-radius: 6px;
    height: 20px;
  }
}
