@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700;800;900&display=swap");
@import "color";



/*==Typography==*/
.d-light01 {
  font-size: 72px;
  font-weight: 300;
  line-height: 80px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-regular01 {
  font-size: 72px;
  font-weight: 400;
  line-height: 80px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-medium01 {
  font-size: 72px;
  font-weight: 500;
  line-height: 80px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-bold01 {
  font-size: 72px;
  font-weight: 700;
  line-height: 80px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-extra-bold01 {
  font-size: 72px;
  font-weight: 800;
  line-height: 80px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-black01 {
  font-size: 72px;
  font-weight: 900;
  line-height: 80px;
  letter-spacing: -0.04em;
  text-align: left;
}

/**/
.d-light02 {
  font-size: 60px;
  font-weight: 300;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-regular02 {
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-medium02 {
  font-size: 60px;
  font-weight: 500;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-bold02 {
  font-size: 60px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-extra-bold02 {
  font-size: 60px;
  font-weight: 800;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-align: left;
}

.d-black02 {
  font-size: 60px;
  font-weight: 900;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-align: left;
}

/*3*/
.h-light01 {
  font-size: 48px;
  font-weight: 300;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-regular01 {
  font-size: 48px;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-medium01 {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-bold01 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-extra-bold01 {
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-black01 {
  font-size: 48px;
  font-weight: 900;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
}

/*4*/
.hs-light01 {
  font-size: 34px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-regular01 {
  font-size: 34px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-medium01 {
  font-size: 34px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-bold01 {
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-extra-bold01 {
  font-weight: 800;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-black01 {
  font-size: 34px;
  font-weight: 900;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

/*5*/
.h-light02 {
  font-size: 39px;
  font-weight: 300;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-regular02 {
  font-size: 39px;
  font-weight: 400;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-medium02 {
  font-size: 39px;
  font-weight: 500;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-bold02 {
  font-size: 39px;
  font-weight: 700;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-extra-bold02 {
  font-size: 39px;
  font-weight: 800;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-black02 {
  font-size: 39px;
  font-weight: 900;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

//

/*6*/
.hs-light02 {
  font-size: 33px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-regular02 {
  font-size: 33px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-medium02 {
  font-size: 33px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-bold02 {
  font-size: 33px;
  font-weight: 800;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-extra-bold02 {
  font-size: 33px;
  font-weight: 900;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-black02 {
  font-size: 39px;
  font-weight: 900;
  line-height: 47px;
  letter-spacing: -0.02em;
  text-align: left;
}

/*7*/
.h-light03 {
  font-size: 33px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-regular03 {
  font-size: 33px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-medium03 {
  font-size: 33px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-bold03 {
  font-size: 33px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-extra-bold03 {
  font-size: 33px;
  font-weight: 800;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-black03 {
  font-size: 33px;
  font-weight: 900;
  line-height: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}

/*8*/
.hs-light03 {

  font-size: 28px;
  font-weight: 300;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;

}

.hs-regular03 {

  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;

}

.hs-medium03 {

  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;

}

.hs-bold03 {

  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;

}

.hs-extra-bold03 {
  font-size: 28px;
  font-weight: 800;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-black03 {
  font-size: 28px;
  font-weight: 900;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;

}

/*9*/
.h-light04 {
  font-size: 28px;
  font-weight: 300;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-regular04 {
  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-medium04 {
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-bold04 {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-extra-bold04 {
  font-size: 28px;
  font-weight: 800;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

.h-black04 {
  font-size: 28px;
  font-weight: 900;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
}

/*10*/
.hs-light04 {
  font-size: 23px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-regular04 {
  font-size: 23px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-medium04 {
  font-size: 23px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;


}

.hs-bold04 {
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;


}

.hs-extra-bold04 {
  font-size: 23px;
  font-weight: 800;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;

}

.hs-black04 {
  font-size: 23px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}

/*11*/
.h-light05 {
font-size: 23px;
font-weight: 300;
line-height: 28px;
letter-spacing: -0.02em;
text-align: left;
}

.h-regular05 {
font-size: 23px;
font-weight: 400;
line-height: 28px;
letter-spacing: -0.02em;
text-align: left;
}

.h-medium05 {
font-size: 23px;
font-weight: 500;
line-height: 28px;
letter-spacing: -0.02em;
text-align: left;
}

.h-bold05 {
font-size: 23px;
font-weight: 700;
line-height: 28px;
letter-spacing: -0.02em;
text-align: left;
}

.h-extra-bold05 {
font-size: 23px;
font-weight: 800;
line-height: 28px;
letter-spacing: -0.02em;
text-align: left;
}

.h-black05 {
font-size: 23px;
font-weight: 900;
line-height: 28px;
letter-spacing: -0.02em;
text-align: left;
}

/*12*/
.hs-light05{
  font-size: 23px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-regular05 {
  font-size: 23px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}

.hs-medium05 {
  font-size: 23px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;


}

.hs-bold05 {
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;


}

.hs-extra-bold05 {
  font-size: 23px;
  font-weight: 800;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;

}

.hs-black05 {
  font-size: 23px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
}
/*---define value prameter---*/
$trans: 0.3s ease-in-out;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.btn-check:focus+.btn,
.btn:focus {
  box-shadow: none !important;
}

body {
  background-color: #fcfcfd !important;
  font-family: "Red Hat Display", sans-serif !important;
}

.bg-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  z-index: 1;
  left: 0px;
  background-color: rgb(0 0 0 / 26%);
  opacity: 0;
  display: none;
  transition: $trans;

  &.show {
    opacity: 1;
    display: block;
    transition: $trans;
  }
}

/*---card-header--*/
.card_header {
  display: flex;
  padding: 0rem 1.5rem 0rem 1.5rem;
  width: 100%;
  height: 67px;
  justify-content: space-between;
  background-color: $whiteclr;

  .content-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .content-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

/*-----tabel cell-----*/
.card-wraper {
  background-color: $whiteclr;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.06), 0px 1px 3px rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.table {
  margin-bottom: 0rem !important;
}

.stop-stretching {
  width: 1px !important;
  white-space: nowrap;
}

.table thead tr {
  height: 44px;
  border-top: 1px solid $gray200;
  border-bottom: 1px solid $gray200;
  background: $gray50;
}

.table thead tr th {
  border: none;
}

.tb-data {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  color: $gray900;
  vertical-align: middle;
  padding-left: 1.5rem !important;
  padding-top: 0.438rem !important;
}

.error-chart {
  vertical-align: middle;
  margin-right: 1.25rem;

  img {
    max-width: 120px;
    height: 50px;
    margin-right: 1.188rem;
    margin-left: auto;
    display: block;
  }
}

.num-light {
  font-style: normal;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 34px;
  display: block;
  text-align: center;
}

.number {
  @extend .num-light;
}

.table tr th,
.table tr td {
  padding: 0rem;
  width: fit-content;
}

.cell-num {
  text-align: center;
  padding-top: 0.438rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  margin: auto;
  width: fit-content;
}

.table-header-cell {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0em;
  text-align: left;
  height: 44px;
  border-radius: 0px;
  padding: 0.75rem 1.5rem 0.75rem 1.5rem;
  color: $gray600;
  text-transform: capitalize;
}

.cr-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 28px;
  margin-bottom: 0px;
  height: fit-content;
  color: $gray900;
  text-transform: capitalize;
}

.more-drop {
  color: $gray400;
  background-color: transparent;
  outline: none;
  border: none;
}

.info-tooltip {
  color: $gray400;
  background-color: transparent;
  outline: none;
  border: none;
}


/*=====card-footer======*/
.card_footer {
  display: flex;
  padding: 0.813rem 1.5rem 1rem 1.5rem;
  min-height: 63px;
  background-color: $whiteclr;

  .footer-content-left {
    width: fit-content;
    margin-right: auto;
    display: flex;
  }

  .footer-content-center {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    align-self: center;
  }

  .footer-content-right {
    width: fit-content;
    margin-left: auto;
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

//*=======buttons=======*//
.link-sm {
  font-size: 0.875rem;
  line-height: 20px;
  letter-spacing: -0.02em;
}

.link-md {
  font-size: 0.875rem;
  line-height: 20px;
  letter-spacing: -0.02em;
}

.link-lg {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0em;
}

.link-xl {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0em;
}

.link-2xl {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0em;
}

.btn_link {
  font-weight: 700;
  text-decoration: none;
  outline: none;
  border: none;
  background-color: transparent;
  display: flex;
  width: fit-content;
  height: fit-content;
  gap: 10px;
  text-decoration: none;

  .btn-icon {
    width: 20px;
    height: 20px;
    margin-top: -3px;
  }

  &:hover {
    color: $gray600;
  }
}

.link_secondary {
  color: $pri800  !important;

  .btn-icon {
    color: $pri800;
  }
}

.link_secondary {
  color: $gray500  !important;

  .btn-icon {
    color: $gray500;
  }
}

.btn_icon {
  width: 20px;
  height: 20px;

  img {
    height: 100%;
    width: 100%;
    object-fit: none;
    margin-top: 0px;
  }

  .feather {
    height: 100%;
    width: 100%;
  }
}

/*-*/
.btn_primary {
  background-color: $pri800  !important;
  color: $whiteclr  !important;

  &:hover {
    color: $whiteclr;
    background-color: $pri900  !important;
  }

  &:focus {
    box-shadow: 0px 0px 0px 4px #E0F4FD !important;
  }

  &.active {
    background: #F4FBFF;
    border: 1px solid #F4FBFF;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  }
}

.btn_secondary {
  background: $whiteclr  !important;
  border: 1px solid $gray300  !important;
  color: $gray700;

  &:hover {
    color: $whiteclr;
    background-color: $gray300  !important;
  }

  &:focus {
    border: 1px solid #D0D5DD !important;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px #F2F4F7 !important;
  }

  &.active {
    background: $whiteclr  !important;
    border: 1px solid #EAECF0 !important;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important;
  }
}

.btn_secondary2 {
  background: $pri25  !important;
  color: $pri800  !important;

  &:hover {
    color: $pri800;
    background-color: $pri50  !important;
  }

  &:focus {
    background: #F4FBFF !important;
    box-shadow: 0px 0px 0px 4px #E0F4FD !important;
  }

  &.active {
    background: #FFFFFF !important;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important;
  }
}

.btn {
  width: fit-content !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  letter-spacing: 0em;
  box-shadow: 0px 1px 2px 0px #1018280d;
  text-align: left;
  text-decoration: none;
  outline: none;
  border: none;
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center !important;
  height: fit-content !important;
  box-shadow: none;
  text-transform: capitalize;
  gap: 8px;

  .icon {
    width: 20px;
    height: 20px;
  }
}

.btn_sm {
  min-height: 36px !important;
  padding: 0.5rem 0.875rem 0.5rem 0.875rem !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

.btn_md {
  font-size: 0.875rem !important;
  line-height: 20px !important;
  padding: 0.625rem 1rem !important;
}

.btn_lg {
  font-size: 1rem !important;
  line-height: 24px !important;
  padding: 0.625rem 1.125rem !important;
}

.btn_xl {
  font-size: 1rem !important;
  line-height: 24px !important;
  padding: 0.75rem 1.25rem !important;
}

.btn_2xl {
  font-size: 1.125rem !important;
  line-height: 28px !important;
  padding: 1rem 1.75rem !important;
  gap: 12px;

  .icon {
    width: 24px;
    height: 24px;
  }
}

/*-btn-icon-*/
.btn_icon {
  border: none;
  border-radius: 100px;
  text-align: center;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  outline: none;
  text-decoration: none;
  display: block;
  width: fit-content;
}

.icon_sm {
  width: 36px;
  height: 36px;
  line-height: 36px;
}

.icon_md {
  width: 40px;
  height: 40px;
  line-height: 40px;
}

.icon_lg {
  width: 44px;
  height: 44px;
  line-height: 44px;
}

.icon_xl {
  width: 48px;
  height: 48px;
  line-height: 48px;
}

.icon_2xl {
  width: 56px;
  height: 56px;
  line-height: 56px;
}

/*=======labels========*/
.label {
  font-style: normal;
  font-weight: 500;
  border-radius: 16px;
  text-align: center;
  text-transform: capitalize;
  align-self: center;
  display: flex;
  gap: 4px;
  height: fit-content;
  width: fit-content;

  .label-icon {
    width: 12px;
    margin-top: -1px;

    img {
      width: 12px;
      height: 12px;
    }
  }

  &.circle {
    padding: 0rem !important;
    text-align: center;
    display: flex;

    .label-icon {
      margin: auto;
    }
  }
}

.label-sm {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  line-height: 18px;

  &.circle {
    width: 20px;
    height: 20px;
  }
}

.label-md {
  font-size: 0.875rem;
  padding: 0.125rem 0.625rem;
  line-height: 20px;

  &.circle {
    width: 24px;
    height: 24px;
  }
}

.label-lg {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  line-height: 20px;

  &.circle {
    width: 28px;
    height: 28px;
  }
}

.error1-bg {
  background: $error50;
}

.error1 {
  color: $error700;
}

.error2-bg {
  background: $error50;
}

.error2 {
  color: $error500;
}

.warning1-bg {
  background: $warn50;
}

.warning1 {
  color: $warn700;
}

.warning2-bg {
  background: $warn50;
}

.warning2 {
  color: $warn400;
}

.success-bg {
  background-color: $success50;
}

.success {
  color: $success600;
}

.primary-bg {
  background-color: $pri25;
}

.primary {
  color: $pri800;
}

.secondary-bg {
  background-color: $gray100;
}

.secondary {
  color: $gray700;
}

.anuval-pagination {
  display: flex;
  margin: 0rem;
  padding: 0rem;
}

.pagi-left {
  border-radius: 20px 0px 0px 20px;
  @extend .anpagi;
}

.pagi-center {
  @extend .anpagi;
}

.pagi-right {
  border-radius: 0px 20px 20px 0px;
  @extend .anpagi;
}

.pagi-primary {
  border-color: $pri100;
  color: $pri700;
  background-color: $whiteclr;

  &:hover {
    background-color: $pri50;
    color: $pri900;
  }

  &:focus {
    border-color: $pri300;
    color: $pri800;
  }
}

.pagi-secondary {
  border-color: $gray300;
  color: $gray700 ;
  background-color: $whiteclr;

  &.active:hover {
    background-color: $pri25;
    color: $pri900;
  }

  &:hover {
    background-color: $gray50;
    color: $gray900;
  }

  &:focus {
    background-color: $gray50;
    color: $gray700;
  }
}

.anpagi {
  display: flex;
  gap: 12px;
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 20px;
  text-decoration: none;
  height: 40px;
  border-style: solid;
  border-width: 1px;
  padding: 0.563rem 1rem;
  margin: 0rem -0.063rem;
  outline: none;

  &.active {
    color: $pri800;
    background: $gray100;
    border-color: #b0e3f9;
    z-index: 1;
  }
}

/*------number-padination------*/
.num-padination {
  display: flex;
}

.num-pagi {
  height: 40px;
  width: 40px;
  border-radius: 20px;
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 42px;
  border: none;
  color: $gray500;
  background-color: transparent;

  &.active,
  &:hover {
    color: $pri900;
    background-color: $pri25;
  }
}

.pagi-divider {
  color: $gray500;
  width: 40px;
  border-radius: 20px;
  font-size: 0.875rem;
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 36px;
}

.arw-next {
  margin-left: 0.75rem;
  margin-top: -0.125rem;
}

.arw-prev {
  margin-right: 0.75rem;
  margin-top: -0.125rem;
}

.page-pagi-count {
  display: flex;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  align-self: center;
  color: $gray700;

  span,
  #num-start {
    display: block;
    margin: 0rem 0.188rem;
  }
}

/*========avatar=======*/

.avatar-right-col {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  align-self: center;
}

.avatar-label-group {
  padding: 0.75rem 1.5rem;
  display: flex;
  gap: 12px;
  max-width: 418px;
  width: 100%;
}

.avatar-label {
  color: $gray900;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 20px;
  text-transform: capitalize;
}

.avatar-group {
  display: flex;

  .avatar-xs {
    margin-right: -8px;
  }

  .avatar-sm {
    margin-right: -0.625rem;
  }

  .avatar-md {
    margin-right: -12px;
  }

  .avatar-lg {
    margin-right: -14px;
  }

  .group-item {
    border: 1.5px solid $whiteclr;

  }
}

.avatar-para {
  color: $gray500;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 20px;
  margin-bottom: 0px;
  text-decoration: none;
  &:hover{
    color: $gray500;
  }
}

.avatar-img {
  border-radius: 200px;
  overflow: hidden;
  background-color: $pri25;
  color: $pri700;
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
  align-items: center;
  display: flex;
  justify-content: center;

  &:focus {
    border: 4px solid $pri25;
  }

  img {
    width: 100%;
    object-fit: cover;
  }
}

.avatar-xs {
  @extend .avatar-img;
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  line-height: 18px;
}

.avatar-sm {
  @extend .avatar-img;
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
  line-height: 20px;
}

.avatar-md {
  @extend .avatar-img;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  line-height: 24px;
}

.avatar-lg {
  @extend .avatar-img;
  width: 48px;
  height: 48px;
  font-size: 1.125rem;
  line-height: 28px;
}

.avatar-xl {
  @extend .avatar-img;
  width: 56px;
  height: 56px;
  font-size: 1.438rem;
  line-height: 28px;
}

.avatar-2xl {
  @extend .avatar-img;
  width: 64px;
  height: 64px;
  font-size: 2.125rem;
  line-height: 38px;
}

/*--*/
/*===shadows===*/
.shadow_xs {
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.shadow_sm {
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.06),
    0px 1px 3px rgba(16, 24, 40, 0.1);
}

.shadow_md {
  box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.1),
    0px 4px 8px rgba(16, 24, 40, 0.1);
}

.shadow_lg {
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
    0px 12px 16px -4px rgba(16, 24, 40, 0.08);
}

.shadow_xl {
  box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03),
    0px 20px 24px -4px rgba(16, 24, 40, 0.08);
}

.shadow_2xl {
  box-shadow: 0px 24px 48px -12px rgba(16, 24, 40, 0.18);
}

.shadow_3xl {
  box-shadow: 0px 32px 64px -12px rgba(16, 24, 40, 0.14);
}

.shadow_xs {
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

/*====focus====*/
.focus_pri:focus {
  box-shadow: 0px 0px 0px 4px #e0f4fd !important;
}

.focus_sec:focus {
  box-shadow: 0px 0px 0px 4px #f2f4f7;
}

.focus_error:focus {
  box-shadow: 0px 0px 0px 4px #fee4e2;
}

/*=====dashboard-wraper=====*/
.dashboard-wraper {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main-content {
  padding: 2rem 2rem 0rem 2rem;
  overflow-y: auto;
  width: 100%;
}

.main-content::-webkit-scrollbar,
.main-content::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-thumb,
.main-content::-webkit-progress-bar {
  display: none;
  width: 0px;
}

.pg-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.02em;
  text-align: left;
  color: $gray900;
  margin-bottom: 0rem;
}

.rick-score-wraper {
  margin-top: 2rem;

  .card-wraper {
    margin-bottom: 1.5rem;
  }
}

.rick-score-box {
  background-color: $whiteclr;
  box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1),
    0px 1px 2px rgba(16, 24, 40, 0.06);
  border-radius: 8px;
  height: 530px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sidebar {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 312px;
  background-color: $whiteclr;
  padding: 2rem 1rem 0rem 1rem;
  border-right: 1px solid $gray200;

  .sidebar-inner {
    overflow: hidden;
  }

  &.open {
    animation: sideopen 0.2s ease-in-out;
  }

  &.close {
    animation: sideclose 0.2s ease-in-out;
    animation-fill-mode: forwards;
  }
}

@keyframes sideopen {
  from {
    min-width: 80px;
    max-width: 80px;
  }

  to {
    min-width: 312px;
    max-width: 312px;
  }
}

@keyframes sideclose {
  from {
    min-width: 312px;
    max-width: 312px;
  }

  to {
    min-width: 80px;
    max-width: 80px;
  }
}


.logo {
  margin-left: 0.875rem;
}

.sidebar .nav-links {
  height: 100%;
  padding: 2.738rem 0 9.375rem 0;
  overflow: auto;
}

.sidebar.close .nav-links {
  overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
  display: none;
}

.nav-item {
  align-items: center;
  justify-content: space-between;
  list-style: none;
  position: relative;
  max-width: 279px;
  margin-bottom: 0.25rem;
  transition: $trans;
}

.sidebar.close .sub-num {
  display: none;
}

.sub-links {
  list-style: none;
  max-width: 279px;
  text-transform: capitalize;
  margin-bottom: 0.25rem;
}

.empty-item {
  padding: 0.5rem 0.7rem 0.5rem 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  color: $gray500;
  height: 40px;
}

.nav-item {
  .sub-num {
    height: 24px;
    width: 29px;
    border-radius: 16px;
    color: #344054;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 20px;
    margin-left: auto;
    letter-spacing: 0em;
    text-align: center;
    margin-right: 0.813rem;
    display: flex;
    align-items: center;
    margin-top: auto;
    justify-content: center;
    margin-bottom: auto;
    background-color: $gray100;
  }
  .sub-menu a {
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  a {
    display: flex;
    align-items: center;
    text-decoration: none;

    .link_name {
      color: $gray700;
      font-size: 1rem;
      font-weight: 500;
      line-height: 24px;
      letter-spacing: 0em;
      text-align: left;
      white-space: nowrap;
    }
  }

  .link-data {
    margin-left: auto;
    display: flex;
  }

  .arrow {
    cursor: pointer;
    height: 20px;
    width: 20px;
    display: flex;
    position: relative;
    top: 3px;
    color:$gray500;
  }

  &.showMenu {
    .sub-menu {
      display: block;
    }

    .arrow {
      transform: rotate(-180deg);
    }
  }

  &:hover {
    .sub-menu {
      top: -14px;
      opacity: 1 !important;
      pointer-events: auto !important;
      transition: $trans;
    }
  }

  .icon {
    min-width: 52px;
    text-align: center;
    max-width: 52px;
    display: block;
  }

  &.active {
    .icon-link a .link_name {
      color: #0073b6;
      font-weight: 700;
    }
  }

  .icon-link {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 100px;
    padding: 0.5rem 0.75rem 0.5rem 0rem;

    &:hover {
      background-color: $gray100;
      transition: $trans;
    }
  }

  .mob-sub-title {
    height: 40px;
    border-radius: 100px;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
    margin-bottom: 0.5rem;

    img,
    i {
      margin-right: 0.875rem;
    }
  }
}

.sidebar li {
  list-style: none;
  text-transform: capitalize;
}

.sub-menu {
  padding: 0.375rem 0rem 0rem 0rem;
  margin-top: 0px;
  display: none;
  overflow: auto;
  max-height: 528px;
}

.sub-menu::-webkit-scrollbar {
  width: 8px;
  border-radius: 10px;
}

.sub-menu::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #d0d5dd;
  width: 8px;
}

.sub-links a {
  text-transform: capitalize;
  font-size: 1rem;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  height: 40px;
  display: flex;
  width: 100%;
  border-radius: 100px;
  padding: 0.5rem 0.7rem 0.5rem 3rem;
  background-color: #fff;
  color: #475467;
  text-decoration: none;

  &:hover {
    background-color: $gray100;
    transition: $trans;
  }
}

.mob-sub-title {
  display: none;
}

.sub-menu a:hover {
  opacity: 1;
}

.sub-link-icon {
  margin-right: 0.875rem;
  height: 24px;
}

.mob-sub-title a {
  font-size: 1rem;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0em;
  height: fit-content;
  text-align: left;
  color: #344054;
  margin: auto 0rem;
}

.sidebar {
  .toogle-menu {
    display: block;
    top: 28px;
    position: absolute;
    right: -19px;
    cursor: pointer;
    &:focus{
      box-shadow: none !important;
    }
  }

  .nav-links {
    .nav-item.active a .link_name {
      color: $pri800;
      font-weight: 700;
    }
  }

  .profile-details {
    position: absolute;
    bottom: 1.25rem;
    border-top: 1px solid $gray200;
    padding-top: 0.75rem;
    background-color: $whiteclr;
    width: 100%;
    max-width: 276px;

    .avatar-label-group {
      padding-left: 0rem;
      padding-right: 0rem;
      background-color: $whiteclr;
    }
  }

  &.close {
    padding: 1.875rem 1rem 2rem 1rem;
    transition: 0.3s ease-in-out;

    .logo {
      width: 20px;
      overflow: hidden;
      margin-left: auto;
      margin-right: 0.938rem;
    }

    .sidebar-inner {
      overflow: visible;
    }

    .dropdown-menu .avatar-right-col {
      display: block !important;
    }

    .profile-details {
      width: 47px;
      right: 19px;

      .avatar-right-col {
        display: none;
      }

      img {
        padding: 0rem;
      }

      .dropdown {
        margin-left: auto;
      }
    }

    .icon-link img {
      margin: auto;
    }

    .nav-item {
      .link-data {
        opacity: 0;
        transition: $trans;
        display: none;
      }

      .icon-link {
        padding: 0px;
        height: 40px;
        align-items: center;
        line-height: 40px;
        width: fit-content;
      }

      .icon {
        margin-left: auto;
      }

      .sub-menu {
        position: absolute;
        left: 100%;
        top: -10px;
        margin-top: 0;
        padding: 0.625rem 1.25rem;
        border-radius: 0 6px 6px 0;
        opacity: 0;
        display: block;
        pointer-events: none;
        transition: 0s;
        height: 280px;
        width: 279px;
        border-radius: 8px;
        box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
          0px 12px 16px -4px rgba(16, 24, 40, 0.08);
        background-color: $whiteclr;
        overflow: auto;
      }

      a .link_name {
        opacity: 0;
        pointer-events: none;
        transition: $trans;
        display: none;
      }
    }

    .avatar-label-group {
      padding-left: 0rem;
      padding-right: 0rem;
    }

    .sub-menu::-webkit-scrollbar {
      width: 0px;
    }

    .mob-sub-title {
      display: flex;
    }

    .nav-links {
      .nav-item {
        &:hover {
          .submenu-wraper {
            &::before {
              position: absolute;
              content: "";
              left: -55px;
              width: 62px;
              height: 100%;
              top: -20px;
              z-index: 1;
              right: 100%;
              opacity: 1;
              height: 100px;
              min-height: 100%;
              display: block;
            }

            &::after {
              position: absolute;
              content: "";
              left: -7px;
              width: 24px;
              transform: matrix(-0.71, 0.71, -0.71, -0.71, 0, 0);
              height: 24px;
              top: 24px;
              z-index: 1;
              background-color: $whiteclr;
            }
          }
        }
      }
    }

    .sub-links a {
      padding: 0.5rem 0.75rem 0.5rem 1.875rem;
    }

    .submenu-wraper {
      position: relative;
      display: block;
      top: -53px;
      margin-left: 5.438rem;
    }


    .arrow {
      display: none;
    }
  }
}

/*===dropdown==*/
.list-item {
  height: 40px;
  max-width: 240px;
  border-radius: 0px;
  list-style: none;
  background-color: $whiteclr;
  display: flex;

  input {
    margin-right: 0.75rem;
  }

  &:hover {
    background-color: $gray100;
  }

  &:focus {
    background-color: $pri25;
  }

  .list-icon {
    display: block;
    min-width: 16px;
    max-width: 16px;
    margin-right: 0.875rem;
    height: 16px;
    margin-top: 0.063rem;
    margin-bottom: auto;

    img {
      height: 100%;
      width: 100%;
    }

    .feather {
      height: 100%;
      width: 100%;
      vertical-align: baseline;
    }
  }

  a {
    display: flex;
    text-decoration: none;
    color: $gray700;
    padding: 0.625rem 1rem 0.625rem 1rem;
    width: 100%;
    font-size: 14px;

    &:focus {
      background-color: $pri25  !important;
    }

    &:hover {
      color: $gray700;
      background-color: $gray100;
    }
  }

  .list-text {
    color: $gray700;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }
}

.dropdown_menu {
  display: block;
  padding: 0rem;
  margin: 0rem;
}

.profile-details {
  .dropdown {
    margin-left: auto;
  }
}

.list-divider {
  display: block;
  max-width: 240px;
  height: 1px;
  width: 100%;
  background-color: $gray100;
}

.dropdown-menu .divider {
  height: 1px;
  margin: 0.563rem 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.dropdown-toggle {
  border: none;
  outline: none;
  background: transparent;

  &::after {
    content: none !important;
  }
}

.dropdown-menu {
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  border-radius: 8px !important;
  border: 1px solid $gray100  !important;
  width: 240px;

  .avatar-label-group {
    padding-left: 1rem !important;
  }
}

/*===check boxes===*/
input.cbk {
  position: relative;
  appearance: none;
  cursor: pointer;

  &:disabled:checked::after {
    border-color: $gray300;
    background-color: $gray100;
  }

  &:disabled:checked::before {
    border-color: $gray300;
    background-color: $gray100;
  }

  &::after {
    background: $whiteclr;
    border: 1px solid $gray300;
    transition: $trans;
    top: 0px;
    left: 0px;
    content: '';
    position: absolute;
  }

  &:checked:after {
    border-color: $pri800;
    background: $pri25;
  }

  &:hover::after {
    background: $pri25;
    border-color: $pri800;
  }

  &:focus::after {
    border-color: $pri300;
    box-shadow: 0px 0px 0px 4px $pri50;
  }
}

.cb-sm {
  width: 16px;

  &:disabled::after {
    background-color: $gray100;
  }

  &:disabled:hover::after {
    border-color: $gray300;
  }

  &:checked::before {
    transition: 0.3s ease-in-out;
    left: 4px;
    top: 4px;
    height: 5.5px;
    width: 8px;
    border-top: 2px solid $pri800;
    content: "";
    position: absolute;
    z-index: 9;
    border-right: 2px solid $pri800;
    transform: rotate(130deg);
  }

  &::after {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }
}

.cb-md {
  width: 20px;
  height: 20px;
  border-radius: 6px;

  &:disabled::after {
    background-color: $gray100;
  }

  &:disabled:hover::after {
    border-color: $gray300;
  }

  &:checked::before {
    height: 6.4166660309px;
    width: 9.3333320618px;
    left: 5px;
    top: 5px;
    border-top: 2px solid $pri800;
    content: "";
    position: absolute;
    z-index: 9;
    border-right: 2px solid $pri800;
    transform: rotate(130deg);
  }

  &::after {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }
}

/*--radio box--*/
.intermidiate {
  &::after {
    border-color: $pri800  !important;
    background-color: $gray100  !important;
  }

  &:disabled::before {
    border-color: $gray300;
  }

  &:disabled:hover::after {
    border-color: $gray300;
    background-color: $gray100  !important;
  }

  &:disabled::after {
    border-color: $gray300  !important;
    background-color: $gray100  !important;
  }

  &::before {
    height: 0;
    width: 9.3333320618px;
    left: 5px;
    top: 9px;
    border-top: 2px solid $pri800;
    content: "";
    position: absolute;
    z-index: 9;
    border-right: 2px solid $pri800;
    transform: rotate(180deg);
  }
}

input.rd {
  position: relative;
  appearance: none;
  cursor: pointer;

  &:disabled::after {
    border-color: $gray300;
    background-color: $gray100;
  }

  &:disabled:hover::after {
    border-color: $gray300;
    background-color: $gray100;
  }

  &:hover::after {
    background: $pri25;
    border-color: $pri800;
  }

  &:focus::after {
    border-color: $pri300;
    box-shadow: 0px 0px 0px 4px $pri50;
  }

  &::after {
    background: $whiteclr;
    border: 1px solid $gray300;
    transition: $trans;
    top: 0px;
    left: 0px;
    content: '';
    position: absolute;
  }

  &:checked:after {
    border-color: $pri800;
    background: $pri25;
  }

  &:disabled:checked:after {
    border-color: $gray300;
    background-color: $gray100;
  }

  &:disabled:checked:before {
    background-color: $gray300;
  }
}

.rd-sm {
  width: 16px;
  height: 16px;

  &::after {
    width: 16px;
    height: 16px;
    border-radius: 100px;
  }

  &:checked::before {
    border-radius: 100px;
    height: 6px;
    min-width: 6px;
    background-color: $pri900;
    content: "";
    z-index: 9;
    position: absolute;
    top: 5px;
    left: 5px;
  }
}

.rd-md {
  width: 20px;
  height: 20px;

  &::after {
    width: 20px;
    height: 20px;
    border-radius: 100px;
  }

  &:checked::before {
    border-radius: 100px;
    height: 8px;
    min-width: 8px;
    background-color: $pri900;
    content: "";
    z-index: 9;
    position: absolute;
    top: 6px;
    left: 6px;
  }
}

.box-input {
  display: flex;
  gap: 8px;
  height: 60px;

  &.disabled {
    .in-label {
      color: $gray300;
    }
  }
}

.label-wraper {
  display: block;

  .in-label-sm {
    color: $gray700;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
  }

  .in-label-md {
    color: $gray700;
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
  }

  .lb-text-sm {
    color: $gray500;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    display: block;
  }

  .lb-text-md {
    color: $gray500;
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    display: block;
  }
}

/*=====filter-form=====*/
.selet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.filter-title {
  font-size: 1.438rem;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-align: left;
  color: $gray700;
  margin-bottom: 1.438rem;
  transition: 0.3s;
}

.canvas-form {
  position: fixed;
  right: -450px;
  top: 0px;
  z-index: 9;
  height: 100%;
  overflow: auto;
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);

  .filter-title {
    position: -webkit-sticky;
    position: sticky;
    top: 25px;
    z-index: 9;
  }

  .filter-form-buttons {
    position: sticky;
    bottom: 22px;
    right: 24px;
    left: 24px;
  }

  .close-btn {
    position: sticky !important;
    top: 25px !important;
    margin-left: auto;
    width: fit-content;
  }

  &.open {
    animation: fadetoRight 0.5s ease-in-out;
    animation-fill-mode: forwards;
  }

  &.close {
    animation: fadeInRight 0.5s ease-in-out;
  }
}

@keyframes fadetoRight {
  from {
    right: -450px;
    ;
  }

  to {
    right: 0px;
  }
}

@keyframes fadeInRight {
  from {
    right: 0px;
  }

  to {
    right: -450px;
  }
}

.canvas-form::-webkit-scrollbar {
  width: 0px;
}

.filter-form-buttons {
  display: flex;
  gap: 28px;
  margin-top: auto;

  .btn {
    width: 100% !important;
  }
}

.input-dropdown {
  margin-bottom: 1.5rem;
}

.filter-form {
  padding: 1.5rem 1.5rem 1.375rem 1.5rem;
  background-color: $gray25;
  box-shadow: 0px 8px 8px rgba(16, 24, 40, 0.03), 0px 20px 24px rgba(16, 24, 40, 0.08);
  height: 100vh;
  width: 450px;
  border-radius: 0px;
  display: flex;
  min-height: 915px;
  flex-direction: column;
  position: relative;

  .close-btn {
    background: transparent;
    outline: none;
    position: absolute;
    right: 12px;
    top: 12px;
    border: none;
  }
}

.date-picker {
  position: relative;
  display: block;

  .date-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 18px;
    pointer-events: none;
  }

  img {
    width: 100%;
    height: 100%;
  }

  input {
    height: 44px;
    width: 100%;
    border-radius: 100px;
    padding: 10px 14px 10px 14px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 100px;
    outline: none;
    cursor: pointer;
    caret-color: transparent;
  }
}

.dropdown-label {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  display: block;
  margin-bottom: 6px;
  color: $gray700
}

.dropdown-icon {
  position: absolute;
  top: 8px;
  left: 14px;
  height: 20px;
  z-index: 1;
  width: 20px;

  img {
    width: 100%;
    height: 100%;
  }
}

.d-inner-wraper {
  display: block;
  position: relative;
}

/*=====select2======*/
.select2-search__field {
  background: $gray25;
  border: 1px solid $gray300  !important;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 100px;
  outline: none;
  padding-left: 2.625rem !important;
  height: 44px;
  background-image: url(../icons/search.svg);
  background-size: 20px 20px;
  background-position: 14px 50%;
  background-repeat: no-repeat;

  &::placeholder {
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: $gray500;
    text-transform: capitalize;
  }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: $gray900;
}

.select2-container--default .select2-selection--single b {
  background-color: transparent;
  border-color: transparent !important;
}

.select2-container--open .select2-selection__arrow {
  transform: rotate(-180deg);
}

.select2-selection__arrow {
  background-image: url("../icons/chevron-down.svg");
  height: 20px !important;
  position: absolute !important;
  top: 13px !important;
  background-size: contain;
  right: 19px !important;
  width: 19px !important;
  background-position: center;
}

.select2-search--dropdown {
  padding: 0.75rem 0.75rem 0rem 0.75rem;
}

.select2-results__option--selectable {
  color: $gray900;
  background-color: $whiteclr;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  padding: 0.625rem 0.875rem;
  gap: 8px;
  height: 44px;
  text-transform: capitalize;
}

.select2-results__option--highlighted.select2-results__option--selectable {
  background-color: $gray50  !important;
  color: $gray900;
}

.select2-results__option.select2-results__option--selectable.select2-results__option--highlighted {
  color: $gray900;
}

.select2-container--default .select2-results__option--selected {
  background-color: $pri25  !important;
  color: $pri800  !important;
  position: relative;
}

.select2-container--default .select2-results__option--selected::after {
  position: absolute;
  top: 12px;
  right: 12px;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("../icons/check1.svg");
  background-repeat: no-repeat;
}

.select2-container--default .select2-results__option--selected.select2-results__option--highlighted {
  background-color: $pri50  !important;
}

.select2-container--default .select2-selection--single {
  background: $whiteclr;
  border: 1px solid $gray300;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 10px 14px 10px 42px;

  &:focus {
    box-shadow: 0px 0px 0px 4px $pri50;
  }
}

.select2-container--open .select2-selection--single {
  box-shadow: 0px 0px 0px 4px $pri50;
  border-radius: 100px;
  border-color: $pri100;
}

.select2-container--open .select2-dropdown--below {
  background: #FFFFFF;
  border: 1px solid $gray100;
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  border-radius: 8px;
  overflow-y: auto;
  max-width: 320px;
}

.select2-container--open .select2-dropdown--below::-webkit-scrollbar {
  width: 12px;
  border-radius: 100px;
}

.select2-container--open .select2-dropdown--below::-webkit-scrollbar-thumb {
  background: $gray200;
  border-radius: 100px;
  width: 12px;
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

.select2-container--default .select2-results>.select2-results__options {
  max-height: 320px;
  overflow: visible;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-radius: 100px;
}

.js-basic-single {
  width: 100% !important;
  max-width: 407px;
}
.select2-container--default .select2-selection--multiple {
  border-radius: 4px;
  cursor: text;
  padding-bottom: 5px;
  padding-right: 5px;
  position: relative;
  height: 44px;
  width: 100%;
  border-radius: 100px;
  background: $whiteclr;
  border: 1px solid #D0D5DD !important;
  box-shadow: 0px 1px 2px rgb(16 24 40 / 5%);
  border-radius: 100px;
  outline: none;
}
/*====datepiker====*/
.ui-datepicker {
  height: 491px;
  width: 328px;
  background: $whiteclr;
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  border-radius: 8px;
  padding: 2rem 1.375rem 1.25rem 1.375rem;
  flex-direction: column;
  display: flex;
  position: absolute;
  top: 0px;
  display: none;

  .ui-datepicker-title {
    select {
      background: #FFFFFF;
      border: 1px solid #D0D5DD;
      box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
      border-radius: 100px;
      padding: 0.625rem 2rem 0.625rem 0.875rem;
      gap: 8px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-image: url("../icons/chevron-down.svg");
      background-repeat: no-repeat;
      background-position: 90% 50%;
      background-size: 20px 20px;
      font-size: 1rem;
      font-weight: 700;
      line-height: 24px;
      letter-spacing: 0em;
      outline: none;
      text-align: left;
      color: $gray900;

      option {
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: 0em;
        text-align: left;

      }
    }

  }

  .ui-datepicker-calendar {
    width: 100%;

    td .ui-state-default {
      width: 40px;
      border-radius: 100px;
      height: 40px;
      text-decoration: none;
      color: $gray900;
      margin: 0px;
      font-size: 0.875rem;
      display: block;
      outline: none;
      text-align: center;
      line-height: 40px;
      font-weight: 500;

      &:hover {
        background-color: $gray100;
      }
    }
  }

  .ui-datepicker-today a {
    background-color: $pri800;
    color: $whiteclr  !important;

    &:hover {
      background-color: $pri800  !important;
      color: $whiteclr  !important;
    }
  }

  .ui-datepicker-other-month a {
    color: $gray500  !important;
  }

  .ui-datepicker-title {
    gap: 12px;
  }

  .ui-datepicker-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: $gray900;
    text-align: center;
    display: flex;
    align-items: center;
  }

  .ui-datepicker-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
  }

  .ui-datepicker-next {
    order: 1;
  }

  .ui-datepicker-current {
    display: none;
  }

  .ui-datepicker-close {
    display: block;
    width: 100%;
    border-radius: 40px;
    outline: none;
    height: 44px;
    background: $pri25;
    border: 1px solid $pri25;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 100px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    line-height: 24px;
    margin-top: auto;
    color: $pri800;
  }

  .ui-datepicker-prev span {
    background-image: url("../icons/circle.svg") !important;
  }

  .ui-datepicker-next span {
    background-image: url("../icons/circle.svg") !important;
  }

  .ui-icon {
    color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: auto;
    height: 20px;
    width: 20px;
    cursor: pointer;

  }

  .ui-datepicker-prev.ui-corner-all,
  .ui-datepicker-next.ui-corner-all {
    background: $whiteclr;
    border: 1px solid $gray300;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 100px;
    display: flex;
    height: 36px;
    width: 36px;
    text-decoration: none;
  }

  .ui-datepicker-calendar thead tr th span {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 20px;
    color: $gray900;
    letter-spacing: 0em;
    text-align: center;
    display: block;
    margin-bottom: 0.75rem;
  }

  .ui-datepicker-buttonpane {
    margin-top: auto;
  }

  .tag-selected {
    list-style: none;
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 0.313rem;
    margin-top: 0.313rem;
    padding: 0 0.313rem;
  }

  .destroy-tag-selected {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 0.125rem;

    &:hover {
      text-decoration: none;
    }
  }
}

.rick-score-box {
  .color-red {
    stop-color: #e23131;
  }

  .color-yellow {
    stop-color: #fbe500;
  }

  .color-green {
    stop-color: #25cd6b;
  }

  .main {
    max-width: 1200px;
    margin: 0 auto;
  }

  .main__title {
    text-align: center;
    font-size: 48px;
  }

  .gradient-mask {
    visibility: hidden;
  }

  .button {
    position: absolute;
    right: 40px;
    top: 40px;
    border: 2px solid #fff;
    background-color: #26323a;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s;
  }

  .button:active {
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
    outline: 0;
  }

  .button:hover,
  .button:focus {
    outline: 0;
    background: linear-gradient(-140deg, #212629, #395467);
  }

  .gauge-container {
    padding: 20px;
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
  }

  .gauge {
    height: 220px;
    width: 300px;
  }

  .gauge .dxg-range.dxg-background-range {
    fill: url(#gradientGauge);
  }

  .gauge .dxg-line {
    -webkit-transform: scaleX(1.04) scaleY(1.03) translate(-4px, -4px);
    transform: scaleX(1.04) scaleY(1.03) translate(-4px, -4px);
  }

  .gauge .dxg-line path:first-child,
  .gauge .dxg-line path:last-child {
    display: none;
  }

  .gauge .dxg-line path:nth-child(2),
  .gauge .dxg-line path:nth-child(6) {
    stroke: #ed811c;
  }

  .gauge .dxg-line path:nth-child(3),
  .gauge .dxg-line path:nth-child(5) {
    stroke: #a7db29;
  }

  .gauge .dxg-line path:nth-child(4) {
    stroke: #25cd6b;
  }

  .gauge .dxg-elements text:first-child {
    -webkit-transform: translate(19px, 13px);
    transform: translate(19px, 13px);
  }

  .gauge .dxg-elements text:last-child {
    -webkit-transform: translate(-27px, 14px);
    transform: translate(-27px, 14px);
  }

  .gauge .dxg-value-indicator path {
    -webkit-transform: scale(1.2) translate(0, -5px);
    transform: scale(1.2) translate(0, -5px);
    -webkit-transform-origin: center center;
    transform-origin: center center;
  }

  .gauge .dxg-value-indicator .dxg-title {
    text-transform: uppercase;
  }

  .gauge .dxg-value-indicator .dxg-title text:first-child {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }

  .gauge .dxg-value-indicator .dxg-spindle-border:nth-child(4),
  .gauge .dxg-value-indicator .dxg-spindle-hole:nth-child(5) {
    -webkit-transform: translate(0, -109px);
    transform: translate(0, -109px);
  }

  .gauge .dxg-value-indicator .dxg-spindle-hole {
    fill: #26323a;
  }
}

/*===========toggle===========*/

.switch {
  position: relative;
  display: inline-block;

  input {
    opacity: 0;
    width: 0;
    height: 0;

    &:checked+.slider {
      background-color: $pri600;
    }

    &:checked:hover+.slider {
      background-color: $pri700;
    }

    &:focus+.slider {
      box-shadow: 0px 0px 0px 4px #E0F4FD;
    }
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: $gray100;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;

    &:before {
      position: absolute;
      content: "";
      left: 2px;
      bottom: 2px;
      background-color: white;
      -webkit-transition: .4s;
      transition: .4s;
      box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.06), 0px 1px 3px rgba(16, 24, 40, 0.1);
      border-radius: 50%;
    }
  }

  &:hover {
    .slider {
      background-color: $gray200;
    }
  }
}

.toogle-wraper {
  display: flex;

  .empty {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: $gray500;
    margin-right: 18px;
  }

  input {
    &:checked~.empty {
      color: $gray900  !important;
    }
  }

  .lb-sm {
    margin-left: 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: $gray700;
  }

  .lb-md {
    margin-left: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: $gray700;
  }
}

.switch.toggle-sm {
  height: 20px;
  width: 36px;

  input {
    &:checked+.slider:before {
      transform: translateX(16px);
    }
  }

  .slider.round {
    &:before {
      height: 16px;
      width: 16px;
    }
  }
}

.switch.toggle-md {
  height: 24px;
  width: 44px;

  input {
    &:checked+.slider:before {
      transform: translateX(21px);
    }
  }

  .slider.round {
    &:before {
      height: 20px;
      width: 20px;
    }
  }
}

.dxg-tracker {
  clip-path: url("../images/error-chart.svg");
}