/*order Fonts*/
@font-face {
  font-family: 'nexa-black';
  src: url('../fonts/Nexa-Black.otf');
}
@font-face {
  font-family: 'nexa-bold';
  src: url('../fonts/Nexa-Bold.otf');
}
@font-face {
  font-family: 'nexa-regular';
  src: url('../fonts/Nexa-Regular.otf');
}
.disabled-tab {
  pointer-events: none; 
  opacity: 0.5;
  cursor: not-allowed; 
}


:root {
  --secondary-color: rgb(255, 81, 82); 
  --primary-color: rgb(32, 14, 50);
  --background-color: rgb(244, 244, 244); 
  --inactivity: rgb(102, 102, 102); 
  --text-black-color: #000;
  --text-white-color: #fff;
}
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'nexa-regular';
  }
  
  a {
    text-decoration: none;  
    margin: 0;
    padding: 0; 
}
ul, li, ol {
  list-style: none;
  text-decoration: none;  
  margin: 0;
  padding: 0; 
}

  body {
    color: var(--text);
  }
  
body {
  min-height: 100vh;
  overflow-x: hidden;
  
}


.container {
  position: relative;
  width: 100%;
}

#menu-filter, #filter{
display: flex;
  padding: 10px 15px;
  overflow-x: auto;
}

.wrap-filter {
  border: 2px solid black;
  padding: 5px 10px; /* Optional: Add padding for better appearance */
  border-radius: 50px;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px; 
  text-align: center;
  cursor: pointer;
  font-size: 3vmin;
  font-weight: 600;
  white-space: nowrap;
}


.histo-header {
  position: relative;
  display: flex;
  width: 100%;
  padding: 10px;
  justify-content: space-between;
}

.histo-header button {
  padding: 0.5em;
  background-color: var(--text-white-color);
  border: none;
  font: inherit;
  background-color:var(--primary-color);
  color: var(--text-white-color);
    margin-left: -1px;
    position: relative;
    left: 3px;
    border-radius: 10px;
    box-shadow: 3px -3px 6px rgba(0, 0, 0, 0.71);

}

#action {
  padding: 10px;
}

/* =============== Navigation ================ */

.logo {
  width: 40%;
  margin: 30px;
}
.navigation {
  position: fixed;
  width: 230px;
  height: 100%;
  background: var(--primary-color);
  border-left: 10px solid var(--primary-color);
  transition: 0.5s;
  overflow: hidden;
}
.navigation.active {
  width: 80px;
}

.navigation ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.navigation ul li {
  position: relative;
  width: 100%;
  list-style: none;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}


.navigation ul li:nth-child(1) {
  margin-bottom: 20px;
  margin-top: 5px;
  pointer-events: none;
}

.navigation ul li a {
  position: relative;
  display: block;
  width: 100%;
  display: flex;
  text-decoration: none;
  color: var(--text-white-color);
}
/*.navigation ul li:hover a,
.navigation ul li.hovered a {
  color: var(--blue);
}*/

.navigation ul li a .icon {
  position: relative;
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 75px;
  text-align: center;
}
.navigation ul li a .icon ion-icon {
  font-size: 1.75rem;
}

.navigation ul li a .title {
  position: relative;
  display: block;
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  text-align: start;
  white-space: nowrap;
}
.navigation ul li a .title1 {
  position: relative;
  display: block;
  padding: 0 5px;
  height: 60px;
  line-height: 60px;
  text-align: start;
  white-space: nowrap;
}
.navigation ul li a .title1 img {
margin-right: 15px;
} 
/* --------- curve outside ---------- */
/*.navigation ul li:hover a::before,
.navigation ul li.hovered a::before {
  content: "";
  position: absolute;
  right: 0;
  top: -50px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 35px 35px 0 10px var(--text-white-color);
  pointer-events: none;
}
.navigation ul li:hover a::after,
.navigation ul li.hovered a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -50px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 35px -35px 0 10px var(--text-white-color);
  pointer-events: none;
}*/
.activee{
	background:var(--text-white-color);
	border-radius: 27px;
	position: relative;
}


