.dashboard-page {
  overflow-y: scroll;
  height: 100vh; /* Adjust height as needed */
  /* Hide scrollbar */
  ::-webkit-scrollbar {
    display: none;
  }
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
html {
  font-size: 16px;
}
body {
  font-size: 16px;
  background-color: #f9fafb;
  overflow: hidden;
}
svg {
  vertical-align: bottom;
}

.day.page-wrapper {
  color: #333;
  background-color: #f9fafb;
}
.night.page-wrapper {
  color: #fff;
  background-color: #4a4a4a;
}

.day.page-wrapper a {
  color: #333;
}
.night.page-wrapper a {
  color: #fff;
}

.day .topbar,
.day .leftbar {
  background-color: #fff;
}
.night .topbar,
.night .leftbar {
  background-color: #333;
}

.MuiTable-root th {
  font-size: 13px;
  font-weight: 600;
}
.MuiTable-root td {
  font-size: 13px;
}
/*login*/
.login_cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
  box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
  border-radius: 10px;
  overflow: hidden;
  margin: 35px 10px;
}
.login_cover_img {
  display: inline-flex;
  width: 50%;
  position: relative;
  height: 100%;
}
.login_cover_img img {
  object-fit: cover;
}
.login_cover_field {
  display: inline-flex;
  width: 50%;
  flex-direction: column;
  padding: 45px;
}
.loginput-box {
  margin-bottom: 15px;
  position: relative;
}
.loginput-box label {
  display: block;
}
.loginput-box input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid #000;
}
.loginput-box button.eye {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: transparent;
  border: none;
  top: 30px;
}
.loginput-box button.eye svg {
  font-size: 20px;
}
.loginput-box button {
}
/*login*/

/*topbar*/
.topbar {
  box-shadow: 0 1px 2px #0000000d;
  z-index: 30;
  position: relative;
  padding: 15px 0;
  background-color: #fff;
}
.topbar-icon-list {
}
.topbar-icon-list ul {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.topbar-icon-list ul li {
  list-style-type: none;
  display: inline-block;
  cursor: pointer;
}
.topbar-icon-list ul li svg {
  width: 20px;
  height: 20px;
}
/*topbar*/

/*leftbar*/
.leftbar {
  width: 250px;
  box-shadow: 0 1px 2px #0000000d;
  background-color: #fff;
  overflow-y: scroll;
  z-index: 50;
  height: 100vh; /* Adjust height as needed */
  /* Hide scrollbar */
  ::-webkit-scrollbar {
    display: none;
  }
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.leftbar_div {
}
.leftbar-logo {
  position: relative;
  height: 50px;
  margin: 15px;
}
.leftbar-logo img {
}
.leftbar-links {
  max-height: 80vh;
  overflow-y: auto;
}
.leftbar-links ul {
}
.leftbar-links ul li {
  list-style-type: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 0;
  cursor: pointer;
}
.leftbar-links ul li a {
  color: #000;
}
.leftbar-links ul li svg {
  font-size: 22px;
}
.leftbar-links ul li span {
  vertical-align: top;
}

.leftbar-links > ul > li > ul {
  display: none;
  padding-left: 15px;
}
.leftbar-links > ul > li.active > ul {
  display: block;
}
.leftbar-links > ul > li.active > ul > li > ul {
  display: none;
}
.leftbar-links > ul > li.active > ul > li > ul li {
  padding: 5px 0;
}

.logout-btn {
  padding: 0 30px;
  margin-bottom: 50px;
  margin-top: 20px;
}
.logout-btn button {
  width: 100%;
}
/*leftbar */

/*dasboard*/
.page-wrapper {
  height: 100vh;
}
.pagewrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.dashboard-page {
  overflow-y: auto;
  height: 100%;
  padding-bottom: 25px;
}
.dashboard-sale-box-row {
  display: flex;
  gap: 20px;
}
.dashboard-sale-box {
  text-align: center;
  padding: 15px;
  color: #fff;
  border-radius: 10px;
  flex: 1;
}
.dashboard-sale-box svg {
  font-size: 35px;
}
.dashboard-sale-box p {
}
.dashboard-sale-box b {
}
.dashboard-sale-box span {
}

.dashboard-order-row {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.dashboard-order-box {
  flex: 1;
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 5px;
}
.dashboard-order-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-order-icon svg {
  font-size: 25px;
}
.dashboard-order-txt {
  margin-left: 10px;
}
.error-text{
  font-size: 13px;
  color: red;
}
.dashboard-value-box {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-top: 24px;
  border: 1px dashed #f1f5f7;
  border-radius: 0.25rem;
}
.dashboard-value-box-icon {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-value-box-icon span {
  font-size: 15px;
}
.dashboard-value-box-icon1 {
  border: 1px dashed #000;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
.dashboard-value-box-icon1 svg {
  font-size: 25px;
}
.dashboard-value-box-count {
  border-top: 1px solid #00000021 !important;
  padding: 15px;
}
.dashboard-value-box-count span {
  display: flex;
  justify-content: space-between;
  color: rgba(0, 0, 0, 0.7);
}

.night .dashboard-order-box {
  background-color: #333;
}

.dashboard-bar-chart {
}
.circlechart {
  padding: 0 130px;
}

.dashboard-table {
  margin: 50px 0;
}
.dashboard-table-icon {
}
.dashboard-table-icon svg {
  font-size: 18px;
  margin-right: 10px;
  cursor: pointer;
}
/*dashboard*/
/*products*/
.product_detail_tabs {
}
.product_detail_tabs li {
  list-style-type: none;
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
}
.product_detail_tabs li.active {
  color: green;
  border-bottom: 1px solid green;
}
.page-header {
  font-weight: 500;
  font-size: 25px;
}
/*products*/
/*addProduct*/

.input-head {
}
.input-field {
  margin-bottom: 20px;
}
/*image upload*/
.thumbsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 16px;
}
.thumb {
  display: inline-flex;
  border-radius: 2px;
  border: 1px solid #eaeaea;
  margin-bottom: 8px;
  margin-right: 8px;
  width: 100px;
  height: 100px;
  padding: 4px;
  box-sizing: border-box;
}
.thumbInner {
  display: flex;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100px;
  margin-right: 10px;
}
.thumbInner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media only screen and (max-device-width: 500px) {
  .login_cover {
    flex-direction: column;
  }
  .login_cover_img {
    width: 100%;
  }
  .login_cover_field {
    width: 100%;
    padding: 45px 15px;
  }

  .dashboard-sale-box-row {
    flex-direction: column;
  }
  .dashboard-order-row {
    flex-direction: column;
  }
  .circlechart {
    padding: 0;
  }

  .css-10cbwbc-MuiTableRow-root.MuiTableRow-hover:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    display: block;
  }
  .MuiTable-root th {
    display: none;
  }
  .MuiTable-root td {
    display: block;
    position: relative;
    text-align: right;
    padding-left: 100px;
  }
  .MuiTable-root td:before {
    content: attr(data-attr);
    position: absolute;
    left: 15px;
    font-size: 13px;
    font-weight: 600;
  }
}

.skeleton-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
}

.skeleton-main-container {
  display: flex;
  padding: 20px;
  gap: 20px;
}

.skeleton-box {
  width: 30%;
  height: 50px;
  background-color: #e0e0e0;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
}

.skeleton-image-box {
  width: 30%;
  height: 50px;
  background-color: #e0e0e0;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
}
