/* ---------------- fonts ------------------ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
/* ---------------- Basic css ------------------ */

html {
  font-size: 0.578vw;
}
:root {
  scroll-behavior: unset;

  --blackC: #30bfbf;
  --mainC: #f2f2f2;
  --titleC: #1a1a1a;
  --dark: #000000;
  --bodyC: #3d3d3d;
  --btnC: #30bfbf;
  --greyC: #e6e6e6;
  --white: #ffffff;
  --white3C: #ffffff30;

  --white_img: brightness(0) saturate(100%) invert(100%) sepia(100%)
    saturate(0%) hue-rotate(74deg) brightness(104%) contrast(104%);
  --black_img: brightness(0) saturate(100%) invert(0%) sepia(1%) saturate(7500%)
    hue-rotate(358deg) brightness(100%) contrast(100%);

  --m_rope: "Manrope", sans-serif;
  --inter: "Inter", sans-serif;
  --b_sdw: 0 0.5rem 1.5rem 0.1rem rgba(0, 0, 0, 0.2);
}
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
strong,
i,
ol,
ul,
li,
form,
label,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  transition: 200ms;
  color: inherit;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: none;
}

/* body */
body {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
  font-family: var(--inter);
  color: var(--bodyC);
  overflow-x: hidden;
  background: #fff;
}
.main_sections {
  position: relative;
  width: calc(100% - 32rem);
  margin-left: auto;
  padding: 10rem 0 0 0;
  padding-bottom: 0;
  transition: 0.5s ease;
}
.figure img,
.figure {
  width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--m_rope);
  font-weight: 700;
  color: var(--titleC);
}
.container-fluid {
  padding: 0;
}

.white_img {
  filter: var(--white_img);
}

.black_img {
  filter: var(--black_img);
}

/* Font Weights */
.f_300 {
  font-weight: 300 !important;
}

.f_400 {
  font-weight: 400 !important;
}

.f_500 {
  font-weight: 500 !important;
}

.f_600 {
  font-weight: 600 !important;
}

.f_700 {
  font-weight: 700 !important;
}

.f_800 {
  font-weight: 800 !important;
}

.f_900 {
  font-weight: 900 !important;
}

/* titles */
h1 {
  font-size: 4.8rem;
  line-height: 1.1;
}

h2 {
  font-size: 3.8rem;
  line-height: 1.15;
}

h3 {
  font-size: 2.8rem;
  line-height: 1.1;
}

h4 {
  font-size: 2.4rem;
  line-height: 1.1;
}

h5 {
  font-size: 2rem;
  line-height: 1.1;
}

h6 {
  font-size: 2rem;
  line-height: 1.1;
}

/* texts */
.text_xl {
  font-size: 2rem;
  line-height: 1.1;
}

.text_lg {
  font-size: 1.8rem;
  line-height: 1.1;
}

.text_md {
  font-size: 1.6rem;
  line-height: 1.1;
}

.text_sm {
  font-size: 1.4rem;
  line-height: 1.1;
}

.text_xsm {
  font-size: 1.2rem;
  line-height: 1.1;
}

/* ===================== site_header ===================== */
.site_header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--mainC);
  width: 100%;
  height: 10rem;
  z-index: 9999;
  display: flex;
  box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.3);
}

.site_header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem 0 3.5rem;
}

.expand_icon,
.unexpand_icon {
  width: 3rem;
}

.unexpand_icon {
  display: none;
}

.hamburger-menu {
  cursor: pointer;
}

.section {
  padding: 3.5rem 3rem;
}

/* ---------------------- Side Nav --------------- */
.side_bar {
  width: 32rem;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--mainC);
  color: var(--dark);
  padding-right: 0;
  padding-top: 2.8rem;
  padding-bottom: 0;
  display: grid;
  place-content: space-between;
  justify-content: unset;
  z-index: 999;
  overflow: auto;
  transition: 0.5s ease;
}

.menu_text svg {
  font-size: 2.8rem;
}

.logo img {
  width: 25rem;
  margin: 0 auto;
  display: block;
}

.menu_text {
  display: grid;
  gap: 1rem;
  font-size: 1.8rem;
  grid-template-columns: 3.5rem 1fr;
  align-items: center;
  cursor: pointer;
  transition: 0.35s ease;
}

.primary_menu .dropdown_link {
  font-size: 1.8rem;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  transition: 0.35s ease;
}

.primary_menu {
  display: grid;
  gap: 1rem;
  padding: 12rem 0 4rem 0;
}

