
/* ->>>>>>>>>>>>>>>>>>>>>>> GLOBAL STYLES <<<<<<<<<<<<<<<<<<<<<<<<<<<-*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  color: #7d8da1;
  user-select: none;
}

body {
  display: grid;
  grid-template-columns: minmax(9.375rem, 12.5rem) 1fr minmax(18rem, 22rem) ;
  background: #f6f6f9;  
  max-width: calc(100vw - 2rem);
  /* max-height: fit-content;  */
}

.sideBar {
  background: #f6f6f9;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.logo {
  width: 100%;
  height: 100px;
  background: url('../assets/logo.svg') no-repeat center;
  margin-bottom: 2rem;
}

.sideBar-list {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1.8rem;
  font-weight: 600;
}

.sideBar-list-item a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s ease-in-out;
}

.sideBar-list-item a:hover,
.sideBar-list-item a:hover *{ 
  transform: scale(1.1);
  translate: 8px 0;
  color: #6876f3;
  fill: #6876f3;
}

/* .no-messages {
  padding: .15rem .5rem;
  border-radius: .2rem;
  font-size: .8rem;
  background: #FF0000;
  color: #fff;
  opacity: .5;
} */

.logOut {
  margin-top: auto;
}

/* ->>>>>>>>>>>>>>>>>>>>>>> MAIN CONTENT <<<<<<<<<<<<<<<<<<<<<<<<<<<-*/

.main-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  padding: .5rem 0;
  gap: 2rem;
}

.date {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.date h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.9);
}

.date .input-date {
  width: 10rem;
  padding: 0.4rem 1rem;
  outline: none;
  border: none;
  background: rgba(132, 139, 200, 0.18);
  color: #181818;
  border-radius: 0.3rem;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ->>>>>>>>>>>>>>>>>>>>>>> ANALYTICS BOARD <<<<<<<<<<<<<<<<<<<<<<<<<<<-*/

.analytics-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: start;
}

.analytics-board-items {
  width: auto;
  height: 12rem;
  background: #fff;
  padding: 1rem;
  border-radius: 2rem;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 2rem;
  align-items: center;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.analytics-board-items:hover {
  box-shadow: none;
  transition: all .2s ease-in-out;

}

.board-item i {
  width: 3rem;
  height: 3rem;
  font-size: 1.6rem;
  border-radius: 50%;
  background: #6876f3;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-item-2 i {
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  border-radius: 50%;
  background: #ff7782;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-item-3 i {
  width: 3rem;
  height: 3rem;
  font-size: 1.6rem;
  border-radius: 50%;
  background: #41f1b6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-grafic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.data-grafic p {
  font-size: .8rem;
  font-weight: 600;
  color: #303030;
}

.data-grafic h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #303030;
}



.data-grafic .lately, .lately {
  font-size: .8rem;
  color: #6d6d6d;
  text-decoration: underline;
  cursor: pointer;
}

.board-grafic {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 12px solid #3f51f3;
  /* background: conic-gradient(#6876f3 0% 60%, transparent 60% 100%); */
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.board-grafic-2 {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 12px solid #ffa0a8;
  /* background: conic-gradient(#6876f3 0% 60%, transparent 60% 100%); */
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.board-grafic-3 {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 12px solid #75f1c8;
  /* background: conic-gradient(#6876f3 0% 60%, transparent 60% 100%); */
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .board-grafic {
  width: 150px;
  height: 150px;
  border: 10px solid transparent;
  border-top: 10px solid #6876f3;
  border-radius: 50%;
  position: relative;
  transform: rotate(-90deg);
}

.board-grafic:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100%;
  height: 100%;
  background-color: #f6f6f9;
  border-radius: 50%;
} */

.orders {
  display: flex;
  flex-direction: column;
}

.orders h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.9);
}

.orders table {
  width: 100%;
  background: #fff;
  padding: 1rem 3rem;
  margin-top: 1rem;
  text-align: center;
  border-radius: 3rem;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
  cursor: default;
  transition: all .2s ease-in-out;
}

.orders table:hover {
  box-shadow: none;
  transition: all .2s ease-in-out;
}

table th {
  background: #fff;
  padding: .5rem .8rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #181818;
}

table td {
  padding: .8rem;
  font-size: 1rem;
  border-bottom: 1px solid #e7e7e7;
}

