@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.SE-sales-SF {
  padding: 10px;
  padding-top: 20px;
  padding-left: 20px;
}
.SE-sales-classname {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  background-color: #fff;
}

.SE-sales-classname .search-box {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  flex: 1;
  color: #c0b9b9;
}

.SE-sales-classname .search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  padding-left: 8px;
  color: #333;
  background: transparent;
  width: 150px;
}

.SE-sales-classname .search-box input::placeholder {
  color: #c0b9b9;
}

.SE-sales-classname .filter-box {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-left: 1px solid #ccc;
  cursor: pointer;
  color: #a29e9e;
  font-weight: 500;
}

.SE-sales-classname .filter-box i {
  color: #3a81d3;
  margin-right: 6px;
}

.SE-sales-classname .filter-box:hover {
  background-color: #f0f0f0;
}

#MaterialDashboardTable_length {
  width: 100%;
  padding: 10px;
  overflow-x: hidden;
  display: flex;
}
#MaterialDashboardTable_length > label {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}
#MaterialDashboardTable_filter {
  display: none;
}
.le-nl-table-main {
  width: 100%;
  overflow-y: hidden;
  padding: 20px;
}
.le-nl-table-main #MaterialDashboardTable {
  width: 100%;
  border-spacing: 0px;
  padding: 20px;
  padding-top: 0px;
  overflow-x: auto;
}

#MaterialDashboardTable tbody td {
  background-color: white;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  border-bottom: 1px solid #eaecf0;
  padding: 10px;
  font-weight: 500;
}
#MaterialDashboardTable thead th {
  color: #667085;
  font-weight: 500;
  background-color: #e5edf5;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.le-nl-table-main table tbody tr:nth-child(even) {
  background-color: rgb(245, 245, 245);
}
#MaterialDashboardTable tbody td .inactive {
  background-color: #d4001911;
  font-family: "Roboto", sans-serif;
  color: #d40019;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
}
#MaterialDashboardTable tbody td .active {
  background-color: #46d10025;
  font-family: "Roboto", sans-serif;
  color: #46d100;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
}
.updated-status {
  background-color: rgba(0, 0, 255, 0.103);
  font-family: "Roboto", sans-serif;
  color: blue;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
}
#MaterialDashboardTable tbody td .pending-status {
  background-color: rgba(255, 255, 0, 0.178);
  font-family: "Roboto", sans-serif;
  color: rgb(192, 192, 4);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
}
#MaterialDashboardTable_info {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  padding: 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-radius: 50%;
  background: white;
}
#MaterialDashboardTable_paginate .current {
  border-radius: 50%;
  background-color: #2c70b9;
  color: white;
}
#MaterialDashboardTable_info {
  display: none;
}
/* Basic styling for the table */
#MaterialDashboardTable {
  width: 100%;
  border-collapse: collapse;
}

#MaterialDashboardTable th,
#MaterialDashboardTable td {
  padding: 10px;
  text-align: left;
  text-wrap: nowrap;
}
.view-row {
  cursor: pointer;
  color: blue;
}
/* Pop Up Modal */
#popupForm {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  justify-content: end;
  z-index: 9999;
}

.popup-content {
  background-color: white;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  position: absolute;
  right: 0px;
  /* max-height: 700px; */
  height: 100vh;
  overflow-y: auto;
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}

.profile-pic-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
}
.profile-pic-main .image-section {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-pic-main .image-section > img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}
.profile-pic-main .image-details-section {
  display: flex;
  flex-direction: column;
}
.profile-pic-main .image-details-section > span:first-child {
  font-size: 18px;
  font-weight: 500;
}
.profile-pic-main .image-details-section > div {
  font-size: 14px;
  font-weight: 500;
  color: #7e7e7e;
  display: flex;
  align-items: center;
}
.profile-pic-main .image-details-section #role {
  font-size: 12px;
  color: #7e7e7e;
}
.all-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-group > span:first-child {
  font-size: 16px;
  color: #151d48;
  font-weight: 400;
}
.form-group > span:last-child {
  font-size: 16px;
  color: #151d48;
  font-weight: 700;
  text-align: right;
}
#displayactive.status-deal-not {
  color: red;
}
#displayactive.status-pending {
  color: rgb(180, 177, 6);
}
#displayactive.status-revised {
  color: blue;
}
#displayactive.status-completed {
  color: green;
}

/* widgets code */
.de-info-boxes-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 20px;
}
.de-info-boxes {
  display: flex;
  justify-content: start;
  gap: 24px;
  flex-wrap: wrap;
  width: max-content;
}

.de-info-bx {
  width: 195px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  cursor: pointer;
}

.de-info-bx:hover {
  background-color: #ffffff;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  transform: translateY(-2px);
}

.de-logo-bx {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #2C70B9 0%, #4A90E2 100%); */
  background: #2c70b929;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.de-logo-bx img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.de-text-part {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 0px;
  width: 100%;
}

.de-text-part .de-text-count {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #111827;
}

.de-text-part .de-text-detail {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #6b7280;
  width: 100%;
  line-height: 15px;
}

