:root {
  --font-sm: 14px;
  --font-xsm: 12px;
  --font-normal: 400;
  --font-medium: 500;
  --font-bold: 700;
  --color-primary: #402e7a;
  --color-primary-rgb: 10, 71, 46;
  --color-white: #ffffff;
  --color-white-rgb: 255, 255, 255;
  --color-dark: #1E1D23;
  --color-dark-rgb: 30, 29, 35;
  --color-gray-1: #8D8D8D;
  --color-gray-2: #676767;
  --color-light: #f4f5f8;
  --color-light-1: #F3F6F5;
  --color-light-2: #FCFFFE;
  --color-light-3: #F2F2F2;
  --color-light-4: #F8F8F8;
  --border: #CEDAD5;
  --border-2: #EAEAEA;
}

/* -----------------------------------------
    Dashboard CSS
----------------------------------------- */
.user-dashboard {
  padding-top: 20px;
  position: relative;
  overflow: hidden;

  .sidebar-widget-area {
    .links {
      li {
        display: block;
        border-bottom: 1px dashed var(--border);
        transition: all .3s;

        &:last-child {
          border-bottom: none;

          a {
            padding-bottom: 0;
          }
        }

        a {
          display: block;
          padding: 15px 0;
          color: var(--color-gray-1);
        }

        a.active {
          color: var(--color-primary);
        }

        &:hover {
          >a {
            color: var(--color-primary);
          }
        }
      }
    }
  }

  .title {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }

  .main-info {
    overflow: hidden;
    margin-left: -15px;
    padding-left: 15px;

    h4 {
      margin-bottom: 15px;
    }

    ul.list {
      @include make-flex(start, start);
      flex-wrap: wrap;

      li {
        padding: 20px 30px;
        border-radius: 10px;
        background: var(--color-white);
        box-shadow: 0px 5px 20px rgba(49, 49, 49, 0.09);
        display: flex;
        margin-bottom: 15px;

        &:not(:last-child) {
          margin-inline-end: 15px;
        }

        span:first-child {
          color: var(--color-dark);
          font-weight: var(--font-medium);
          margin-inline-end: 10px;
        }

        p {
          span {
            font-weight: 500;
            margin-right: 20px;
          }
        }
      }
    }
  }

  .order-details {
    border: 1px solid var(--border);
    padding:15px 30px;
  }

  .account-info {
    border: 1px solid var(--border);
    padding: 30px 30px 15px;
  }

  .card-box {
    padding: 0px;
    border: none;
    text-align: center;
  }

  .card {
    height: auto;
  }

  .color-1 {
    background: rgba(33, 150, 243, 0.13);
    color: #2196f3;
  }

  .color-2 {
    background: rgba(253, 192, 64, 0.13);
    color: #2196f3;
  }
  .color-3 {
    background: rgba(75, 58, 131, 0.13);
    color: #2196f3;
  }
  .color-4 {
    background: rgba(25, 216, 115, 0.13);
    color: #2196f3;
  }

  .color-1 h4,
  .color-2 h4,
  .color-3 h4,
  .color-4 h4 {
    font-size: 16px;
    padding: 20px 10px;
  }


  .progress-area-step {
    display: block;
    overflow: hidden;
  }

  .progress-steps {
    li {
      width: 25%;
      float: left;
      text-align: center;
      position: relative;

      .icon {
        height: 30px;
        width: 30px;
        text-align: center;
        margin: auto;
        background: var(--color-light);
        border-radius: 50%;
        line-height: 30px;
        font-size: 14px;
        font-weight: 700;
        color: #000000;
        position: relative;
      }

      &:first-child {
        &:after {
          display: none;
        }
      }

      &:after {
        position: absolute;
        content: "";
        height: 3px;
        width: calc(100% - 30px);
        background: var(--color-light);
        top: 14px;
        z-index: 0;
        right: calc(50% + 15px);
      }

      .progress-title {
        padding-top: 10px;
      }
    }

    li.active {
      .icon {
        background: var(--color-primary);
        color: var(--color-white);
      }
    }
  }

  .main-table {
    .dataTables_wrapper {
      .row {
        &:last-child {
          margin-bottom: 15px;
          align-items: center;
          margin-top: 20px;
        }

        &:first-child {
          margin-bottom: 30px;
          align-items: center;
        }
      }

      input[type="search"] {
        height: 35px;
        outline: none;

        &:focus {
          outline: none;
          box-shadow: none;
        }
      }

      th {
        color: var(--color-dark);
        padding: 10px;
        box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .05);
      }

      tr.odd {
        td {
          box-shadow: none;
        }
      }

      tr.even {
        td {
          box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .05);
        }
      }

      td {
        padding: 5px 10px;

        span.pending {
          padding: 5px 10px;
          background: rgba($color: var(--color-primary-rgb), $alpha: .13);
          color: var(--color-primary);
          border-radius: 3px;
          line-height: 18px;
          font-size: 13px;
          font-weight: 600;
        }

        a.btn {
          border: 1px solid var(--color-primary);
          color: var(--color-primary);
          background: transparent;
          font-size: 14px;
          line-height: 18px;
          border-radius: 3px;
          transition: all .3s;

          &:hover {
            background: var(--color-primary);
            border-color: transparent;
            color: var(--color-white);
          }
        }
      }
    }
  }

  .dataTables_wrapper {
    .dataTables_paginate {
      .paginate_button {
        border: none;
        padding: 0;
        margin-left: 5px;
        margin-right: 5px;

        &:hover {
          border: none;
          border-bottom: none;
          background: transparent;
          background-color: transparent;
        }
      }
    }
  }

  .paginate_button {
    .page-link {
      border: 1px solid var(--border);
      color: #123212;
      outline: none;
      box-shadow: none;

      &:hover {
        box-shadow: none;
        border-radius: 0;
        color: var(--color-white);
        background-color: var(--color-primary) !important;
      }
    }
  }

  .paginate_button.active {
    .page-link {
      color: var(--color-white);
      background-color: var(--color-primary) !important;
      border-color: transparent;
    }
  }

  table.dataTable.dtr-inline.collapsed {
    >tbody {
      >tr[role="row"] {
        >td {
          &:first-child {
            &:before {
              top: 15px;
            }
          }
        }

        >th {
          &:first-child {
            &:before {
              top: 15px;
            }
          }
        }
      }
    }
  }

  .view-order-page {
    .order-info {
      h3 {
        margin-bottom: 15px;
      }
    }
  }

  .order-info-area {
    padding: 20px 30px 0;
    border-radius: 10px;
    background: var(--color-white);
    box-shadow: 0px 5px 20px rgba(49, 49, 49, 0.09);

    .order-info {
      span {
        color: var(--color-yellow);
      }
    }

    .prinit {
      float: right;

      .btn {
        background: var(--color-primary);
        color: var(--color-white);

        i {
          margin-right: 10px;
        }
      }
    }
  }

  .billing-add-area {
    .main-info {
      ul.list {
        li {
          width: 100%;
          padding: 0;
          box-shadow: none;

          &:not(:last-child) {
            margin-inline-end: 0;
          }

          &:last-child {
            margin-bottom: 0;
          }

          span:first-child {
            color: var(--color-dark);
            font-weight: var(--font-medium);
            margin-inline-end: 10px;
          }
        }
      }
    }
  }

  .product-list {
    h5 {
      margin-bottom: 15px;
    }

    table {
      tr {
        td {
          b {
            line-height: 30px;
          }

          span {
            margin-left: 10px;
          }

          span.color {
            display: inline-block;
            width: 15px;
            height: 15px;
            background: #222;
          }
        }
      }
    }
  }

  .payment-information {
    h5 {
      margin-bottom: 20px;
    }
  }

  .edit-info-area {
    margin-top: 50px;
    overflow: hidden;

    .upload-img {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 40px;

      .img-box {
        max-width: 100px;
        height: 100px;

        img {
          width: 100%;
          border-radius: 50%;
        }
      }
    }

    .nice-select {
      width: 100%;
      border-color: var(--border);
      border-radius: 5px;

      .list {
        width: 100%;
      }
    }
  }

  .btn {
    background: var(--color-primary);
    color: var(--color-white);
    text-transform: capitalize;
    outline: none;

    &:hover {
      color: var(--color-white);
    }

    &:focus {
      color: var(--color-white);
    }
  }

  .file-upload-area {
    .upload-file {
      position: relative;
      cursor: pointer;

      input {
        width: 150px;
        visibility: visible;
        opacity: 0;
      }

      span {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
      }
    }
  }
}