.primary_menu .dropdown_link:hover,
.primary_menu .dropdown_link.active {
  color: var(--white);
  background: var(--blackC);
}

.primary_menu .accordion_content {
  display: grid;
  margin: 0;
  gap: 0.6rem;
  max-height: 0;
  padding: 0 2.5rem;
  overflow: hidden;
}

.primary_menu .accordion_item.active .accordion_content {
  max-height: 1000rem;
}

.menulink > img {
  width: 2rem;
  filter: var(--black_img);
}

.primary_menu .accordion_content a:first-child {
  margin-top: 1rem;
}

.menu_text:hover,
.primary_menu .accordion_item.active .menu_text {
  color: var(--white);
}

.menulink {
  padding: 1.2rem 2rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.primary_menu .menulink:hover,
.primary_menu .accordion_item.active .menulink {
  background: var(--blackC);
  color: var(--white);
}

.menupart_bottom {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
}

.primary_menu .accordion_item.active a > img,
.primary_menu .accordion_item .menulink:hover > img {
  filter: var(--white_img);
}

.menupart_bottom .menu_text:hover,
.menupart_bottom a:hover {
  color: var(--white);
}

.menupart_bottom a.active {
  opacity: 0.5;
}

/* ================== DropDown ================== */
.dropdown-toggle::after {
  display: none;
}

#dropdownMenuLink:not(.show) > img {
  transform: rotate(180deg);
}

#dropdownMenuLink > img {
  transition: 0.25s ease;
}

.dropdown-menu * {
  display: flex;
  font-size: 1.6rem;
  padding: 1.2rem 1.6rem;
}

.dropdown-menu {
  width: calc(100% - 2rem);
  border-radius: 2rem;
  left: 1rem !important;
  overflow: hidden;
  margin: 0;
  padding: 1.5rem 0;
}

.dropdown-menu a:active,
.dropdown-menu a:hover {
  background: var(--blackC);
  color: var(--white);
}

.menupart_bottom .menulink {
  display: none;
}

/* ===================== Order area ===================== */
.order_left svg {
  font-size: 3.5rem;
  color: var(--titleC);
}

.order_left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search_box {
  width: 100%;
}

.form-control {
  height: 4.4rem;
  border-radius: 10rem;
  padding: 0 2rem;
  font-size: 1.6rem;
  color: var(--dark);
  border: 0.1rem solid var(--blackC);
}

.form-control::placeholder {
  font-size: 1.6rem;
  color: var(--dark);
}

.order_right button,
.icon {
  width: 5rem;
  height: 5rem;
  border-radius: 10rem;
  color: var(--white);
  border: 0.1rem solid var(--blackC);
  background: var(--blackC);
  transition: 0.25s ease;
}

.order_right button svg,
.icon svg {
  font-size: 2.5rem;
}

.order_right {
  gap: 1rem;
}

.button {
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 5rem;
  padding: 0 3rem;
  border-radius: 10rem;
  background: var(--btnC);
}

.button svg {
  font-size: 2.5rem;
}

.button:hover {
  color: var(--dark);
  background: var(--greyC);
  box-shadow: 0 0.6rem 0.8rem 0 rgba(0, 0, 0, 0.15);
}

.order_right button:hover,
.icon:hover {
  background: var(--greyC);
  border: 0.1rem solid var(--greyC);
  color: var(--dark);
  box-shadow: 0 0.6rem 0.8rem 0 rgba(0, 0, 0, 0.15);
}

.order_top,
.section_top {
  padding: 1rem 2rem;
  background: var(--mainC);
  box-shadow: 0 0.6rem 0.8rem 0 rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

/* ====================== orders-table ================= */
.orders-table {
  font-family: "Inter", sans-serif;
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--dark);
  padding: 2rem 2rem;
}

td {
  padding: 1.2rem 2rem;
  vertical-align: middle;
  font-size: 1.6rem;
}

tr {
  padding: 1.2rem 1rem;
  color: var(--dark);
}

td:first-child,
th:first-child {
  padding-left: 6rem;
}

.tableicon {
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  margin-left: 0.4rem;
  color: var(--dark);
}

.tableicon.paperclip {
  margin-right: 0.6rem;
}