.de-info-bx:hover .custom-tooltip {
  visibility: visible;
  opacity: 1;
}

.custom-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  position: absolute;
  top: -40px; /* distance above the box */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 10;
  font-size: 12px;
}
/* Action Button */

.action-btn {
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  background-color: transparent;
}

.dropdown-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  right: 5px;
  display: none;
  z-index: 1000;
}

.dropdown-menu li {
  cursor: pointer;
  background-color: white;
  padding: 2px 4px;
}

.dropdown-menu li > button {
  background-color: transparent;
  border: none;
}

.dropdown-menu li:hover {
  background-color: #989898;
  color: white;
}

.dropdown {
  position: relative;
}

.agree-btn,
.reject-btn,
.negotiate-btn {
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 4px 6px;
  background-color: white;
  text-align: left;
}

/* widgets code end */
/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 600px;
  text-align: center;
  position: relative;
}
.table-heading {
  font-size: 16px;
  font-weight: 500;
}

/* Close (X) button */
.close-btn {
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  padding: 15px 30px;
  background-color: #d9d9d9;
}

.filter-panel {
  max-width: 400px;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  padding: 20px;
  border-radius: 0;
  /* Remove the border radius for a full-screen effect */
  box-shadow: none;
  /* Remove shadow for a cleaner look */
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  overflow-y: auto;
  /* Allows scrolling if content exceeds the screen height */
  background-color: rgba(255, 255, 255);
  box-shadow: 0px 0px 10px rgb(167, 167, 167);
  /* Optional: semi-transparent background */
}

.filter-panel.open {
  display: block;
}

h3 {
  text-align: center;
  color: #333;
  font-size: 20px;
  margin-bottom: 10px;
}

h4 {
  color: #444;
  font-size: 18px;
  margin-bottom: 5px;
}

.filter-section {
  margin-bottom: 20px;
}

.fil-date #fromDate {
  padding: 5px 10px;
  outline: none;
  border-radius: 5px;
  border: 1px solid grey;
}
.fil-date #toDate {
  padding: 5px 10px;
  outline: none;
  border-radius: 5px;
  border: 1px solid grey;
}
.fil-date label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}
.filter-section > div {
  display: block;
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.filter-section select {
  border: 1px solid grey;
  border-radius: 5px;
  padding: 5px 10px;
  outline: none;
  cursor: pointer;
  width: 200px;
}
.filter-buttons {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 5px;
}
.clear-btn,
.cancel-btn {
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}
.clear-btn:hover,
.cancel-btn:hover {
  background-color: #2c70b9;
  color: white;
}

.apply-btn {
  background-color: #2c70b9;
  color: white;
  font-size: 1rem;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.apply-btn:hover {
  background-color: #f0f0f0;
  color: black;
}
@media (max-width: 454px) {
  .de-info-boxes {
    justify-content: space-evenly;
  }
  .de-info-boxes-main {
    justify-content: space-evenly;
  }
  .de-info-bx {
    padding: 10px;
    width: 160px;
  }
}
@media (max-width: 384px) {
  .de-info-bx {
    padding: 10px;
    width: 140px;
  }
  .de-logo-bx {
    width: 40px;
    height: 40px;
  }
  .de-text-part .de-text-count {
    font-size: 16px;
  }
  .de-info-boxes {
    gap: 10px;
  }
}
@media (max-width: 343px) {
  .de-info-bx {
    width: 130px;
  }
}


/* charts and graph */
.charts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 20px;
}

.chart-card {
  flex: 1 1 48%;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  min-width: 280px;
}

.chart-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #111827;
  font-weight: 600;
}

.chart-card canvas {
  width: 100% !important;
  height: 300px !important; 
}

@media (max-width: 768px) {
  .chart-card {
    flex: 1 1 100%;
  }
}



/* recent activities */
.SE-sales-Lists {
  padding: 20px;
}

.sales-boxes-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  padding: 10px 20px;
  background-color: white;
  border-radius: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border: 1px solid #e5e7eb;}

/* ===== Tab Heading ===== */
.sales-boxes-container .recent-heading-main {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.recent-heading-main .recent-tab {
  padding: 5px 0px;
  border-bottom: 5px solid transparent;
  cursor: pointer;
}

.recent-heading-main .recent-active {
  border-bottom: 5px solid #2C70B9;
  border-radius: 3px;
  z-index: 99;
  font-weight: 600;
}

/* ===== Content Wrappers ===== */
.recent-content-main {
  margin-top: 15px;
  display: none; /* hidden by default */
}

.recent-content-main.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px;
}

/* ===== Column for each set of details ===== */
.content-main-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== Inside Content Boxes ===== */
.individual-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 0px;
  border-bottom: 0.5px solid #EBEBF0;
}

.individual-details .profile-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-details > img {
  height: 40px;
  width: 40px;
}

.profile-details > span:last-child {
  color: #939393;
  font-size: 12px;
}

.profile-date > span {
  color: #939393;
  font-size: 10px;
}

/* ===== Responsive Layout ===== */
@media (max-width: 1024px) {
  .recent-content-main.active {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
  }
}

@media (max-width: 768px) {
  .recent-content-main.active {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }
}