/* -----------------------------------------
  Shopping CSS
----------------------------------------- */
.shopping-area {
  .shopping-table {
    width: 100%;
    border-collapse: collapse;
    vertical-align: middle;
  }

  .table-heading {
    background-color: var(--color-light);

    th {
      color: var(--color-dark);
      padding: 15px 0;
    }

    .first {
      padding: 15px 0 15px 20px;
      border-radius: 10px 0 0 10px;
    }

    .last {
      padding: 15px 20px;
      border-radius: 0 10px 10px 0;
    }
  }

  label {
    color: var(--color-dark);
    margin-bottom: 5px;
  }

  tbody {
    border: none !important;

    tr:not(:first-child) {
      border-top: 1px solid var(--border) !important;
    }

    td {
      padding: 15px 0;
    }

    .custom-checkbox {
      padding: 10px 15px 10px 20px;
    }

    .cart-item {
      box-shadow: 0px 15px 120px rgba(49, 49, 49, 0.1);
    }
  }

  .image {
    padding-left: 0;
    max-width: 120px;
  }

  .product-single-qty {
    .input-group {
      max-width: 90px;
    }

    .form-control {
      height: 50px;
    }
  }

  .form-block {
    padding: 20px;

    h6 {
      color: var(--color-gray-1);
    }
  }

  .order-summery {
    .image {
      max-width: 90px;
    }
  }

  .nice-select {
    width: 100%;
    border-color: var(--border);

    .list {
      width: 100%;
    }
  }
}

