@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Teko&display=swap");

:root {
  --color-primary: #7380ec;
  --color-danger: #ff7782;
  --color-success: #6DB725;
  --color-warning: #942300;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-info-light: #dce1eb;
  --color-dark: #363949;
  --color-light: rgba(132, 139, 200, 0.18);
  --color-primary-variant: #111e88;
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;

  --card-border-radius: 2rem;
  --border-radius-1: 0.4rem;
  --border-radius-2: 0.8rem;
  --border-radius-3: 1.2rem;

  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}

.dark-theme-variables {
    --color-background: #181A1E;
    --color-white: #202528;
    --color-dark: #EDEFFD;
    --color-dark-variant: #A3BDCC;
    --color-light: rgba(0, 0, 0, 0.4);
    --box-shadow: 0 2rem 3rem var(--color-light);
}
.dark-theme-variables h3 {
  color: #EDEFFD;
}
.dark-theme-variables .input-field {
  color: #EDEFFD;
  border: 2px solid;
  background-color: #181A1E;

}
.dark-theme-card {
    background-color: #181A1E !important;
    /* --color-white: #202528; */
    color: #EDEFFD !important;
    /* --color-dark-variant: #A3BDCC;
    --color-light: rgba(0, 0, 0, 0.4); */
    box-shadow: 0 2rem 3rem var(--color-light);
}

.font-20 {
  font-size: 20px !important;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  /* appearance: none; */
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {


  font-family: poppins, sans-serif;
  font-size: 0.88rem;
  background-color: var(--color-background);
  user-select: none;
  overflow-x: hidden;
  color: var(--color-dark);
}
.color-danger {
    color: var(--color-danger) !important;
}
.color-primary {
  color: var(--color-primary) !important;
}
.h-300 {
  height: 300px !important;
}
.vertical-middle {
  vertical-align: middle !important;
}
.container {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 14rem auto 23rem;
}
.container-style {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 14rem auto;
}
.container-connect {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  /* grid-template-columns: 14rem 40rem 35rem; */
}
@media only screen and (min-width: 992px) {
  .container-connect {
    grid-template-columns: 14rem 40rem 35rem;
  }
  .container {
    max-width: 96% !important;  }
}
.border-danger {
  border-color: var(--color-danger) !important;
}
.font-bold {
  font-weight: bold !important;
}

a {
  color: var(--color-dark);
}

img {
  display: block;
  width: 100%;
}

h1 {
  font-weight: 800;
  font-size: 1.8rem;
}

h2 {
  font-size: 1.4rem !important;
}

h3 {
  font-size: 0.87rem !important;
}

h4 {
  font-size: 0.8rem;
}

h5 {
  font-size: 0.77rem;
}

small {
  font-size: 0.75rem;
}

.profile-photo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  overflow: hidden;
}
.activepill {
  border: 1px solid black;
  border-radius: 6px;
  box-shadow: 2px 4px 10px;
  height: 30px;
}
.pad-top {
  padding-top: 20px;
}
.text-muted {
  color: var(--color-info-dark);
}

p {
  color: var(--color-dark-variant);
}

b {
  color: var(--color-dark);
}

.primary {
  color: var(--color-primary);
}
.primary-variant {
  color: var(--color-primary-variant);
}

.danger {
  color: var(--color-danger);
}
.primary-variant {
  color: var(--color-primary-variant);
}
.success {
  color: var(--color-success) !important;
}

.success-variant {
  color: #6DB725 !important;
}

.warning {
  color: var(--color-warning) !important;
}
.dark {
  color: var(--color-dark);
}
.info-dark {
  color: var(--color-info-dark);
}
.info-light {
  color: var(--color-info-light);
}
.w-70{
  width: 70% !important;
}
.t-center {
  text-align: center !important;
  }
  .mb-a{
    margin-bottom: 1rem !important;
  }
aside {
  height: 100%;
}

aside .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
}

aside .logo {
  display: flex;
  gap: 0.8rem;
}