.nav > .activee::before {
  content: "";
  position: absolute;
  right: 0;
  top: -50px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 35px 35px 0 10px var(--text-white-color);
  pointer-events: none;
}
.nav > .activee::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -50px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 35px -35px 0 10px var(--text-white-color);
  pointer-events: none;
}
.activee a{
	color: var(--primary-color)!important;
}
/* ===================== Main ===================== */
.main {
  position: absolute;
  width: calc(100% - 230px);
  left:230px;
  min-height: 100vh;
  background: var(--text-white-color);
  transition: 0.5s;
}
.main.active , .footer.active {
  width: calc(100% - 80px);
  left: 80px;
}

.topbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.toggle {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  cursor: pointer;
}

.search {
  position: relative;
  width: 400px;
  margin: 0 10px;
}

.search label {
  position: relative;
  width: 100%;
}

.search label input {
  width: 100%;
  height: 30px;
  border-radius: 40px;
  padding: 5px 20px;
  padding-left: 35px;
  font-size: 16px;
  outline: none;
  border: 1px solid var(--primary-color);
}

.search label ion-icon {
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 1.2rem;
}

.user {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  margin-right: 10px;
  margin-left: 20px;
}

.user img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}
.user-name {
  font-family: 'nexa-black';
}

.user-info {
  display: flex;
  align-items: center;
}
/* ======================= Cards ====================== */
.cardBox  {
  position: relative;
  width: 100%;
  height: 20vh;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;

}
.cardBox1 {
  position: relative;
  width: 100%;
  height: 20vh;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;

}
.cardBox2 {
  position: relative;
  width: 100%;
  height: 20vh;
  padding: 10px;
  grid-gap: 10px;

}