/* -----------------------------------------
	Sidebar Widget CSS
----------------------------------------- */
.sidebar-widget-area {
  padding: 30px;
  background-color: var(--color-light-2);
  border: 1px solid var(--border);

  .accordion-button {
    font: inherit !important;
    color: var(--color-primary);
    padding: 0;
    border: none;
    background-color: transparent;
    box-shadow: none;

    &::after {
      color: var(--color-primary);
      background: none;
      font-size: 16px;
      font-family: "Font Awesome 5 Pro" !important;
      content: "\f107";
      transform: none;
      text-align: right;
    }

    &:not(.collapsed) {
      color: var(--color-primary);

      &::after {
        color: var(--color-primary);
        content: "\f106";
      }
    }
  }

  .widget {
    .title {
      margin-bottom: 20px;
      margin-top: -4px;
    }

    label {
      display: block;
    }

    .list-group {
      padding: 0;
      margin: 0;

      li {
        display: block;
        color: var(--color-gray-1);
        font-size: var(--font-sm);

        &:not(:last-child) {
          padding-bottom: 16px;
        }

        a {
          font-weight: var(--font-normal);
        }
      }
    }

    &.widget-categories {
      ul {
        li {
          a {
            color: var(--color-gray-1);
            position: relative;
            padding-inline-start: 15px;

            &:hover {
              color: var(--color-primary);
            }
          }
        }
      }

      .list-dropdown {
        >a {
          &::before {
            position: absolute;
            content: '';
            left: 0;
            top: 0;
            bottom: 0;
            margin: auto 0;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            opacity: 1;
            border: 1px solid var(--color-primary);
          }

          &::after {
            position: absolute;
            content: '';
            left: 2px;
            top: 1px;
            bottom: 0;
            margin: auto 0;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            opacity: 0;
            background-color: var(--color-primary);
          }
        }

        &.open {
          >a {
            &::after {
              opacity: 1;
            }
          }
        }

        .menu-collapse {
          padding-top: 15px;
        }
      }

      .list-dropdown:not(.open) {
        .menu-collapse {
          display: none;
        }
      }
    }

    &.widget-price {
      .price-value {
        margin-top: 15px;
        @include make-flex(center, space-between);

        span {
          color: var(--color-dark);
          font-weight: 600;
          font-size: 12px;
        }

        .btn {
          font-size: var(--font-xsm);
        }
      }

      .noUi-target {
        border: none;
        box-shadow: none;
        border-radius: 30px;
        height: 6px;
        background: var(--color-gray-1);
      }

      .noUi-connect {
        background: var(--color-primary);
      }

      .noUi-horizontal .noUi-handle {
        width: 16px;
        height: 16px;
        right: -8px;
        border-radius: 50%;
        border-width: 0;
        box-shadow: none;
        background: var(--color-primary);

        &::before,
        &::after {
          content: none;
        }
      }
    }

    &.widget-color,
    &.widget-quantity,
    &.widget-categories {
      span:last-child {
        font-size: var(--font-xsm);
        float: right;
      }
    }
  }
}


