/*========================Styling for customer dashboard============*/

.menu-icons{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.menu-icons i{
    font-size: 60px;
    margin: 30px;
    color: black;
}
.menu-icons h1{
    font-size: 18px;
    margin-top: -20px;
    color: red;
}
.user-profile{
    justify-content: center;
    text-align: center;
    margin-top: 30px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    border-radius: 10px;
    height: 250px;
}
.user-profile i{
    font-size: 50px;
    color: red;
    opacity: 60%;
    margin-top: 15px;
}
.user-profile h1{
    font-size: 30px;
    font-weight: 400;
}
.user-profile h2{
    font-size: 20px;
    font-weight: 400;
}

/*========================Styling for cashier dashboard============*/

.cashier-header{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background: red;
}
.cashier-header i{
    color: black;
    font-size: 30px;
}
.cashier-header h5{
    color: white;
}
.cashier-header h2{
    font-size: 18px;
    color: black;
    padding: 0px 30% 0px 30%;
}
.summary-cards{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 50px;
}
.summary-card-single{
  height: 110px;
  width: 210px;
  border-radius: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;;
  margin: 20px;
}
.summary-card-single i{
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: blue;
  color: white;
  font-size: 20px;
  justify-content: center;
  display: flex;
  align-items: center;
  margin-left: 89px;
}
.summary-card-single h2{
  font-size: 20px;
  font-weight: 300;
  color: black;
}
.summary-card-single h3{
  font-size: 15px;
  color: red;
}
.payments{
  background: green;
  justify-content: center;
  height: auto;
  width: 20%;
  text-align: center;
  color: black;
  margin-left: 40%;
  border-radius: 2%;
}
.order-count h4{
    font-size: 12px;
    font-weight: bold;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    color: black;
    background: white;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: -8px;
    transform: translateX(75px);
}
.responsive-table{
  overflow: hidden;
}
.responsive-table 
    li {
      border-radius: 3px;
      padding: 25px 30px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 25px;
    }
    .table-header {
      background-color: blue;
      color: black;
      font-size: 14px;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .table-row {
      background-color: #ffffff;
      box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    }
    .col-1 {
      flex-basis: 20%;
    }
    .col-2 {
      flex-basis: 30%;
    }
    .col-3 {
      flex-basis: 25%;
    }
    .col-4 {
      flex-basis: 25%;
    }
    .order-status{
      height: 70px;
      width: 210px;
      background: red;
      border-radius: 5px;
      text-align: center;
      text-transform: uppercase;
      color: white;
      margin: 10px;
    }
    .order-status h5{
      text-align: center;
      font-size: 15px;
      color: white;
    }
    /*styling for order products*/
    .order-products{
      display: flex;
      width: 600px;
      height: 100px;
      margin: 2.5%;
    }
    .order-products img{
      height: 100%;
      width: 30%;
      margin-right: 5px;
    }
    .details-order{
      height: 400px;
      width: 28%;
      border: 1px solid black;
      margin-left: 60px;
    }
    .details-order h5{
      margin: 10px;
      color: red;
    }
     
    @media (max-width: 768px) {
      .order-products{
        display: flex;
        width: 100%;
        height: 100px;
        margin: 1%;
      }
      .cashier-header{ 
        height: 80px;
    }
    .details-order{
      width: 100%;
      margin-left: 1px;
    }
    .cashier-header i{
        font-size: 20px;
    }
    .cashier-header h5{
        font-size: 14px;
    }
    .cashier-header h2{
        font-size: 15px;
        padding: 0px 5% 0px 5%;
    }
    .order-count h4{
      font-size: 10px;
      height: 14px;
      width: 14px;
      display: flex;
      justify-content: center;
      text-align: center;
      margin-bottom: -6px;
      transform: translateX(35px);
    }

    .summary-cards{
      margin-top: 10px;
      flex-wrap: wrap;
    }
    .summary-card-single{
      height: 80px;
      width: 150px;
      border-radius: 10px;
      margin: 4px;
      margin-top: 15px;
    }
    .summary-card-single i{
      height: 30px;
      width: 30px;
      border-radius: 50%;
      font-size: 15px;
      margin-left: 60px;
      margin-top: -3px;
    }
    .summary-card-single h2{
      font-size: 15px;
      font-weight: 400;
    }
    .summary-card-single h3{
      font-size: 13px;
      margin-top: -2px;
    }

    .responsive-table 
    li {
      border-radius: 3px;
      padding: 25px 30px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 25px;
    }
    .table-header {
      font-size: 12px;
      letter-spacing: 0.03em;
    }
    .table-row {
      background-color: #ffffff;
      box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    }
    .col-1 {
      flex-basis: 40%;
      margin-left: -10px;
    }
    .col-2 {
      flex-basis: 20%;
      margin-right: 10px;
    }
    .col-3 {
      flex-basis: 25%;
    }
    .col-4 {
      flex-basis: 15%;
    }
    .order-status{
      height: 55px;
      width: 150px;
    }
    .order-status h5{
      font-size: 13px;
    }
    .payments{
      background: green;
      justify-content: center;
      height: auto;
      width: 40%;
      text-align: center;
      color: black;
      margin-left: 30%;
      border-radius: 5%;
    }
    
    }
  
/*========================Styling for admin dashboard============*/

.admin-header{
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: red;
}
.admin-header h1{
  color: white;
  font-size: 30px;
  justify-content: center;
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.dashboard-content{
  display: flex;
}
.sidebar-left {
  margin-left: 0px;
  width: 20%;
  height: 91vh;
  background-color: gray;
}
.sidebar-left img{
  padding: 7px 10px 100px 50px;
}
.sidebar-left h1{
  font-size: 20px;
  font-weight: 400;
  margin: 10px;
}
.message h2{
  font-size: 10px;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  color: white;
  background: blue;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(16px);
}
.admin-profile{
  justify-content: center;
  text-align: center;
  transform: translateY(100px);
}
.admin-profile i{
  font-size: 25px;
  margin-bottom: -10px;
}
.admin-profile h4{
  margin-top: 5px;
  color: black;
  font-size: 15px;
}
.content-right{
  justify-content: center;
  align-items: center;
  padding: 3px ;
  width: 80%;
}
.admin-cards{
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 10px 0px 10px 15px;
}
.admin-cards-single{
  height: 110px;
  width: 210px;
  display: flex;
  border-radius: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  margin: 20px;
}
.card-icon i{
  font-size: 20px;
  width: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 43px;
  border-radius: 50%;
  background: red;
  color: white;
  margin-left: 70px;
  transform: translateY(32px);
}
.card-text-detailes h2{
  font-size: 18px;
  color: gray;
  margin-left: 8px;
}
.card-text-detailes h3{
  font-size: 25px;
  color: black;
  margin-left: 8px;
  font-weight: 400;
}
.admin-icons{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.admin-icons i{
  font-size: 50px;
  margin-top: 10px;
  color: blue;
  transform: translateY(25px);
}
.admin-icons h1{
  font-size: 25px;
  font-weight: 300;
  margin: 20px;
}
.dashboard-managements-buttons{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.dashboard-managements-buttons button {
  height: 80px;
  width: 100px;
  border-radius: 10px;
  background: blue;
  font-weight: bold;
  margin: 10px;
}
.dashboard-managements h2{
  margin-bottom: -10px;
  font-size: 20px;
}
.update-list{
  display: flex;
  height: 150px;
  width: 700px;
 }
.update-list img{
   height: 100%;
   width: 40%;
   margin-left: 10px;
}
.update-list-det{
  padding: 20px 20px;
}
@media (max-width: 768px){
  .dashboard-content{
    flex-wrap: wrap;
  }
  .sidebar-left {
    margin-left: 0px;
    width: 90%;
    height: 65vh;
    position: static;
    background-color: gray;
  }
  .sidebar-left img{
    padding: 7px 10px 10px 90px;
    width: 250px;
    height: 70px;
  }
  .sidebar-left h1{
    font-size: 20px;
    font-weight: 400;
    text-align: center;
  }
  .message{
    margin-left: 100px;
  }
  .admin-profile{
    transform: translateY(15px);
  }
  .admin-profile i{
    font-size: 25px;
    color: black;
    margin-bottom: -15px;
  }

  .content-right{
    padding: 0px ;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .admin-cards{
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0px 10px 0px;
  }
  .admin-cards-single{
    height: 80px;
    width: 120px !important;
    display: flex;
    border-radius: 10px;
    margin: 2px;
  }
  .card-icon i{
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 35px;
    transform: translateY(32px);
  }
  .card-text-detailes h2{
    font-size: 15px;
    margin-left: 8px;
    margin-top: 13px;
  }
  .card-text-detailes h3{
    font-size: 20px;
    margin-left: 8px;
    font-weight: 400;
  }

  .admin-icons{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .admin-icons i{
    font-size: 30px;
    margin-top: 10px;
    transform: translateY(25px);
  }
  .admin-icons h1{
    font-size: 15px;
    font-weight: 400;
    margin: 30px;
  }
  .update-list{
    display: flex;
    height: 90px;
    width: 100%;
  }
  .update-list img{
     height: 100%;
     width: 40%;
     margin-left: 5px;
  }
  .update-list-det{
    padding: 5px 10px;
  }
  .update-list-det h5{
    font-size: 12px;
  }
  .update-list-det button{
    height: 35px;
  }
}


.before{
  display: flex;
}
.before h5{
  font-size: 15px;
  text-decoration: line-through;
  color: red;
  margin-left: 5px;
}


/*styling for admin view of affiliates table*/
.table{
  display: flex;
  justify-content: center;
}
.table-cards-single{
  height: 100px;
  width: 100px;
  border-radius: 50%;
  margin: 20px;
  background: red;
  justify-content: center;
  align-items: center;
  display: flex;
}
.table-cards-single h2{
  font-size: 15px;
  text-align: center;
  color: black;
  margin-top: -15px;
}
.table-cards-single h3{
  font-size: 21px;
  color: black;
  margin-top: -23px;
  text-align: center;
}
.table-cards-single h4{
  font-size: 15px;
  text-align: center;
  color: black;
}
.table-cards-single i{
  font-size: 40px;
  color: white;
}
.pending-table h1{
  font-size: 20px;
  margin-top: 20px;
  text-transform: uppercase;
  color: red;
  text-align: center;
}
.confirmed-table h1{
  font-size: 20px;
  margin-top: 20px;
  text-transform: uppercase;
  color: blue;
  text-align: center;
}

.col-11 {
  flex-basis: 35%;
}
.col-21 {
  flex-basis: 25%;
}
.col-31 {
  flex-basis: 25%;
}
.col-41 {
  flex-basis: 15%;
}
.col button{
  height: auto;
  width: 90px;
  line-height: 30px;
  border-radius: 5px;
  background: red;
  font-size: 18px;
  font-weight: bold;
}
.offcanvas-body{
  text-align: left;
}
.offcanvas-body h3{
  text-align: left;
  margin: 10px;
  font-size: 20px;
  font-weight: 300;
}
.confirm{
  padding: 20px 20px;
}
.confirm button{
  height: auto;
  width: 300px;
  line-height: 35px;
  border-radius: 4px;
  background: red;
  color: white;
  font-size: 18px;
  font-weight: bold;
}
@media (max-width: 768px){
  .col-11 {
    flex-basis: 25%;
  }
  .col-21 {
    flex-basis: 35%;
    font-weight: bold;
  }
  .col-31 {
    flex-basis: 28%;
  }
  .col-41 {
    flex-basis: 12%;
  }
  .col button{
    width: 50px;
    line-height: 30px;
    font-size: 13px;
  }
  .confirm{
    padding: 20px 5px;
  }
  .table-cards-single{
    border-radius: 50%;
    margin: 5px;
  }
}

.refferal{
  height: 55vh;
  width: 80%;
  margin-left: 10%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  justify-content: center;
}
.refferal input{
  width: 40%;
  margin-left: 30%;
  height: 45px;
  border: 1px solid rgb(31, 30, 30);
}
.refferal textarea{
  width: 40%;
  margin-left: 30%;
  height: 150px;
  border: 1px solid rgb(31, 30, 30);
}
.refferal h5{
  text-align: center;
  font-size: 15px;
}
.refferal button{
  width: 40%;
  margin-left: 30%;
  transform: translateY(-70px);
}
.affiliate-points{
  justify-content: center;
  text-align: center;
  height: auto;
  width: 30%;
  margin-left: 35%;
  background: red;
  border-radius: 10px;
}
.affiliate-points h5{
  color: white;
}
.affiliate-points h4{
  color: black;
  height: 32px;
  margin-left: 45%;
  width: 10%;
  border-radius: 50%;
  background: white;
}
.affiliate-points p{
  color: white;
}
.affiliate-points .fa-trophy{
  color: GOLD;
  font-size: 40px;
  animation: winner 10s linear infinite;
}
.copy_and_redeem{
  display: flex;
  justify-content: center;
}
.copy_promocode{
  height: 80px;
  width: 20%;
  border: 2px solid red;
  text-align: center;
  margin: 5px;
}
.redeem{
  height: 80px;
  width: 20%;
  border: 2px solid red;
  text-align: center;
  margin: 5px;
}
.copy_and_redeem button{
  background: red;
  color: white;
  width: 100%;
  
}
@keyframes winner{
  0%{
    transform: rotateY(90deg);
  }
  40%{
    transform: rotateY(1800deg);
  }
  60%{
    transform: rotateY(270deg);
  }
  80%{
    transform: rotateY(210deg);
  }
  100%{
    transform: rotateY(360deg);
  }
}
@media (max-width: 768px){
  .refferal input{
    width: 80%;
    margin-left: 10%;
    height: 30px;
  }
  .refferal textarea{
    width: 80%;
    margin-left: 10%;
    height: 150px;
  }
  .refferal h5{
    text-align: center;
    font-size: 15px;
    color: red;
  }
  .refferal h4{
    text-transform: uppercase;
  }
  .refferal button{
    width: 80%;
    margin-left: 10%;
    transform: translateY(-10px);
  }
  .refferal{
    height: 45vh;
  }
  .copy_promocode{
    height: 80px;
    width: 45%;
  }
  .redeem{
    height: 80px;
    width: 45%;
  }
  .affiliate-points{
    width: 90%;
    margin-left: 5%;
  }
}
.refferal-butn{
  justify-content: center;
  align-items: center;
  text-align: center;
  height: auto;
  width: 15%;
  margin-left: 42.5%;
  color: black;
  background: blue;
  border-radius: 3px;
}
@media (max-width: 768px){
  .refferal-butn{
    width: 50%;
    margin-left: 25%;
  }
}

