@import url('../../../css2');

:root {
  --textPrimary: #202071;
  --textWhite: #FFFFFF;
  --bodybg: #FDFAFF;
  --whitebg: #FFFFFF;
  --thirdbg: rgb(197 41 244 / 5%);

  --darkTextPrimary: #FFFFFF;
  --darkBodybg: #05053E;
  --darkWhitebg: #121C59;

  --gradientSetOne: linear-gradient(to right, #47ADFA, #CD6FE0);
  --gradientSetTwo: linear-gradient(to right, #6CD8FF, #2D7DF6);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  overflow: hidden auto;
  background: url(../img/bg.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: var(--textPrimary);
  font: 400 1.6rem 'Exo 2', sans-serif;
}

body.darkmode {
  background: url(../img/bgdark.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: var(--darkTextPrimary);
}

img {
  width: 100%;
}

h2 {
  margin-bottom: 0;
}

a {
  color: var(--textPrimary);
  text-decoration: none !important;
}

a {
  color: var(--darkTextPrimary);
}

a:hover {
  color: var(--textPrimary);
}

p {
  margin-bottom: 0;
}

ul {
  padding-left: 0;
  list-style-type: none;
}

/* ==========================
          header
========================== */
#header {
  top: 0;
  z-index: 1024;
  position: sticky;
  transition: all 0.3s ease;
  box-shadow: -1px 7px 15px 0px rgb(139 96 223 / 19%);
}

.darkmode #header {
  background: var(--darkWhitebg);
  box-shadow: -1px 7px 15px 0px rgb(27 5 71 / 77%);
}

#header.shadow {
  background: rgb(251 238 255);
}

.darkmode #header.shadow {
  background: var(--darkWhitebg);
}

.nav-bar {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  max-width: 15rem;
}

.nav-links {
  gap: 2rem;
  display: flex;
  font-weight: 400;
}

.nav-links a {
  font-weight: 500;
  color: var(--textPrimary);
  position: relative;
  font-size: 1.8rem;
}

.darkmode .nav-links a {
  color: var(--darkTextPrimary);
}

.nav-links a::before {
  left: 0;
  bottom: -6px;
  content: '';
  width: 100%;
  height: 1px;
  transform: scale(0);
  position: absolute;
  transition: all 0.4s ease;
  background-color: var(--textPrimary);
}

.darkmode .nav-links a::before {
  background-color: var(--darkTextPrimary);
}

.nav-links a:hover::before {
  transform: scale(1);
  transform-origin: center;
}

.btntopsm {
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gradientSetOne);
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.75rem;
  border: 2px solid #47ADFA;
  transition: 0.3s all ease;
}

.btn_gradient_one {
  padding: 8px 20px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  background: var(--gradientSetOne);
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.75rem;
  border: 2px solid #47ADFA;
  transition: 0.3s all ease;
}

.btn_gradient_two {
  padding: 8px 20px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  background: var(--gradientSetTwo);
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.75rem;
  border: 2px solid #47ADFA;
  transition: 0.3s all ease;
}

.btn_gradient_one:hover, .btn_gradient_two:hover {
  background: transparent;
  color: #47ADFA;
}

/* theme toggler */
.theme-toggler {
  width: 7.5rem;
  height: 3rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  float: right;
  border-radius: 99rem;
  background: var(--gradientSetOne);
}

.theme-toggler .round {
  top: 0;
  right: 0;
  width: 4rem;
  height: 3rem;
  display: flex;
  position: absolute;
  align-items: center;
  border-radius: 99rem;
  justify-content: center;
  transition: all 300ms ease;
  background: #47ADFA;
}

.theme-toggler .round img {
  max-width: 2rem;
}

.theme-toggler .round.active {
  right: initial;
}

/* responsive menu toggler */
.nav-toggler {
  width: 4rem;
  height: 4rem;
  display: none;
  cursor: pointer;
  margin-left: 2rem;
  font-size: 2.6rem;
  align-items: center;
  justify-content: center;
  color: #62c9fd;
}

@media screen and (max-width: 991.9px) {
  .nav-toggler {
    display: flex;
  }

  .btn_colored_top {
    display: none;
  }
}