.method-image{
  width: 50px;
  border: 1px solid var(--border);
  border-right: none;
}
.method-image2{
  width: 35px;
}

#message
{
  padding: 10px 30px;
  background: #ec9d07;
  margin-top: 20px;
  border-radius: 10px;
}

/* spinner css start */
#cover-spin {
  position:fixed;
  width:100%;
  left:0;right:0;top:0;bottom:0;
  background-color: rgba(255,255,255,0.7);
  z-index:9999;
  display:none;
}

@-webkit-keyframes spin {
from {-webkit-transform:rotate(0deg);}
to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
}

#cover-spin::after {
  content:'';
  display:block;
  position:absolute;
  left:48%;top:40%;
  width:40px;height:40px;
  border-style:solid;
  border-color:black;
  border-top-color:transparent;
  border-width: 4px;
  border-radius:50%;
  -webkit-animation: spin .8s linear infinite;
  animation: spin .8s linear infinite;
}

/* spinner css end */
.ptb-50{
  padding-top: 50px;
  padding-bottom: 50px;
}

/* step css start */
.user-dashboard .progress-area-step {
  display: block;
  overflow: hidden;
}
.user-dashboard ul.progress-steps {
  list-style: none;
}
.user-dashboard .progress-steps li {
  width: 33.33%;
  float: left;
  text-align: center;
  position: relative;
}
.user-dashboard .progress-steps li .icon {
  height: 30px;
  width: 30px;
  text-align: center;
  margin: auto;
  background: var(--border);
  border-radius: 50%;
  line-height: 30px;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  position: relative;
}
.user-dashboard .progress-steps li.active .icon {
  background: var(--color-primary);
  color: var(--color-white);
}
.user-dashboard .progress-steps li .progress-title {
  padding-top: 10px;
}
.user-dashboard .progress-steps li:after {
  position: absolute;
  content: "";
  height: 3px;
  width: calc(100% - 30px);
  background: var(--border);
  top: 14px;
  z-index: 0;
  right: calc(50% + 15px);
}
/* step css end */

.exchange_title{
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  gap: 10px;
}

.default-btn{
  background: var(--color-gray-1) !important;
}

.exchange-alert-message {
  background: #fea20c;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: red;
}
.small-alert-box{
    background: var(--color-secondary);
    border-radius: 19px;
    padding: 10px 20px;
    text-align: center;
}

.custom-button {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-size: 14px;
  line-height: 18px;
  border-radius: 3px;
  transition: all .3s;

  &:hover {
    background: var(--color-primary);
    border-color: transparent;
    color: var(--color-white);
  }
}

.success-message{
  padding: 40px 60px;
  border: 1px solid var(--border-color);
  border-radius: 10px;

}