table tr:last-child * {
  border-bottom: none;
}

.table-showAll {
  margin-top: .8rem;
  text-align: center;
  color: #6876f3;
  font-size: 1rem;
}

.declined {
  color: #ff7782;
}

.delivered {
  color: #41f1b6;
}
.pending {
  color: #ffb74d;
}

.details:hover {
  color: #6876f3;
}

/* ->>>>>>>>>>>>>>>>>>>>>>> ASIDE CONTENT <<<<<<<<<<<<<<<<<<<<<<<<<<<-*/

.aside-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto 1fr;
  padding: .5rem 1.5rem;
  gap: 1rem;
}

.profile {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
}

.profile .text {
  width: 8rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.profile .text .admin {
  color: rgba(86, 95, 173, 0.8);
  font-size: .8rem;
}

.profile .text span {
  font-weight: bold;
  color: #080808;
}

.profile img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 2px rgb(104, 118, 243);
  object-fit: cover;
}


.recent-activity-title {
  font-size: 1.4rem;
  color: rgba(31, 31, 31, 0.9);
}

.recent-activity {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all .2s ease-in-out;

}

.recent-activity:hover {
  box-shadow: none;
  transition: all .2s ease-in-out;
}

.recent-activity .activity-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: .5rem;
  border-radius: 2rem;
  transition: all .2s ease-in-out;
}

.recent-activity .activity-items:hover {
  background: #d1cbcb;
  transform: translate(10px, 0px);
}

.recent-activity .activity-items img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.recent-activity .activity-items .text {
  display: flex;
  flex-wrap: wrap;
  font-size: .8rem;
  gap: .2rem;
}

.recent-activity .activity-items .text:hover span{
  color: #008000;
}

.recent-activity .activity-items .text h5 {
  font-size: .8rem;
  font-weight: bold;
  color: #080808;
}

.recent-activity > span {
  font-size: .7rem;
  position: relative;
  left: 4.5rem;
}

.sales-analytics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sales-analytics h3 {
  font-size: 1.4rem;
  color: rgba(31, 31, 31, 0.9);
  
}

.sales-analytics .sales-items {
  display: flex;
  gap: 1rem;
  justify-content: space-evenly;
  align-items: center;
  padding: 1.2rem 1rem;
  background: #fff;
  border-radius: .8rem;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
  transition: all .2s ease-in-out;
}
.sales-analytics .sales-items:hover {
  box-shadow: none;
  transition: all .2s ease-in-out;
  cursor: pointer;
}

.sales-analytics .sales-items .sale-logo {
  padding: .8rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(104, 118, 243);
}

.sales-analytics .sales-items .sale-logo i {
  color: #fff;
  font-size: 1.4rem;
}

.sales-analytics .sales-items .sale-logo-2 {
  padding: .8rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255, 119, 130);
}

.sales-analytics .sales-items .sale-logo-2 i {
  color: #fff;
  font-size: 1.4rem;
}

.sales-analytics .sales-items .sale-logo-3 {
  padding: .8rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(65, 241, 182);
}

.sales-analytics .sales-items .sale-logo-3 i {
  color: #fff;
  font-size: 1.4rem;
}

.sales-analytics .sales-items .text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 0 .2rem;
}

.sales-analytics .sales-items .text p {
  color: #080808;
}

.sales-analytics .sales-items .text span {
  font-size: .8rem;
}


.sales-analytics .sales-items .desc{
  font-size: .8rem;
  font-weight: 600;
}

.sales-analytics .sales-items .count {
  font-weight: bold;
  color: #181818;
}

.sales-analytics .sales-items-add {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .2rem;
  padding: 1.5rem 1rem;
  border: 2px dashed #6876f3;
  border-radius: .8rem;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
}

.sales-analytics .sales-items-add:hover {
  box-shadow: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
  background: #6876f3;
  color: #fff;
}

.sales-analytics .sales-items-add i {
  background: #6876f3;
  color: #fff;
  padding: .1rem;
  font-size: .5rem;
  display: flex;
}

.sales-analytics .sales-items-add:hover i {
  background: #fff;
  color: #6876f3;
}
.sales-analytics .sales-items-add span {
  color: #6876f3;
  font-size: 1.2rem;
}
.sales-analytics .sales-items-add:hover span {
  color: #fff;
}