aside .logo img {
  width: 2rem;
  height: 2rem;
}
aside .logo h2 {
  margin: 0;
  font-weight: 700;
  font-family: poppins, sans-serif;
  line-height: 1.5;

}

aside .close {
  display: none;
}

aside .siderbar {
  display: flex;
  flex-direction: column;
  height: 86%;
  position: relative;
  top: 3rem;
}

aside h3 {
  font-weight: 500 !important;
  font-family: "Poppins", sans-serif;
  margin: 0 !important;

}

aside .siderbar a {
  display: flex;
  color: var(--color-info-dark);
  margin: 0 0 0 2rem;
  gap: 1rem;
  align-items: center;
  position: relative;
  height: 3.7rem;
  transition: all 300ms ease;
}

aside .siderbar a span {
  font-size: 1.6rem;
  transition: all 300ms ease;
}

aside .sidebar a:last-child {
  position: absolute;
  bottom: 2rem;
  width: 100%;
}

aside .siderbar a.active {
  background: var(--color-light);
  color: var(--color-primary);
  margin-left: 0;
}

aside .siderbar a.active:before {
  content: "";
  width: 6px;
  height: 100%;
  background: var(--color-primary);
}

aside .siderbar a.active span {
  color: var(--color-primary);
  margin-left: calc(1rem - 3px);
}

aside .siderbar a:hover {
  color: var(--color-primary);
  text-decoration: none !important;
}

aside .siderbar a:hover span {
  margin-left: 1rem;
}

main {
  margin-top: 1.4rem;
}

main .date {
  display: inline-block;
  background: var(--color-light);
  border-radius: var(--border-radius-1);
  margin-top: 1rem;
  padding: 0.5rem 1.6rem;
}

main .date input[type="date"] {
  background: transparent;
  color: var(--color-dark);
}

main .insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
main .maketwo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

main .insights>div {
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

main .insights>div:hover {
  box-shadow: none;
}

main .insights>div i {
  background: var(--color-primary);
  padding: 0.5rem;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
}

main .insights>div.expenses i {
  background: var(--color-danger);
}

main .insights>div.income i {
  background: var(--color-success);
}

main .insights>div .middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main .insights h3 {
  margin: 1rem 0 0.6rem !important;
  font-size: 1rem !important;
}

main .insights .progress {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
}

main .insights svg {
  width: 7rem;
  height: 7rem;
}

main .insights svg circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 14;
  stroke-linecap: round;
  transform: translate(5px, 5px);
  stroke-dasharray: 110;
  stroke-dashoffset: 92;
}

