@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: 0px;
  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;
}

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

#MaterialRequestHistory tbody td {
  background-color: white;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  border-bottom: 1px solid #eaecf0;
  padding: 10px;
  font-weight: 500;
}
#MaterialRequestHistory 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);
}
#MaterialRequestHistory tbody td .inactive {
  background-color: #d4001911;
  font-family: "Roboto", sans-serif;
  color: #d40019;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
}
#MaterialRequestHistory 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;
}
#MaterialRequestHistory 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;
}
#MaterialRequestHistory_info {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  padding: 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-radius: 50%;
  background: white;
}
#MaterialRequestHistory_paginate .current {
  border-radius: 50%;
  background-color: #2c70b9;
  color: white;
}
#MaterialRequestHistory_info {
  display: none;
}
/* Basic styling for the table */
#MaterialRequestHistory {
  width: 100%;
  border-collapse: collapse;
}

#MaterialRequestHistory th,
#MaterialRequestHistory td {
  padding: 10px;
  text-align: left;
  text-wrap: nowrap;
}
.view-row {
  cursor: pointer;
  color: blue;
}

.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;
}
/* 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: 5px 10px;
  box-shadow: 0px 0px 10px rgb(167, 167, 167);
}

.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;
}
.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-section .sub-filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.filter-section .sub-filter-section > div {
  display: flex;
}
.filter-section .sub-filter-section > div input {
  margin-right: 5px;
  transform: scale(1.2);
}
.filter-section .sub-filter-section > div label {
  cursor: pointer;
}

.filter-section .sub-filter-section > div:hover {
  color: #007bff;
}
/* Apply Button */
.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;
  }
}
/* Pop Up Modal */
.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
}

.popup-content h3 {
  margin-top: 0;
}

.popup-content .form-group {
  margin: 15px 0;
}

.popup-content select {
  width: 100%;
  height: 100px;
}

.popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.all-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.send-btn {
  padding: 5px 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}