.dot {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.dot.gray {
  background-color: #dddddd;
}
.dot.green {
  background-color: var(--mainC);
}
.dot.blue {
  background-color: #3498db;
}

td:last-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nice-select {
  height: 4rem;
  width: 14rem;
  border-radius: 0.5rem;
  border: 0.1rem solid var(--greyC);
  font-size: 1.4rem;
  outline: none;
  padding: 0 1rem;
}

.nice-select {
  border: 0.1rem solid var(--blackC);
}

.last_td svg {
  font-size: 1.8rem;
  cursor: pointer;
}

.dlt_btn {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10rem;
  background: var(--dark);
  color: var(--white);
  border: none;
  transition: 0.25s ease;
  outline: none;
}

.dlt_btn:hover {
  background: var(--blackC);
}

.nav_tabs .nav-link {
  font-size: 1.8rem;
  padding: 1rem 2rem;
  height: 4.5rem;
  display: flex;
  border-radius: 10rem;
  border: none;
  outline: none;
  background: var(--mainC);
  color: var(--dark);
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav_tabs .nav-link.active,
.nav_tabs .nav-link:hover {
  background: var(--blackC);
  color: var(--white);
}

.nav_tabs {
  display: flex;
  gap: 1rem;
}

tbody tr:nth-child(odd) {
  background: #f7f5f5;
}

.last_td {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* =================== */
.stats_content_top .col-sm-1 a {
  font-size: 2rem;
  color: var(--white);
  width: 6rem;
  display: flex;
  align-items: center;
  height: 6rem;
  background: var(--blackC);
  justify-content: center;
  border-radius: 10rem;
  transition: 0.35s ease;
  flex: 0 0 auto;
}

.stats_content_top .col-sm-1 a:active,
.stats_content_top .col-sm-1 a:hover {
  background: #00000080;
}

.stats_content_top {
  margin: 4rem 0;
}

.order_type {
  display: flex;
  flex-direction: column;
}

.stats_content_top .col-8 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats_content_top .col-8 .nice-select {
  width: 30rem;
  height: 4.5rem;
  padding: 0 1.6rem;
  border-radius: 10rem;
}

.stats_content_top .col-8 > span {
  font-size: 3rem;
}

.order_type > span {
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark);
}

.hamburger-menu {
  padding: 1.25rem;
  background: var(--blackC);
  border-radius: 1rem;
}

.hamburger-menu:active {
  background: #00000060;
}

.hamburger-menu:hover {
  box-shadow: 0 0 1rem 0.1rem rgba(68, 68, 68, 0.11);
}

.stats_right .nav_tabs .nav-link:not(.active) {
  background: var(--white);
}

.stats_right .nav_tabs .nav-link:not(.active):hover {
  color: var(--dark);
}

/* =========== nice select =============== */
.list {
  width: 100%;
}

.nice-select {
  display: flex;
  align-items: center;
}

span.current {
  font-size: 1.6rem;
  font-weight: 500;
}

.nice-select .option {
  line-height: 4rem;
  list-style: none;
  min-height: 4rem;
  outline: 0;
  padding-left: 1.8rem;
  padding-right: 2.9rem;
  color: #000;
}

.nice-select .list {
  margin-top: 0.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 0 1rem 0.1rem rgba(68, 68, 68, 0.11);
  max-height: 20rem;
  overflow: auto;
  min-width: 25rem;
  left: auto !important;
  right: 0 !important;
}

.nice-select .list::-webkit-scrollbar {
  scrollbar-width: 0;
  display: none;
}

.last_td span.current {
  font-size: 1.4rem;
  display: inline-block;
  max-width: 85%; /* or a fixed width like 150px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.nice-select:after {
  border-bottom: 0.1rem solid var(--dark);
  border-right: 0.1rem solid var(--dark);
  height: 0.75rem;
  margin-top: -0.4rem;
  right: 2rem;
  width: 0.75rem;
}

.order_type .nice-select .list {
  right: 50% !important;
  transform: translateX(50%);
  min-width: 100%;
}

.chartbox {
  padding: 4rem;
  background: var(--mainC);
  border-radius: 2rem;
  margin-bottom: 1.6rem;
  transition: 0.25s ease;
}

.chartbox:hover {
  box-shadow: 0 0.6rem 0.8rem 0 rgba(0, 0, 0, 0.15);
}

/* menupart_bottom */
.menupart_bottom .menulink.show {
  background: var(--blackC);
  width: 100%;
  border-radius: 0;
  color: var(--white);
}

.menupart_bottom .menulink:hover,
.menupart_bottom .menulink:not(.show) .menu_text:hover {
  color: var(--dark);
}

.menupart_bottom .menulink.show img {
  filter: var(--white_img);
}

.Sidebar_reduced .menupart_bottom .menulink {
  border-radius: 0;
  width: 100%;
}

.menupart_bottom .menulink.show:hover,
.menupart_bottom .menu_text:hover {
  color: var(--white);
}