/* responsive */
@media screen and (max-width: 991.9px) {
  .nav-links {
    top: 0;
    right: 0;
    width: 280px;
    padding: 4rem;
    height: 100vh;
    position: fixed;
    margin-right: -284px;
    flex-direction: column;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    background: linear-gradient(to right bottom, #CD6FE0, #0077FF);
  }

  .darkmode .nav-links {
    background: var(--darkWhitebg);
  }

  .nav-links a {
    color: #fff;
    font-weight: bold;
  }

  .nav-links a > i {
    display: inline;
  }

  .nav-links.show {
    margin-right: 0;
  }

  .backdrop-filter {
    top: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
    background: hsl(216deg 77% 15% / 50%);
  }

  .backdrop-filter.show {
    opacity: 1;
    display: block;
  }
}

@media screen and (max-width: 375.9px) {
  .nav-links {
    max-width: 240px;
  }
}


/* common elements */
.input-wrap {
  display: flex;
  align-items: center;
}

.input-icon {
  z-index: 1;
  padding: 20px 16px;
  color: var(--textWhite);
  margin-right: -20px;
  background: var(--gradientSetOne);
  border-radius: 12px;
  font-size: 1.75rem;
}

.form-label {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}

.form-input {
  width: 100%;
  padding: 18px 14px;
  color: var(--textPrimary);
  background: var(--bodybg);
  border-radius: 10px;
  border: 2px solid hsl(202, 87%, 59%);
  font-size: 1.75rem;
}

.darkmode .form-input {
  color: var(--darkTextPrimary);
  background: rgb(5 5 62 / 24%);
}

.input-wrap .form-input {
  padding-left: 32px;
}

.form-input:focus-visible {
  outline-color: hsl(202, 87%, 59%) !important;
}

.common_card {
  background: var(--whitebg);
  box-shadow: 4px 8px 13px rgb(139 96 223 / 19%);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.darkmode .common_card {
  background: hsl(231.55deg 66.36% 20.98% / 23%);
  box-shadow: 4px 8px 13px rgb(27 5 71 / 63%);
}

.cc_title {
  font-weight: bold;
  font-size: 2.25rem;
}

.cc_sub {
  font-size: 1.85rem;
}

/* data table */
.data-table {
  width: 100%;
  font-size: 1.75rem;
}

.data-table thead {
  color: #fff;
  background: var(--gradientSetOne);
}

.data-table td, .data-table th {
  white-space: nowrap;
  min-width: fit-content;
  padding: 10px 20px 10px 0px;
  font-size: 1.75rem;
}

.data-table td {
  padding: 10px;
  font-weight: 500;
  background: transparent;
  white-space: nowrap;
  min-width: fit-content;
  text-align: center;
}

.data-table th {
  padding: 15px 5px;
  text-align: center;
}


.data-table.lg td {
  min-width: 300px;
}

.data-table th:first-child,
.data-table td:first-child {
  padding-left: 20px;
}

.data-table tr:not(:last-child) {
  border-bottom: 2px solid hsla(229, 50%, 76%, 0.5);
}

.data-table .pill {
  width: max-content;
}

/* finance_section_card */
.finance_section_card {
  margin: 30px 0px;
}

.apexcharts-menu-icon {
  display: none;
}

.apexcharts-legend-text, .apexcharts-text .apexcharts-xaxis-label  {
  color: var(--text-primary) !important;
} 

.apexcharts-tooltip.apexcharts-theme-light {
  background: var(--gradientSetOne) !important;
  border-color: #47ADFA !important;
  color: #fff !important;
}

.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
  background: var(--gradientSetOne) !important;
  font-weight: bold !important;
  border-color: #47ADFA !important;
  color: #ffffff !important;
}

.apexcharts-tooltip {
  box-shadow: 4px 8px 13px rgb(139 96 223 / 19%) !important;
  border-color: #47ADFA !important;
}

/* ref_stat_card */
.ref_stat_card {
  position: relative;
  background: hsl(278.08deg 100% 69.41% / 10%);
  padding: 20px;
  border-radius: 10px;
}

.rsc_img {
  position: absolute;
  top: 15px;
  right: 10px;
  width: 30px;
}

.rs_content > h3 {
  font-weight: bold;
}

/* refer link */
.refer-wrap {
  display: flex;
  align-items: center;
}

.refer-copy-btn {
  margin-left: -20px;
  padding: 20px 28px;
  color: #fff !important;
  transition: color 300ms ease;
  border-radius: 10px;
  background: var(--gradientSetOne);
  font-size: 1.75rem;
}

/* swal resets */
.swal2-styled.swal2-confirm {
  background: var(--gradientSetOne) !important;
}

.swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgb(70, 109, 249) !important;
}

/* responsive referral */
@media all and (max-width: 450.9px) {
  .refer-wrap {
    flex-direction: column;
  }

  #refer-link {
    border-radius: 12px 12px 0 0;
  }

  .refer-copy-btn {
    width: 100%;
    display: grid;
    margin-left: 0;
    place-items: center;
    justify-content: center;
    border-radius: 0 0 12px 12px;
  }
}