main .insights .sales svg circle {
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .insights .expenses svg circle {
  stroke-dashoffset: 20;
  stroke-dasharray: 80;
}

main .insights .expenses svg circle {
  stroke-dashoffset: 35;
  stroke-dasharray: 110;
}

main .insights .progress .number {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .insights small {
  margin-top: 1.6rem;
  display: block;
}

main .recent-orders {
  margin-top: 2rem;
}

main .recent-orders h2 {
  margin-bottom: 0.8rem;
}

main .recent-orders table {
  background: var(--color-white);
  width: 100%;
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

main .recent-orders table:hover {
  box-shadow: none;
}

main table tbody td {
  height: 2rem;
  border-bottom: 1px solid var(--color-light);
  color: var(--color-dark-variant);
}

main table tbody tr:last-child td {
  border: none;
}

main .recent-orders a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}
.steps {
  display: inline-flex;
  width: 100%;
  margin-top: 18px;
}
main .steps .page-info {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
main .page-numbers {
  margin-left: auto;
  margin-right: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: right;
}
main a.pagi-text {
  display: inline;
  margin: 0 2px;
  color: #797979;
  padding: 6px 12px;
  background-color: #ffffff;
  border-color: #ddd;
  border-radius: 25px;
  border: 1px solid;
}
main .steps .pagination-no {
  display: inline;
  border-radius: 50%;
  margin: 0 2px;
  color: #797979;
  border-color: #797979;
  padding: 6px 12px;
  border: 1px solid;
}
main .steps .pagination-no.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.form-c-label {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.fc .fc-daygrid-day-top {
  flex-direction: row !important;
}
#calendar table td{
  border: 1px solid #ddd;
}
.form-c-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #eee;
  border-radius: 5px;
  border: 1px solid #363949;
}

/* On mouse-over, add a grey background color */
.form-c-label:hover input~.checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.form-c-label input:checked~.checkmark {
  background-color: #2196F3;
  border: none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.p-all{
  padding: 1rem 0.5rem !important;
}
/* Show the checkmark when checked */
.form-c-label input:checked~.checkmark:after {
  display: block;
}
.list-input{
  display: flex;
  flex-wrap: wrap;
}
.list-input li{
  margin-right: 10px;
}
/* Style the checkmark/indicator */
.form-c-label .checkmark:after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.connect-table {
  width: 100%;
  text-align: justify;
}
.connect-table th {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.right {
  margin-top: 1.4rem;
}

.right .top {
  display: flex;
  justify-content: end;
  gap: 2rem;
}

.right .top button {
  display: none;
}

.right .theme-toggler {
  background: var(--color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.6rem;
  width: 4.2rem;
  cursor: pointer;
  border-radius: var(--border-radius-1);
}
hr.solids {
  border-top: 3px solid #bbb;
}
.right .theme-toggler span {
  font-size: 1.2rem;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottom {
  position: absolute !important;
  bottom: 0;
}

.right .theme-toggler span.active {
  background: var(--color-primary);
  color: white;
  border-radius: var(--border-radius-1);
}

.right .top .profile {
  display: flex;
  gap: 2rem;
  text-align: right;
}

.right .recent-updates {
  margin-top: 1rem;
}
.right .recent-updates a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

.right .recent-updates h2 {
  margin-bottom: 0.8rem;
}

.right .recent-updates .updates {
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

.right .recent-updates .updates:hover {
  box-shadow: none;
}

.right .recent-updates .updates .update {
  display: grid;
  grid-template-columns: 2.6rem auto;
  gap: 1rem;
  margin-bottom: 1rem;
}

.right .sales-analytics {
  margin-top: 2rem;
}
.right .sales-analytics a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

.right .sales-analytics h2 {
  margin-bottom: 0.8rem;
}

.right .sales-analytics .item {
  background: var(--color-white);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding: 1.4rem var(--card-padding);
  border-radius: var(--border-radius-3);
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

.right .sales-analytics .item:hover {
  box-shadow: none;
}

.right .sales-analytics .item .right {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 0;
  width: 100%;
}

.right .sales-analytics .icon {
  padding: 0.6rem;
  color: var(--color-white);
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
}

.right .sales-analytics .item.offline .icon {
  background: var(--color-danger);
}

.right .sales-analytics .item.customers .icon {
  background: var(--color-success);
}

.right .sales-analytics .add-product {
  background: transparent;
  border: 2px dashed var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.right .sales-analytics .add-product div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.right .sales-analytics .add-product div h3 {
  font-weight: 600;
}

@media screen and (max-width: 1200px) {
  .container {
    width: 94%;
    grid-template-columns: 7rem auto 23rem;
  }
  .container-style {
    width: 94%;
    grid-template-columns: 7rem auto;
  }

  aside .logo h2 {
    display: none;
  }

  aside h3 {
    display: none;
  }

  aside .siderbar a {
    width: 5.6rem;
  }

  aside .siderbar a:last-child {
    position: relative;
    margin-top: 1.8rem;
  }

  main .insights {
    grid-template-columns: 1fr;
    gap: 0;
  }

  main .recent-orders {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 8.8rem;
  }

  main .recent-orders table {
    width: 83vw;
  }


  main table tbody tr td:last-child,
  main table tbody tr td:first-child {
    display: none;
  }

  main table thead tr th:last-child,
  main table thead tr th:first-child {
    display: none;
  }
}

@media screen and (max-width: 820px) {
    .container {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .container-style {
        width: 100%;
        grid-template-columns: 1fr;
    }

    aside {
        position: fixed;
        left: -100%;
        background: var(--color-white);
        width: 18rem;
        z-index: 3;
        box-shadow: 1rem 3rem 4rem var(--color-light);
        height: 100%;
        padding-right: var(--card-padding);
        display: none;
        animation: showMenu 400ms ease forwards;
    }

    @keyframes showMenu {
      to {
        left: 0;
      }
    }

    aside .logo {
        margin-left: 1rem;
    }

    aside .logo h2 {
        display: inline;
    }

    aside h3 {
        display: inline;
    }

    aside .siderbar a {
        width: 100%;
        height: 3.4rem;
    }

    aside .close {
        display: inline-block;
        cursor: pointer;
    }

    main {
        margin-top: 8rem;
        padding: 0 0.1rem;
    }

    main .recent-orders {
        position: relative;
        margin: 3rem 0 0;
        width: 96%;
    }

    main .recent-orders table {
        width: 100%;
        margin: 0;
    }

    main .date {
      margin-left: 5px;
    }

    .right {
        width: 94%;
        margin: 0 auto 4rem;
    }
    main .insights>div {
      margin-left: auto;
      margin-right: auto;
      width: 96%;
    }

    .right .top {
        position: fixed;
        top: 0;
        left: 0;
        align-items: center;
        padding: 0 0.8rem;
        height: 4.6rem;
        background: var(--color-white);
        width: 100%;
        margin: 0;
        z-index: 2;
        box-shadow: 0 1rem 1rem var(--color-light);
    }

    .right .top .theme-toggler {
        width: 4.4rem;
        position: absolute;
        left: 60%;
    }

    .right .profile .info {
        display: none;
    }

    .right .top button {
        display: inline-block;
        background: transparent;
        cursor: pointer;
        color: var(--color-dark);
        position: absolute;
        left: 1rem;
        font-size: 1rem;
    }

    .right .top button span {
        font-size: 2rem;
    }
    .right .recent-updates .updates {
      padding: 0;
    }

    #Chart {
      display: none;
    }
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(transparent, var(--color-white));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(transparent, var(--color-light));
  border-radius: 6px;
}
@media (min-width: 768px) and (max-width: 992px) {
  .container-connect {
    grid-template-columns: 4rem 40rem 4rem;
  }
}
@media screen and (max-width: 1200px) {

  main table thead tr th:last-child,
  main table thead tr th:first-child {
    display: block !important;
  }

  main table tbody tr td:last-child,
  main table tbody tr td:first-child {
    display: block !important;
  }
}

@media only screen and (max-width: 600px) {
  table {
    font-size: 10px;
  }

  main table tbody td {
    height: 1rem;
  }

  .sweet-alert {
    position: absolute;
    bottom: 0px;
    z-index: 9999;
  }
}

.errorlist{
  color: red;
  }

  .modal-s {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  .modal-content-s {
    background-color: var(--color-background);
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: fit-content; /* Could be more or less, depending on screen size */
    border-radius: 1em;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .checkin{
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .checkin input {
    margin-left: 2.5rem
  }
  .checkin label {
    margin-left: 5px;
    margin-bottom: 0 !important;
  }


.drop-parent {
    position: relative;
    display: inline-block;
}
.dropdown-menu-aside {
    display: none;
    position: absolute;
    width: 65%;
    overflow: auto;
    background-color: var(--color-background);
    border-radius: 0.2rem;
    z-index: 1;
    right: 0;
    top: 0;
    left: 0;
    transform: translate(105%,10%);
    background:#e6e6f9;
    border-radius: 0.30rem;
}
.drop-parent a:hover + .dropdown-menu-aside {
    display: block;
}
.dropdown-menu-aside:hover {
    display: block;
}