.width-20px{
  width: 20px;
}
.w-25{
  width: 25%;
}
.table-image-content{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.gap-10 {
  gap: 10px;
}
tr td{
  font-size: 14px;
}
/* .table-responsiv::-webkit-scrollbar {
  height: 10px;
  background: #c2c0c7;
  border-radius: 23px;
} */
.dashboard-btn{
  background: transparent !important;
  color: var(--color-primary) !important;
  border: 1px solid var(--color-primary);
}
.dashboard-btn.active{
  background: var(--color-primary) !important;
  color: #fff !important;
}

.pagination .page-item{
  margin-right: 5px;
}

.pagination a.page-link,
.pagination li.page-item.disabled .page-link
{
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
}
.pagination .page-item.active .page-link{
  background: var(--color-primary-rgb);
  border-radius: 50%;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link
{
  border-radius: 50% !important;
}
.main-info .pagination{
  justify-content: center;
}
.small-image{
  width: 50px;
}
.exchange-details p{
  margin-bottom: 3px;
}
.position-relative{
  position: relative;
}
.absolute-btn{
  position: absolute;
  right: 0px;
}

@media only screen and (max-width: 768px) {
  .exchange_title{
    font-size: 10px;
  }
  .header-area .header-top .btns-group a{
    font-size: 8px;
  }
  .table-responsiv{
    overflow-x: scroll;
  }
  .absolute-btn{
    position: unset;
  }
  .whatsapp,
  .phone,
  .mail{
    margin-bottom: 4px;
  }
}


.main-review-list {
  margin-bottom: 75px;
}
.main-review-list .review {
  margin-bottom: 10px;
  padding: 30px 20px 40px 28px;
  border-bottom: 1px solid #e6e6e6;
}

.review {
  background: #fff;
  padding: 30px;
}
.review-head {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
}
.review-h-col {
  width: 100%;
  max-width: 50%;
}
.review-title {
  font-size: 24px;
  font-weight: 900;
  color: #509cff;
}
.main-review-list .review-main {
  margin-bottom: 15px;
}
.review-text {
  font-size: 16px;
  line-height: 1.7;
}
.review-foot {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font-size: 14px;
}
.review-foot .date {
  margin-right: 25px;
}

.date {
  font-size: 14px;
  font-weight: 300;
  color: #929292;
}
.form-bg-cont {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 40px 40px;
  margin-left: auto;
}
.form-bg-contract-page {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 40px 40px;
  max-width: 385px;
  margin-left: auto;
}
.page-reviews-cont h2, .section-cont h2 {
  color: #509cff;
  text-align: left;
  margin-bottom: 25px;
}

.form-bg-cont h2 {
  color: #509cff;
  text-align: left;
  margin-bottom: 35px;
  font-size: 30px;
}
.form-bg-cont .has-float-label {
  margin-bottom: 24px;
}

.has-float-label.form-group {
  padding-top: 0;
  margin-bottom: 20px;
}
.has-float-label {
  position: relative;
  background: #fff;
  border-radius: 4px;
}
.form-bg-cont .has-float-label .p-form-control {
  color: #232323;
}

.has-float-label .p-form-control {
  position: relative;
  z-index: 5;
  background: 0 0;
  font-size: 16px;
  color: #55448c;
  padding-bottom: 2px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.p-form-control {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #c8c8c8;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 15px;
  font-size: 20px;
  line-height: 130%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000;
  padding: 13px 20px;
  min-height: 56px;
  font-weight: 300;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.min-width-230{
  min-width: 230px !important;
}
.min-width-150{
  min-width: 150px !important;
}
.alert-danger,
.alert-success,
.alert-warning
{
  padding: 8px 16px;
  color: #ffffff;
}
.alert-warning {
    background-color: #ffa218;
    border-color: #ffa218;

}
.alert-success {
    background-color: #4CAF50;
    border-color: #4CAF50;
}
.alert-danger {
    background-color: #ff3535;
    border-color: #ff3535;
}
.btn-bg-primary{
  background: var(--color-primary);
  color: #fff;
}