/* wo_box */
.wo_box {
  display: flex;
  align-items: center;
  background: var(--whitebg);
  box-shadow: 4px 8px 13px rgb(139 96 223 / 19%);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.darkmode .wo_box {
  background: hsl(231.55deg 66.36% 20.98% / 23%);
  box-shadow: 4px 8px 13px rgb(27 5 71 / 63%);
}

.wo_box_img > img {
  width: 100px;
  margin-right: 20px;
}

.wo_box_content > h3 {
  font-size: 2rem;
  font-weight: 800;
}

/* dropdown */
.dropdown-menu {
  --bs-dropdown-bg: #FDFAFF;
  font-size: 1.75rem;
}

.darkmode .dropdown-item {
  color: var(--darkTextPrimary) !important;
  font-weight: 400 !important;
}

.darkmode .dropdown-menu {
  --bs-dropdown-bg: #05053E;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: var(--whitebg);
}

.darkmode .dropdown-item:focus, .darkmode .dropdown-item:hover {
  background-color: var(--darkWhitebg);
}

@media screen and (max-width: 991.9px) {
  .dropdown-item {
    color: var(--textPrimary) !important;
    font-weight: 400 !important;
  }
  
  .darkmode .dropdown-item {
    color: var(--darkTextPrimary) !important;
    font-weight: 400 !important;
  }
}

/* history page navlink */
.nav-link {
  font-weight: 600;
  color: var(--textPrimary);
}

.darkmode .nav-link {
  color: var(--textWhite);
}

.nav-pills .nav-link.active, 
.nav-pills .show>.nav-link {
  background: var(--gradientSetOne);
}

/* PTC Page Design */
.ptc-card {
    background: var(--whitebg);
    box-shadow: 4px 8px 13px rgb(139 96 223 / 19%);
    gap: 18px;
    display: flex;
    margin-bottom: 20px;
    text-align: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.75rem;
    padding: 20px 15px;
    border-radius: 10px;
    min-height: 150px;
    justify-content: center;
}

.darkmode .ptc-card {
  background: hsl(231.55deg 66.36% 20.98% / 23%);
  box-shadow: 4px 8px 13px rgb(27 5 71 / 63%);
}

.ptc-card h5 {
  font-size: 2rem;
  font-weight: 800;
}

.gradient_btn {
  border-radius: 99px;
  background: var(--gradientSetOne);
  color: var(--textWhite);
  font-weight: bold;
  padding: 10px 0px;
}

.pill-wrap {
  gap: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.pill {
  min-width: 100px;
  font-weight: 600;
  padding: 4px 22px;
  color: var(--textWhite);
  text-align: center;
  border-radius: 99px;
}

.pill.primary {
  background: rgb(151 32 233 / 17%);
  color: #ca70e0;
}

.pill.sec {
  background: rgb(66 193 246 / 31%);
  color: #409bf4;
}

.action_btns_section {
  text-align: center;
}

.action_btn {
  border: none;
  outline: none;
  background: var(--gradientSetOne);
  width: 100%;
  padding: 15px 0px;
  border-radius: 10px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 30px;
}

.action_btn > i {
  margin-right: 10px;
}

.action_btn.dort {
  background: var(--gradientSetTwo);
}

/* flex_tocenter */
.flex_tocenter {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}


/* fp_cc */

.fp_common_card {
  background: var(--whitebg);
  box-shadow: 4px 8px 13px rgb(139 96 223 / 19%);
  padding: 20px;
  border-radius: 10px;
  width: 70%;
  margin-bottom: 30px;
}

.darkmode .fp_common_card {
  background: hsl(231.55deg 66.36% 20.98% / 23%);
  box-shadow: 4px 8px 13px rgb(27 5 71 / 63%);
}

@media screen and (max-width: 991.9px) {
  .fp_common_card {
    width: 90%;
  }
}


.auth_common_card {
  background: var(--whitebg);
  box-shadow: 4px 8px 13px rgb(139 96 223 / 19%);
  padding: 20px;
  border-radius: 10px;
  width: 50%;
  margin-bottom: 30px;
}

.darkmode .auth_common_card {
  background: hsl(231.55deg 66.36% 20.98% / 23%);
  box-shadow: 4px 8px 13px rgb(27 5 71 / 63%);
}

@media screen and (max-width: 991.9px) {
  .auth_common_card {
    width: 95%;
  }
}