.cardBox .card, .cardBox .card1, .cardBox1 .card {
  position: relative;
  background: var(--text-white-color);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
 align-items: center;
 justify-content: space-evenly;
 flex-wrap: nowrap;
  cursor: pointer;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.add-project-card {
  
  background: var(--text-white-color);
  border-radius: 20px;
  display: flex;
  flex-direction: row;
 align-items: center;
 justify-content: space-evenly;
 flex-wrap: nowrap;
  cursor: pointer;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}
.add-project-card ca

.cardBox .card .cardName, .cardBox .card1 .cardName, .cardBox1 .card .cardName{
  color: var(--primary-color);
  font-family: 'nexa-black';
  font-size: 2.5vmin;
  font-weight: 500;
  margin-top: 5px;
}
.cardBox .card .cardPosition, .cardBox .card1 .cardPosition  {
  color: var(--secondary-color);
  font-size: 1.7vmin;
}
.cardBox1 .card .cardPosition {
  color: var(--secondary-color);
  font-size: 3.5vmin;
  font-weight: 500;
}
.cardBox .card .iconBx , .cardBox1 .card .iconBx{
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.cardBox .card:hover, .cardBox .card1:hover {
  background: var(--primary-color);
}

.cardBox .card:hover .cardName,
.cardBox .card:hover .cardPosition,
.cardBox .card:hover .iconBx,
.cardBox .card1:hover .cardName,
.cardBox .card1:hover .cardPosition,
.cardBox .card1:hover .iconBx {
  color: var(--text-white-color);
}

#menu-container .card img, #menu-jour-container .card img , .menu-container .card img {
  width: 100%;
  height: 150px;
  border: 1px solid var(--secondary-color);
border-radius: 20px 20px 10px 10px;
 object-fit: cover;
}

.card .memberInfo, .card1 .memberInfo {
  flex: 1;
  padding: 0 10px;
}

.selected-card {
  background-color: green; /* Change to your desired background color */
}
/* ================== Order Details List ============== */
.details {
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-gap: 30px;
  /* margin-top: 10px; */
}

.salary-details {
  position: relative;
  min-height: 500px;
  background: var(--text-white-color);
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.details .recentOrders {
  position: relative;
  min-height: 500px;
  background: var(--text-white-color);
  padding: 20px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.details .recentOrdersPrice {
display: flex;
justify-content : space-around;
  position: relative;
  background: var(--secondary-color);
  padding: 10px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.details .recentOrdersPrice p {
  color: var(--text-white-color);
  font-family: 'nexa-black';
  margin: 0 !important;
  font-size: 20px;
  text-align: center;
}
.details .cardHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cardHeader h2 {
  font-weight: 600;
  color: var(--primary-color);
}
.cardHeader .btn {
  position: relative;
  padding: 5px 10px;
  background: var(--blue);
  text-decoration: none;
  color: var(--text-white-color);
  border-radius: 6px;
}

.details table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.details table thead td {
  font-weight: 600;
}
.details .recentOrders table tr {
  color: var(--black1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.details .recentOrders table tr:last-child {
  border-bottom: none;
}

.details .recentOrders table tr td {
  padding: 10px;
}


.status.paid {
  padding: 2px 4px;
  background: #8de02c;
  color: var(--text-white-color);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.status.canceled {
  padding: 2px 4px;
  background: #f00;
  color: var(--text-white-color);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}



/* ====================== Responsive Design ========================== */
@media (max-width: 991px) {
  .navigation {
    left: -300px;
  }
  .navigation.active {
    width: 300px;
    left: 0;
  }
  /* .main {
    width: 100%;
    left: 0;
  } */
  /* .main.active {
    left: 300px;
  } */
  .cardBox {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .details {
    grid-template-columns: 1fr;
  }
  .recentOrders {
    overflow-x: auto;
  }
  .status.inProgress {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .cardBox {
    grid-template-columns: repeat(1, 1fr);
  }
  .cardHeader h2 {
    font-size: 20px;
  }
  .user {
    min-width: 40px;
  }
  .navigation {
    width: 100%;
    left: -100%;
    z-index: 1000;
  }
  .navigation.active {
    width: 100%;
    left: 0;
  }
  .toggle {
    z-index: 10001;
  }
  .main.active .toggle {
    color: #fff;
    position: fixed;
    right: 0;
    left: initial;
  }
}
/* Style for the plus button container */
.plus-button {
  display: flex;
  align-items: center;
  background-color: #007bff; /* Change this to your desired background color */
  color: #fff; /* Change this to your desired text color */
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 20px; /* Adjust the border radius for a rounded shape */
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

/* Style for the plus icon */
.plus-button ion-icon {
  font-size: 24px; /* Adjust the font size as needed */
  margin-right: 10px; /* Adjust the spacing between icon and text */
}

/* Hover effect */
.plus-button:hover {
  background-color: #0056b3; /* Change this to your desired hover background color */
}


/* Style for the notification icon */
.setting-icon {
  color: grey; /* Change to your desired color */
  font-size: 24px; /* Change to your desired size */
  margin-right: 10px; /* Adjust the spacing as needed */
}

/* Style for the message icon */
.message-icon {
  color: grey; /* Change to your desired color */
  font-size: 24px; /* Change to your desired size */
  margin-right: 10px; /* Adjust the spacing as needed */
}
/* Position the user info container relative to its parent */
.user-info-container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Position the popup absolutely within the user info container */
.popup1 {
  position: absolute;
  top: 100%; /* Position below the user info */
  right: 0; /* Align with the right edge of the user info container */
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 100;
}

.popup1 ul {
  list-style: none;
  padding: 0;
}

.popup1 ul li {
  margin: 10px 0;
}

.popup1 a {
  text-decoration: none;
  color: #333;
}
.userList {
  cursor: pointer;
  background-color: #ccc;
}


tbody img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50px;
}




.toggle-expend-icon{
  cursor: pointer;
}



.partners {
  display: flex;
  justify-content : space-around;
    position: relative;
    background: var(--secondary-color);
    padding: 30px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 20px 20px;
    margin-bottom: 50px;
  }
  
  .partners p {
    color: var(--text-white-color);
    font-family: 'nexa-black';
    margin: 0 !important;
    font-size: 40px;
    text-align: center;
  }