﻿.custom-color {
  color: #0080c1;
}
.customIconColor {
  color: rgba(202, 204, 207, 1);
}
.customGray {
  background-color: rgba(97, 98, 100, 1);
}
.customOrange {
  background-color: rgba(255, 125, 26, 1);
}
.customGrayText {
  color: rgba(164, 164, 164, 1);
}
.uploadGray {
  background-color: rgba(97, 98, 100, 1);
  color: white;
}

.bg-blue-500 {
  background-color: #0080c1 !important;
}
td {
  color: rgba(82, 87, 92, 1);
  padding-top: 10px;
  padding-bottom: 10px;
}
.logoutOrange {
  background-color: rgba(252, 120, 39, 1) !important;
  color: white !important;
}
#consignmentSubmenu {
  display: none;
  list-style-type: none;
  padding: 0;
}
.hidden {
  display: none;
}

/* user management */
.custom-chevron-right::after {
  content: "\203A";
  font-size: 35px;
  color: black;
}
.custom-chevron-down::after {
  content: "\203A";
  display: inline-block;
  transform: rotate(90deg);
  color: white;
}
.custom-chevron-right-sub::after {
  content: "\203A";
  font-size: 35px;
  color: black;
}
.custom-chevron-down-sub::after {
  content: "\203A";
  display: inline-block;
  transform: rotate(90deg);
}
.addUserColor {
  color: rgba(0, 128, 193, 1);
}
input:disabled {
  background-color: rgba(239, 239, 239, 1) !important;
}
.activateGreen {
  background-color: rgba(114, 191, 68, 1);
}
.deactivateRed {
  background-color: rgba(228, 53, 31, 1);
}
.switch {
  position: relative;
  display: inline-block;
  height: 16px;
  margin-top: 5px;
  width: 32px;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(228, 53, 31, 1);
  transition: 0.4s;
  border-radius: 32px;
}
.switch input {
  display: none;
}
.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50px;
}

.switch input:checked + .slider {
  background-color: rgba(114, 191, 68, 1);
}
.switch input:checked + .slider:before {
  transform: translate(15px);
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 8px;
  z-index: 1000;
}
.rolePopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  z-index: 1000;
}
.popupColor {
  background-color: #0080c1;
}
.popupBlueText {
  color: #0080c1;
}
.popupBlueBorder {
  border: 1px solid #0080c1;
}
.starlabel label:after {
  content: " *";
  color: red;
}
tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}
.placeholder-sm::placeholder {
  font-size: 0.8rem;
}
.placeholder-md::placeholder {
  font-size: 0.9rem;
}
td,
th {
  padding-left: 20px;
}
.changePassword {
  background-color: #616264;
}
.resetSubmitOrange {
  background-color: #ff7d1a;
}
.compTitle {
  color: #0080c1;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
}

.accordion-item {
  border: 1px solid white;
  margin-bottom: 10px;
  border: none;
  border-radius: 10px;
  padding: 5px 0px;
  box-shadow: 0px 0px 20px 10px #0000000d;
}
.accordion-title {
  color: #0080c1;
  font-weight: 700;
  font-size: 24px;
}

.accordion-header {
  background-color: white;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-content {
  display: none;
  padding: 10px;
  background-color: white;
}

.accordion-item.active .accordion-content {
  display: block;
}

.fa-angle-right {
  float: right;
}

.fa-angle-down {
  float: right;
}

.inputBox {
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  width: auto;
  height: 48px;
  outline: none;
  padding: 0px 10px;
  background-color: white;
}

.inputBox:disabled {
  background-color: #efefef;
}

.custom-select {
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  width: auto;
  height: 48px;
  outline: none;
  padding: 0px 10px;
  background-color: white;
  cursor: pointer;
  color: #9e9e9e;
}
option:not(:first-of-type) {
  color: black;
}

.submitBtn {
  border: none;
  background-color: #616264;
  border-radius: 4px;
  height: 44px;
  color: white;
  padding: 6px 20px;
  font-size: 20px;
  width: 150px;
}
/* effect table */

.consign-table table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  box-shadow: 0px 0px 20px 8px #0000000d;
  border-radius: 10px !important;
}

.consign-table th {
  text-align: left;
  padding: 15px 10px;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 600;
}
.consign-table td {
  border: none;
  text-align: left;
  padding: 15px 10px;
  color: #52575c;
  font-size: 14px;
}

.detailsHead th {
  text-align: left;
  padding: 15px 10px;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #dcdcdc;
}

tr:nth-child(even) {
  background-color: #f9f9fa;
}
tr:nth-child(odd) {
  background-color: #ffffff;
}

.addingpackage {
  border: none;
  outline: none;
  background-color: #616264;
  border-radius: 4px;
  color: white;
  padding: 10px 22px;
  font-size: 20px;
  font-weight: 700;
}

.cancelBtn {
  border: none;
  outline: none;
  background-color: #616264;
  border-radius: 4px;
  color: white;
  text-transform: lowercase;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 700;
}

.cancelBtn::first-letter {
  text-transform: uppercase;
}

.dispatchBtn {
  border: none;
  outline: none;
  background-color: #ff7d1a;
  border-radius: 4px;
  color: white;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 700;
  margin-right: 20px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  border-radius: 10px !important;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  max-width: 450px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #0080c1;
  padding: 20px;
}

.modal-success-content {
  border-radius: 10px !important;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  max-width: 450px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #0080c1;
  padding: 20px;
  border-bottom: 10px solid #ff7d1a;
}
.yesBtn {
  border: none;
  outline: none;
  background-color: #0080c1;
  border-radius: 4px;
  color: white;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  width: 140px;
  height: 52px;
}

.noBtn {
  border: 1px solid #0080c1;
  outline: none;
  background-color: white;
  border-radius: 4px;
  color: #0080c1;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  width: 140px;
  height: 52px;
  text-align: center;
}

.printBtn {
  border: none;
  outline: none;
  background-color: #616264;
  border-radius: 4px;
  color: white;
  padding: 8px 24px;
  font-size: 22px;
  font-weight: 700;
  height: 48px;
}

.dispatchDetailsWrap {
  background-color: white;
  box-shadow: 8px 0px 20px 10px #0000000d;
  border-radius: 10px;
}
.dispatchDetailsTitle {
  font-size: 30px;
  color: #0080c1;
  font-weight: 600;
}
.dispatchLine {
  border-left: 2px solid black;
}

.recentBtn {
  border: none;
  outline: none;
  background-color: #ff7d1a;
  border-radius: 4px;
  color: white;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 700;
}

.receiveBtn {
  border: none;
  outline: none;
  background-color: #ff7d1a;
  border-radius: 4px;
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  height: 44px;
  width: 100%;
  max-width: 220px;
  /* Centering styles */
  display: block;
  margin: 40px auto 0; /* Adjust '20px' to move it down by your desired pixels */
}

.editBtn {
  background-color: #616264;
  border: none;
  outline: none;
  border-radius: 4px;
  color: white;
  font-size: 20px;
  font-weight: 400;
  padding: 14px 24px;
  text-align: center;
  width: 150px;
}

.viewBtn {
  background-color: #616264;
  border: none;
  outline: none;
  border-radius: 38px;
  color: white;
  font-size: 16px;
  font-weight: 400;
  padding: 6px 10px;
  text-align: left;
}

.shippingTitle {
  color: #1c1c1c;
  font-size: 22px;
  font-weight: 600;
}

.shipSubLabel {
  color: #828282;
  font-size: 16px;
  font-weight: 500;
}

.shipSubCont {
  color: #333333;
  font-size: 17px;
  font-weight: 700;
}

.datepickerWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  height: 45px;
  border: 3px solid #b5bdc5;
  border-radius: 4px;
  padding-left: 1px;
}

.datepickerInput {
  width: 100%;
  max-width: 220px;
  height: 38px;
  border: none;
  padding-left: 10px;
}

.datepickerInput:focus {
  outline: none;
}

.datepickerInput::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}
.calendar-Icon {
  position: absolute;
  top: 48%;
  right: 0px;
  transform: translateY(-50%);
  background-color: #dce0e4;
  padding: 9.55px 9px;
}

.goBtn {
  background-color: #616264;
  border: none;
  outline: none;
  border-radius: 4px;
  color: white;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  width: 150px;
  height: 44px;
  cursor: pointer;
}

.pagination-button {
  padding: 5px 15px;
  margin: 0 10px;
  background-color: white;
  color: #1c1c1c;
  border: 1px solid #cacccf;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0px 2px 4px 0px #d8d8d885;
}

.pageNumber {
  padding: 6px 14px;
  margin: 0 2px;
  background-color: #fff;
  color: #1c1c1c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pageNumber.active {
  background-color: #ff7d1a;
  color: #fff;
}

#receive-pagination {
  text-align: center;
  margin-top: 20px;
}

input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

.uploadTitle {
  color: #0080c1;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
}

.btnDownload {
  color: #ff7d1a;
  text-decoration: underline;
  font-weight: 700;
  outline: none;
  border: none;
}
.successLabel {
  color: #72bf44;
}

.upload-container {
  border: 1px dashed #b5bdc5;
  padding: 8px 5px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.file-input {
  display: none;
}
.browse-btn {
  color: #1c1c1c;
  font-weight: 700;
  font-size: 16px;
  text-align: end;
}

.choose-btn {
  cursor: pointer;
  background-color: #616264;
  color: white;
  padding: 5px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  height: 30px;
}

#fileName {
  display: inline-block;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 10px;
}
.goButton {
  background-color: #616264;
  width: 180px;
  font-size: large;
}
.tableTextColor {
  color: #52575c;
}
.calendarBg {
  background-color: #dce0e4;
}
.searchBoxBg {
  background-color: #f3f3f3;
}
.scrollBarWidth::-webkit-scrollbar {
  width: 7px;
}
.scrollBarWidth::-webkit-scrollbar-track {
  background-color: #d9d9d9;
  border-radius: 25px;
}
.scrollBarWidth::-webkit-scrollbar-thumb {
  background-color: #0080c1;
  border-radius: 25px;
}
.searchIconColor {
  color: #c4c4c4;
}
.searchIconColor {
  color: #c4c4c4;
}
.noInventoryText {
  color: #ff7d1a;
  font-size: 35px;
  font-weight: 700;
}

/* multi select dropdown */
.selected-value {
  background-color: #ececec;
  margin-right: 10px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-top: 2px;
  margin-bottom: 2px;
  cursor: pointer;
  border-radius: 5px;
}
.dropdown-value {
  height: 45px;
  display: flex;
  /* align-items: center; */
}
.dropdown-value input {
  margin-right: 5px;
  cursor: pointer;
}

.dropdown-value label {
  border-bottom: 1px solid #ececec;
  width: 90%;
  display: flex;
  align-items: center;
}
.delete-icon {
  margin-left: 10px;
}

/* recall destroy start */

.approveBtn {
  border: 1px solid #72bf44;
  outline: none;
  background-color: #72bf44;
  border-radius: 38px;
  color: white;
  height: 28px;
  width: 100px;
  text-align: center;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.rejectBtn {
  border: 1px solid #e30000;
  outline: none;
  background-color: #e30000;
  border-radius: 38px;
  color: white;
  height: 30px;
  width: 100px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* recall destroy end */

#usermngt_submenu {
  display: none;
}
#sub_products {
  display: none;
}
/* login page */

.loginPageBlue {
  background-color: #0080c1;
  background-image: url('/images/assets/backPlusIcon.svg');
  background-size: 55% auto;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
}

.login-card {
  background-color: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem 1rem;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.login-card-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.login-card-logos img:first-child {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
}

.login-card-logos img:last-child {
  height: 1.35rem;
  width: auto;
  max-width: 100%;
}

.login-card-subtitle {
  color: #8c8c8c;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.75rem;
}

.login-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.login-input-wrap img {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.login-input-wrap input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.875rem;
  background: transparent !important;
}

.login-password-wrap input {
  padding-right: 2rem !important;
}

.login-password-toggle {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #8c8c8c;
  cursor: pointer;
  border-radius: 0.25rem;
}

.login-password-toggle:hover {
  color: #0080c1;
}

.login-password-toggle:focus {
  outline: 2px solid #0080c1;
  outline-offset: 1px;
}

.login-password-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
}

.login-password-toggle .is-hidden {
  display: none;
}

.login-password-wrap {
  position: relative;
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.25rem 0 0.5rem;
  font-size: 0.8125rem;
}

.login-captcha-row {
  margin-bottom: 0.5rem;
}

.login-captcha-row .cap-detail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.login-captcha-row .cap-detail dt,
.login-captcha-row .cap-detail label,
.login-captcha-row .cap-detail .required {
  display: none !important;
}

.login-captcha-row .cap-detail dd {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0;
  width: 100%;
}

.login-captcha-row .cap-detail img,
.login-captcha-row img[id*="captcha"],
.login-captcha-row img[src*="captcha"] {
  display: block;
  width: 100%;
  height: auto;
  min-height: 4.375rem;
  max-height: 5rem;
  object-fit: contain;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #f9fafb;
  padding: 0.375rem;
  margin: 0;
  box-sizing: border-box;
}

.login-captcha-row input {
  width: 100% !important;
  height: 2.5rem !important;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.login-captcha-row label {
  display: none;
}

.login-terms {
  font-size: 0.6875rem;
  color: #6b7280;
  text-align: center;
  margin: 0.5rem 0 0.625rem;
  line-height: 1.4;
}

.login-submit-btn {
  width: 100%;
  height: 2.75rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

.login-card .captcha-field ul {
  display: none;
}

.login-card .captcha-field .common-error-msg ul {
  display: block;
}
/* audit trail */
.actionRed {
  color: #e4351f;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  text-align: center;
  position: absolute;
  z-index: 1;
  bottom: 190%;
  margin-left: -60px;
  transition: opacity 0.3s;
  color: #0080c1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltiptext:before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: white;
  bottom: -12px;
  left: 42%;
  transform: rotate(45deg);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.sublist li {
  color: #1c1c1c;
  font-weight: 500;
  cursor: pointer;
}

.inputBox::placeholder:after {
  content: "*";
  color: red;
}

/* Select Box */
.select-box {
  width: 100%;
  position: relative;
}
.select-option {
  position: relative;
  display: flex;
  align-items: center;
}

.select-option input {
  width: 100%;
  height: 44px;
  background-color: #fff;
  color: #afafaf;
  border-radius: 7px;
  cursor: pointer;
  font-size: 16px;
  padding: 0px 20px;
  border: 1px solid #b5bdc5;
  outline: 0 !important;
  flex-grow: 1;
}

.select-option i {
  position: absolute;
  right: 15px;
  margin-left: auto;
  cursor: pointer;
}

.select-content {
  background-color: #fff;
  position: absolute;
  color: #000;
  border-radius: 7px;
  margin-top: 15px;
  width: 100%;
  z-index: 999;
  padding: 15px;
  border: 1px solid #e7e7e7;
  display: none;
}

.search input {
  width: 100%;
  font-size: 16px;
  padding: 6px;
  outline: none;
  border: 1px solid #f3f3f3;
  border-radius: 5px;
  background-color: #f3f3f3;
  color: #cacccf;
}

.options {
  margin-top: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding: 0;
}

.options li {
  border-bottom: 1px solid #d9d9d9;
  padding: 10px 0;
  cursor: pointer;
  color: #2e2e2e;
  font-size: 14px;
  font-weight: 500;
}

.options li:hover {
  background-color: #f2f2f2;
}

.select-box.active .select-content {
  display: block;
}

.underLine {
  border-bottom: 2px solid #0080c1;
  width: 110px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
}

.fa-regular.fa-circle-check {
  font-size: 80px;
}

body {
  font-family: "Lato", sans-serif !important;
  overflow-x: hidden;
}
.custom-color {
  color: #0080c1;
}

.customIconColor {
  color: rgba(202, 204, 207, 1);
}
.customGray {
  background-color: rgba(97, 98, 100, 1);
}
.customOrange {
  background-color: rgba(255, 125, 26, 1);
  cursor: pointer;
  font-weight: 700 !important;
  font-size: 1.25rem;
}
.customGrayText {
  color: rgba(164, 164, 164, 1);
}
.uploadGray {
  background-color: rgba(97, 98, 100, 1);
  color: white;
  cursor: pointer;
}
td {
  color: rgba(82, 87, 92, 1);
  padding-top: 10px;
  padding-bottom: 10px;
}
.logoutOrange {
  background-color: rgba(252, 120, 39, 1) !important;
  color: white !important;
  font-weight: 700 !important;

}
.custom-chevron-right::after {
  content: "\203A";
  font-size: 35px;
  color: black;
}
.custom-chevron-down::after {
  content: "\203A";
  display: inline-block;
  transform: rotate(90deg);
  color: white;
}
.custom-chevron-right-sub::after {
  content: "\203A";
  font-size: 35px;
  color: black;
}
.custom-chevron-down-sub::after {
  content: "\203A";
  display: inline-block;
  transform: rotate(90deg);
}
.addUserColor {
  color: rgba(0, 128, 193, 1);
}
input:disabled {
  background-color: rgba(239, 239, 239, 1) !important;
}
.activateGreen {
  background-color: rgba(114, 191, 68, 1);
}
.deactivateRed {
  background-color: rgba(228, 53, 31, 1);
}
.switch {
  position: relative;
  display: inline-block;
  height: 16px;
  margin-top: 5px;
  width: 32px;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(228, 53, 31, 1);
  transition: 0.4s;
  border-radius: 32px;
}
.switch input {
  display: none;
}
.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50px;
}

.switch input:checked + .slider {
  background-color: rgba(114, 191, 68, 1);
}
.switch input:checked + .slider:before {
  transform: translate(15px);
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 8px;
  z-index: 1000;
}
.rolePopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  z-index: 1000;
}
.popupColor {
  background-color: #0080c1;
}
.popupBlueText {
  color: #0080c1;
}
.popupBlueBorder {
  border: 1px solid #0080c1;
}
.starlabel label:after {
  content: " *";
  color: red;
}
tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}
.placeholder-sm::placeholder {
  font-size: 0.8rem;
}
td,
th {
  padding-left: 20px;
}
.changePassword {
  background-color: #616264;
}
.resetSubmitOrange {
  background-color: #ff7d1a;
}

.basic_info {
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
}
.loto_family_font {
  font-family: Lato;
}
.gaping {
  gap: 18px;
  display: grid;
}
.main_gap {
  gap: 20px;
  display: grid;
  border-radius: 4px;
  box-shadow: 0px 0px 20px 10px #0000000d;
}

.cancel_addentity {
  width: 129px;
  height: 55px;
  padding: 14px 24px 14px 24px;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid #616264;
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: center;
}

.save_addentity {
  width: 100px;
  height: 55px;
  padding: 14px 24px 14px 24px;
  border-radius: 4px;
  background: #ff7d1a;
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: center;
}
.cs_gaping {
  gap: 10px;
  display: grid;
  margin: 20px;
  padding: 20px;
}

.horizontalline {
  border: 1px solid #ededed;
}
.addingpackage {
  width: 327px;
  height: 48px;
  top: 553px;
  left: 1511px;
  padding: 8px 14px 8px 14px;
  gap: 10px;
  border-radius: 4px;
  background: #616264;
  border: 1px solid #616264;
  color: #ffffff;
  font-family: Lato;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: center;
}
 
/* product & Entity start */

.addproductgap {
  gap: 10px;
  display: grid;
}

/* product & Entity end */

.fontforprod {
  font-size: 14px !important;
}

/* tooltip */
.switch-container {
  position: relative;
  display: inline-block;
}

.tooltip {
  visibility: hidden;
  background: #ffffff;
  color: #0080c1; /* Text color */
  font-family: Outfit; /* Font family */
  font-size: 12px; /* Font size */
  font-weight: 400; /* Font weight */
  line-height: 20px; /* Line height */
  text-align: center; /* Text alignment */
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -30px; /* Adjust the position to be above the toggle */
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  box-shadow: 0px 4px 20px 0px #0000001a; /* Box shadow */
}

.switch-container:hover .tooltip {
  visibility: visible;
}

/* product entity start */

.table_productentity {
  border-radius: 4px 0px 0px 0px;
  border: 1px solid #dbe1e7;
  box-shadow: 0px 2px 4px 0px #d8dce685;
}

/* product entity end */

/* audit log start*/

.audit-tooltip {
  position: relative;
  display: inline-block;
  outline: none;
}

.audit-tooltip .audit-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #e8f3fa;
  color: #0080c1;
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.audit-tooltip:hover .audit-trigger,
.audit-tooltip.is-open .audit-trigger,
.audit-tooltip:focus-visible .audit-trigger {
  background-color: #0080c1;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 128, 193, 0.3);
}

/* display:none (not visibility:hidden) so the hidden tooltip never widens the table's scroll area */
.audit-tooltip .audit-tooltiptext {
  --audit-arrow-left: 24px;
  display: none;
  flex-direction: column;
  position: fixed;
  z-index: 9999;
  width: 420px;
  max-width: calc(100vw - 16px);
  max-height: 65vh;
  padding: 0;
  overflow: visible;
  background-color: #fff;
  color: #1f2937;
  text-align: left;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
  white-space: normal;
  word-break: break-word;
  line-height: 1.45;
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: none;
  cursor: auto;
}

.audit-tooltip.is-open .audit-tooltiptext {
  display: flex;
  animation: auditTipIn 0.14s ease-out;
}

@keyframes auditTipIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.audit-tooltip .audit-tooltiptext::before {
  content: "";
  position: absolute;
  left: var(--audit-arrow-left);
  width: 12px;
  height: 12px;
  margin-left: -6px;
  transform: rotate(45deg);
  border: 1px solid #dbe3ea;
}

.audit-tooltip .audit-tooltiptext[data-placement="bottom"]::before {
  top: -7px;
  background-color: #0080c1;
  border-color: #0080c1;
}

.audit-tooltip .audit-tooltiptext[data-placement="top"]::before {
  bottom: -7px;
  background-color: #fff;
  border-top-color: transparent;
  border-left-color: transparent;
}

.audit-tooltip .audit-tooltiptext[data-placement="none"]::before {
  display: none;
}

.audit-tooltip .audit-tip-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #0080c1 0%, #0069a0 100%);
  color: #fff;
  border-radius: 11px 11px 0 0;
  flex-shrink: 0;
}

.audit-tooltip .audit-tip-heading {
  min-width: 0;
}

.audit-tooltip .audit-tip-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.audit-tooltip .audit-tip-meta {
  margin-top: 2px;
  font-size: 0.72rem;
  opacity: 0.9;
}

.audit-tooltip .audit-tip-meta i {
  margin-right: 2px;
}

.audit-tooltip .audit-tip-dot {
  margin: 0 5px;
  opacity: 0.7;
}

.audit-tooltip .audit-tip-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #ff7d1a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.audit-tooltip .audit-tip-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 10px 14px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.audit-tooltip .audit-tip-message {
  font-weight: 600;
  color: #1f2937;
}

.audit-tooltip .audit-tip-empty {
  color: #9ca3af;
  font-style: italic;
}

.audit-tooltip .audit-section + .audit-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
}

.audit-tooltip .audit-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

.audit-tooltip .audit-section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0080c1;
}

.audit-tooltip .audit-section.is-current .audit-section-title::before {
  background-color: #16a34a;
}

.audit-tooltip .audit-section.is-previous .audit-section-title::before {
  background-color: #9ca3af;
}

.audit-tooltip .audit-section.is-previous .audit-value {
  color: #6b7280;
}

.audit-tooltip .audit-row {
  display: grid;
  grid-template-columns: minmax(90px, 38%) 1fr;
  gap: 10px;
  padding: 4px 6px;
  border-radius: 6px;
}

.audit-tooltip .audit-row:nth-child(even) {
  background-color: #f8fafc;
}

.audit-tooltip .audit-row.is-full {
  grid-template-columns: 1fr;
}

.audit-tooltip .audit-label {
  color: #6b7280;
  font-weight: 500;
}

.audit-tooltip .audit-value {
  color: #111827;
  font-weight: 500;
}

.audit-tooltip .audit-row.is-changed {
  background-color: #fff7ed;
  box-shadow: inset 3px 0 0 #ff7d1a;
}

.audit-tooltip .audit-old {
  color: #b91c1c;
  text-decoration: line-through;
  opacity: 0.8;
}

.audit-tooltip .audit-arrow {
  margin: 0 5px;
  font-size: 0.65rem;
  color: #9ca3af;
}

.audit-tooltip .audit-new {
  color: #15803d;
  font-weight: 600;
}

.audit-tooltip .audit-row.is-stacked {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 6px;
}

.audit-tooltip .audit-row.is-stacked .audit-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #374151;
}

.audit-tooltip .audit-count {
  display: inline-block;
  min-width: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #e8f3fa;
  color: #0080c1;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.audit-tooltip .audit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.audit-tooltip .audit-chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.audit-tooltip .audit-chip.is-added {
  border-color: #bbf7d0;
  background-color: #dcfce7;
  color: #166534;
}

.audit-tooltip .audit-chip.is-removed {
  border-color: #fecaca;
  background-color: #fee2e2;
  color: #991b1b;
  text-decoration: line-through;
}

.audit-tooltip .audit-diff-title {
  margin: 2px 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.audit-tooltip .audit-chips + .audit-diff-title {
  margin-top: 8px;
}

.audit-tooltip .audit-diff-title.is-added {
  color: #15803d;
}

.audit-tooltip .audit-diff-title.is-removed {
  color: #b91c1c;
}

.audit-tooltip .audit-diff-title i {
  font-size: 0.6rem;
  margin-right: 2px;
}

.audit-tooltip .audit-more {
  margin-top: 8px;
}

.audit-tooltip .audit-more summary {
  display: inline-block;
  cursor: pointer;
  color: #0080c1;
  font-size: 0.72rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.audit-tooltip .audit-more summary::-webkit-details-marker {
  display: none;
}

.audit-tooltip .audit-more summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 4px;
  transition: transform 0.15s ease;
}

.audit-tooltip .audit-more[open] summary::before {
  transform: rotate(90deg);
}

.audit-tooltip .audit-more[open] summary {
  margin-bottom: 6px;
}

.audit-tooltip .audit-more .audit-chip {
  background-color: #fff;
}

/* audit log end*/


/* login error message */

.login-error-message {
  color: #e4351f;
}

.common-error-msg ul,
.server-error ul {
    padding-left: 1px;
}

.common-error-msg ul>li,
.server-error ul>li {
    list-style-type: none;
    padding: 0;
    text-align: left;
    color: #e4351f;
}

/* Login form captcha error */

.loginWhiteBg .captcha-field ul {
  display: none;
}

.loginWhiteBg .captcha-field .common-error-msg ul {
  display: block;
}

/* Header */
.head-nav {
  position: fixed;
  top: 0;
  width: 100%;
}

/* SideNav */

.side-nav {
  top: 5rem;
  margin-top: 0;
  position: fixed;
  z-index: 40;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 5rem);
  width: 20%;
  min-width: 220px;
  max-width: 280px;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem 1rem 1rem;
  border-right: 1px solid #e5e7eb;
}

.content-container {
  margin-left: 20%;
  margin-top: 5%;
}

.sidenavbar {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidenavbar > li {
  margin-bottom: 0.25rem;
}

.sidebar-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  margin-right: 0.5rem;
  border-radius: 9999px 0 0 9999px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-section-header.is-active {
  background-color: #0080c1 !important;
  color: #fff;
}

.sidebar-section-header.is-active .sidebar-section-title {
  color: #fff !important;
}

.sidebar-section-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.sidebar-section-title {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  margin: 0;
  color: #0080c1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-section-chevron {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: inherit;
  margin-left: auto;
}

.sidebar-section-body {
  padding: 0.25rem 0 0.5rem;
}

.sidebar-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.375rem 0.75rem 0.375rem 1.25rem;
  margin: 0.125rem 0.5rem 0.125rem 0;
  border-radius: 9999px 0 0 9999px;
  color: #0080c1;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sidebar-menu-item:hover,
.sidebar-menu-item.is-active {
  background-color: #eef8ff;
}

.sidebar-menu-item-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.sidebar-menu-item .submenu-arrow {
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: #374151;
}

.sidebar-sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.5rem;
  display: none;
}

.sidebar-sublist.is-open {
  display: block;
}

.sidebar-subitem {
  margin: 0.125rem 0.5rem 0.125rem 0;
}

.sidebar-link {
  display: block;
  padding: 0.375rem 0.75rem 0.375rem 1.5rem;
  border-radius: 9999px 0 0 9999px;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  background-color: #eef8ff;
  color: #0080c1;
}

.sidebar-logout-wrap {
  margin-top: 1.5rem;
  padding: 0 0.5rem;
  display: flex;
  justify-content: center;
}

.sidebar-logout-wrap .logoutOrange {
  width: 100%;
  max-width: 9rem;
}

.is-hidden {
  display: none !important;
}

.panel-heading {
  padding: 10px 15px;
}

.panel-body {
  padding: 0 15px;
}

.hide-collapse {
  display: none !important;
}

.panel-heading button span {
  font-weight: bold;
  margin-left: 5px; /* Adjust the spacing as needed */
}

.consign-table td[colspan="12"].no-data-to-show {
  /* Your styles for the no-data class */
  text-align: center;
  color: rgb(255, 125, 26);
  font-size: 20px;
  font-weight: 700;
}


/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/*successful operation*/

.success {
  color: green;
  font-size: 14px;
  font-weight: bold;
}


/* when no data found in table */
.table td[colspan="12"].no-data-to-show {
  text-align: center;
  color: rgb(255, 125, 26);
  font-size: 20px;
  font-weight: 700;
}

.delete-item {
  background-image: url(../images/delete.png);
  width: 32px;
  height: 32px;
  display: block !important;
  background-size: 32px 32px;
}

/* Submit button */
#submitbutton {
  cursor: pointer;
}

/* Download PDF fontn bold*/

.font-semibold {
  font-weight: 700 !important;
}

.calendar-Icon {
  max-height: 102% !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #aaa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tb-center {
  text-align: center;
}

/* --- Shared UI utilities (layout, navigation, feedback) --- */
.page-back-link {
  display: none !important;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.page-back-link:hover {
  color: #0080c1;
}

.page-back-link i {
  font-size: 1.875rem;
  line-height: 1;
}

.page-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
  padding: 0 1.25rem;
  margin-top: 0.5rem;
  background-color: #fff;
  width: 100%;
}

.page-header-title {
  display: flex;
  align-items: center;
}

.data-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.75rem;
}

.fade-out {
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.success-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.pagination-active {
  background-color: rgba(252, 120, 39, 1) !important;
  color: white !important;
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.app-main-wrapper {
  min-height: calc(100vh - 5rem);
  padding-top: 5rem;
}

.app-sidebar {
  width: 20%;
  min-width: 220px;
  max-width: 280px;
}

.app-content-column {
  display: flex;
  flex-direction: column;
  margin-left: 20%;
  width: 80%;
  min-width: 0;
  min-height: calc(100vh - 5rem);
}

.app-content-area {
  flex: 1 1 auto;
  padding-bottom: 1rem;
}

.app-footer {
  width: 100%;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .app-content-column {
    margin-left: 0;
    width: 100%;
  }

  .app-sidebar,
  .side-nav {
    width: 100%;
    max-width: none;
    position: relative !important;
    top: auto !important;
    margin-top: 0 !important;
    max-height: none !important;
  }
}

/* ============================================================
   UI Soft Refresh � design tokens + shared components (Batch 0)
   Soft polish only; keeps existing brand blues / orange accents.
   ============================================================ */
:root {
  --ps-blue: #0080c1;
  --ps-blue-dark: #006aa3;
  --ps-blue-soft: #e8f4fb;
  --ps-orange: #ff7d1a;
  --ps-orange-dark: #e86e12;
  --ps-gray-text: #52575c;
  --ps-gray-muted: #8c8c8c;
  --ps-gray-border: #e5e7eb;
  --ps-gray-bg: #f5f7fa;
  --ps-white: #ffffff;
  --ps-radius: 0.5rem;
  --ps-radius-sm: 0.375rem;
  --ps-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --ps-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --ps-danger: #e4351f;
  --ps-success: #72bf44;
  /* Shared typography — list + create/edit forms use the same scale */
  --ps-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ps-font-size-title: 1.2rem;
  --ps-font-size-section: 0.95rem;
  --ps-font-size-body: 0.8125rem;
  --ps-font-size-label: 0.75rem;
  --ps-font-size-hint: 0.7rem;
  --ps-line-height: 1.35;
}

/* Lock typography on all soft-refresh pages (list + forms) */
.page-shell,
.app-list-page,
.entity-form-page,
.dealer-form-page,
.role-form-page,
.role-base-page,
.dispatch-form-page,
.login-card,
.login-page {
  font-family: var(--ps-font);
  font-size: var(--ps-font-size-body);
  line-height: var(--ps-line-height);
  color: var(--ps-gray-text);
}

.page-shell .compTitle,
.app-list-page .compTitle,
.entity-form-page .compTitle,
.dealer-form-page .compTitle,
.role-form-page .compTitle,
.role-base-page .compTitle,
.dispatch-form-page .compTitle,
.list-user-page .compTitle,
.dealer-user-list .compTitle,
.product-list-page .compTitle {
  font-family: var(--ps-font);
  font-size: var(--ps-font-size-title) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f2937;
}

.entity-form-section-title,
.role-base-section-title,
.dispatch-section-title {
  font-family: var(--ps-font);
  font-size: var(--ps-font-size-section) !important;
  font-weight: 700;
  line-height: var(--ps-line-height);
}

.page-shell input,
.page-shell select,
.page-shell textarea,
.page-shell button,
.page-shell label,
.page-shell .form-control,
.page-shell .inputBox,
.page-shell .custom-select,
.app-list-page table th,
.app-list-page table td,
.entity-form-page .entity-field input,
.entity-form-page .entity-field select,
.entity-form-page .entity-field textarea,
.dealer-form-page .entity-field input,
.dealer-form-page .entity-field select,
.dealer-form-page .entity-field textarea,
.role-form-page #role,
.role-base-page #role_id,
.role-base-page .role-base-permission-item,
.dispatch-form-page .dispatch-input,
.dispatch-form-page .inputBox,
.dispatch-form-page .custom-select {
  font-family: var(--ps-font) !important;
}

.page-shell input,
.page-shell select,
.page-shell textarea,
.page-shell .form-control,
.page-shell .inputBox,
.page-shell .custom-select,
.entity-form-page .entity-field input.form-control,
.entity-form-page .entity-field select.form-control,
.dealer-form-page .entity-field input.form-control,
.dealer-form-page .entity-field select.form-control,
.role-form-page #role,
.role-base-page #role_id,
.dispatch-form-page .dispatch-input,
.dispatch-form-page .inputBox,
.dispatch-form-page .custom-select {
  font-size: var(--ps-font-size-body) !important;
}

.app-list-page table th,
.app-list-page .app-list-table thead th,
.app-list-page .dealer-user-table thead th,
.app-list-page .product-list-table thead th,
.app-list-page .list-user-table thead th,
.entity-form-page .entity-field-label,
.dealer-form-page .entity-field-label {
  font-size: var(--ps-font-size-label) !important;
}

.app-list-page table td,
.app-list-page .app-list-table td,
.app-list-page .dealer-user-table td,
.app-list-page .product-list-table td,
.app-list-page .list-user-table td {
  font-size: var(--ps-font-size-body) !important;
}

.entity-form-page .entity-field-hint,
.dealer-form-page .entity-field-hint {
  font-size: var(--ps-font-size-hint) !important;
}

.page-shell .cancelBtn,
.page-shell .savebtn,
.page-shell #submitbutton,
.page-shell input[type='submit'],
.page-shell .dispatchBtn,
.entity-form-actions .cancelBtn,
.entity-form-actions #submitbutton,
.role-base-actions .cancelBtn,
.role-base-actions .savebtn {
  font-family: var(--ps-font) !important;
  font-size: var(--ps-font-size-body) !important;
}

/* Page shell */
.page-shell {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding-bottom: 2rem;
}

.page-header-bar {
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow-sm);
  border: 1px solid var(--ps-gray-border);
}

.page-content-card {
  margin-top: 1rem;
  background: var(--ps-white);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow-sm);
  border: 1px solid var(--ps-gray-border);
  padding: 1.25rem;
}

.compTitle {
  letter-spacing: 0.02em;
}

/* Primary / secondary actions — refined UI, same brand colors */
.btn-primary-action,
.customOrange.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ps-orange) !important;
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: var(--ps-radius-sm);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-primary-action:hover {
  background-color: var(--ps-orange-dark) !important;
  color: #fff !important;
  text-decoration: none;
}

/* ============================================================
   Shared refined buttons (colors unchanged: orange primary, grey cancel)
   ============================================================ */
.cancelBtn,
a.cancelBtn,
button.cancelBtn,
.dispatchBtn,
.savebtn,
.submitBtn,
.resetSubmitOrange,
.addingpackage,
.page-shell #submitbutton,
.page-shell input[type='submit'],
.app-list-page .customOrange,
.app-list-page button.customOrange,
.dealer-add-btn,
.entity-form-actions #submitbutton,
.entity-form-actions input[type='submit'],
.entity-form-actions .dispatchBtn,
.entity-form-actions .savebtn,
.dispatch-form-actions #submitbutton,
.dispatch-form-actions input[type='submit'],
.dispatch-form-actions .dispatchBtn,
.role-base-actions #submitbutton,
.role-base-actions .savebtn,
.role-base-actions #submitsavebutton,
.login-card #submitbutton,
.login-card .login-submit-btn,
.login-card .resetSubmitOrange {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 1.25rem !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0.375rem !important;
  font-family: var(--ps-font) !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: none;
}

.cancelBtn::first-letter {
  text-transform: none;
}

/* Cancel / secondary — grey */
.cancelBtn,
a.cancelBtn,
button.cancelBtn,
.role-base-actions .cancelBtn,
.entity-form-actions .cancelBtn,
.dispatch-form-actions .cancelBtn {
  background-color: #616264 !important;
  color: #fff !important;
}

.cancelBtn:hover,
a.cancelBtn:hover,
button.cancelBtn:hover {
  background-color: #4f5052 !important;
  color: #fff !important;
  opacity: 1;
  text-decoration: none !important;
}

/* Primary submit — orange */
.dispatchBtn,
.savebtn,
.submitBtn,
.resetSubmitOrange,
.addingpackage,
.page-shell #submitbutton,
.page-shell input[type='submit'],
.app-list-page .customOrange,
.app-list-page button.customOrange,
.dealer-add-btn,
.entity-form-actions #submitbutton,
.entity-form-actions input[type='submit'],
.entity-form-actions .dispatchBtn,
.entity-form-actions .savebtn,
.dispatch-form-actions #submitbutton,
.dispatch-form-actions input[type='submit'],
.dispatch-form-actions .dispatchBtn,
.role-base-actions #submitbutton,
.role-base-actions .savebtn,
.role-base-actions #submitsavebutton,
.login-card #submitbutton,
.login-card .login-submit-btn,
.login-card .resetSubmitOrange {
  background-color: var(--ps-orange, #ff7d1a) !important;
  color: #fff !important;
}

.dispatchBtn:hover,
.savebtn:hover,
.submitBtn:hover,
.resetSubmitOrange:hover,
.addingpackage:hover,
.page-shell #submitbutton:hover,
.page-shell input[type='submit']:hover,
.app-list-page .customOrange:hover,
.dealer-add-btn:hover,
.entity-form-actions #submitbutton:hover,
.dispatch-form-actions #submitbutton:hover,
.role-base-actions #submitbutton:hover,
.role-base-actions #submitsavebutton:hover,
.login-card #submitbutton:hover,
.login-card .login-submit-btn:hover {
  background-color: var(--ps-orange-dark, #e86e12) !important;
  color: #fff !important;
  opacity: 1;
}

.cancelBtn:focus,
.dispatchBtn:focus,
.savebtn:focus,
#submitbutton:focus,
input[type='submit']:focus,
.resetSubmitOrange:focus,
.customOrange:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 128, 193, 0.18);
}

.cancelBtn:active,
.dispatchBtn:active,
.savebtn:active,
#submitbutton:active,
input[type='submit']:active {
  transform: translateY(1px);
}

.cancelBtn:disabled,
.dispatchBtn:disabled,
.savebtn:disabled,
#submitbutton:disabled,
input[type='submit']:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Login full-width primary */
.login-card #submitbutton,
.login-card .login-submit-btn,
.login-card .resetSubmitOrange {
  width: 100% !important;
  height: 2.75rem !important;
  min-height: 2.75rem;
  margin-top: 0.5rem !important;
  font-size: 0.875rem !important;
}

/* Action row alignment */
.entity-form-actions,
.dispatch-form-actions,
.role-base-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
}

.dispatch-form-actions .cancelBtn a {
  color: inherit !important;
  text-decoration: none !important;
}

.dispatch-form-actions .dispatch-submit-wrap {
  display: inline-flex;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.dispatch-form-actions .dispatch-submit-wrap #submitbutton,
.dispatch-form-actions .dispatch-submit-wrap input[type='submit'] {
  height: 2.5rem !important;
  padding: 0 1.25rem !important;
}

/* List toolbar: Search / Upload (orange) + Sample (grey) — same refined UI everywhere */
.ps-btn-search,
.ps-btn-upload,
.app-list-page .ps-btn-search,
.app-list-page .ps-btn-upload,
.page-shell .ps-btn-search,
.page-shell .ps-btn-upload {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 5.75rem;
  padding: 0 1.15rem !important;
  margin: 0 0 0 0.65rem !important;
  border: none !important;
  border-radius: 0.375rem !important;
  background-color: var(--ps-orange, #ff7d1a) !important;
  color: #fff !important;
  font-family: var(--ps-font) !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1 !important;
  text-transform: none !important;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.ps-btn-search:hover,
.ps-btn-upload:hover,
.app-list-page .ps-btn-search:hover,
.app-list-page .ps-btn-upload:hover {
  background-color: var(--ps-orange-dark, #e86e12) !important;
  color: #fff !important;
}

.ps-btn-sample,
.app-list-page .ps-btn-sample,
.page-shell .ps-btn-sample {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-sizing: border-box;
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 1rem !important;
  margin: 0 0 0 0.65rem !important;
  border: none !important;
  border-radius: 0.375rem !important;
  background-color: #616264 !important;
  color: #fff !important;
  font-family: var(--ps-font) !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1 !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ps-btn-sample:hover,
.app-list-page .ps-btn-sample:hover {
  background-color: #4f5052 !important;
  color: #fff !important;
}

.app-list-page #searchData,
.page-shell #searchData,
.app-list-page input[name='search'] {
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 2.25rem 0 0.75rem !important;
  font-family: var(--ps-font) !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  box-sizing: border-box;
  background: #fff;
}

.app-list-page .page-header-bar form,
.dealer-user-list .page-header-bar form,
.product-list-page .page-header-bar form {
  display: flex;
  align-items: center;
}

.app-list-page .dealer-upload-row input[type='submit'].ps-btn-upload,
.app-list-page .product-upload-card input[type='submit'].ps-btn-upload {
  margin-left: 0.65rem !important;
}

/* Filter / Go buttons on reports — same primary style as Search */
.goBtn,
button.goBtn,
input.goBtn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 5.75rem;
  padding: 0 1.15rem !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0.375rem !important;
  background-color: var(--ps-orange, #ff7d1a) !important;
  color: #fff !important;
  font-family: var(--ps-font) !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1 !important;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.goBtn:hover,
button.goBtn:hover,
input.goBtn:hover {
  background-color: var(--ps-orange-dark, #e86e12) !important;
  color: #fff !important;
}

/* Tables */
.data-table-wrapper {
  background: var(--ps-white);
  border-radius: var(--ps-radius);
  border: 1px solid var(--ps-gray-border);
  box-shadow: var(--ps-shadow-sm);
  padding: 0.5rem;
}

.data-table-wrapper table,
.consign-table table {
  border-collapse: collapse;
  width: 100%;
}

.data-table-wrapper thead th,
.consign-table thead th {
  background: var(--ps-gray-bg);
  border-bottom: 1px solid var(--ps-gray-border);
  color: #1c1c1c;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.875rem 0.75rem;
}

.data-table-wrapper tbody td,
.consign-table tbody td {
  border-bottom: 1px solid #f0f1f3;
  padding: 0.875rem 0.75rem;
  vertical-align: middle;
}

.data-table-wrapper tbody tr:hover,
.consign-table tbody tr:hover {
  background-color: var(--ps-blue-soft);
}

a.table-action-btn,
button.table-action-btn {
  display: inline-block;
  margin: 0 0.2rem 0.2rem 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ps-blue);
  background: var(--ps-blue-soft);
  border: 1px solid transparent;
  border-radius: var(--ps-radius-sm);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

a.table-action-btn:hover,
button.table-action-btn:hover {
  background: var(--ps-blue);
  color: #fff;
  text-decoration: none;
}

/* Form polish inside content cards */
.page-content-card .form-control,
.page-content-card input[type="text"],
.page-content-card input[type="password"],
.page-content-card input[type="email"],
.page-content-card select,
.page-content-card textarea {
  border: 1px solid #d1d5db;
  border-radius: var(--ps-radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-content-card .form-control:focus,
.page-content-card input[type="text"]:focus,
.page-content-card input[type="password"]:focus,
.page-content-card select:focus,
.page-content-card textarea:focus {
  border-color: var(--ps-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 128, 193, 0.15);
}

/* Flash / errors */
.server-error {
  border-radius: var(--ps-radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.common-error-msg {
  color: var(--ps-danger);
  font-size: 0.8125rem;
  display: block;
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
}

/* Auth card extensions */
.login-card-title {
  color: var(--ps-blue);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  margin: 0.25rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.login-hint {
  font-size: 0.8125rem;
  color: var(--ps-gray-muted);
  line-height: 1.45;
  margin: 0.75rem 0 1rem;
  text-align: left;
}

.login-back-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--ps-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
}

.login-back-link:hover {
  text-decoration: underline;
}

.login-card .login-submit-btn,
.login-card #submitbutton,
.login-card .popupColor,
.login-card .resetSubmitOrange {
  width: 100%;
  height: 2.75rem;
  border: none;
  border-radius: var(--ps-radius-sm);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  background-color: var(--ps-orange) !important;
  margin-top: 0.5rem;
}

.login-card .login-submit-btn:hover,
.login-card #submitbutton:hover {
  background-color: var(--ps-orange-dark) !important;
}

.login-card input[type="text"],
.login-card input[type="password"],
.login-card input[type="email"] {
  border-radius: var(--ps-radius-sm);
}

.login-rules {
  font-size: 0.75rem;
  color: var(--ps-gray-text);
  line-height: 1.5;
  margin: 0 0 1rem;
  padding: 0.75rem;
  background: var(--ps-gray-bg);
  border-radius: var(--ps-radius-sm);
  border: 1px solid var(--ps-gray-border);
}

.login-skip-link {
  display: block;
  text-align: right;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ps-blue);
  font-weight: 600;
}

.login-message {
  font-size: 0.9375rem;
  color: var(--ps-gray-text);
  line-height: 1.5;
  text-align: center;
  margin: 0.5rem 0 1.25rem;
}

/* Profile / accordion panels */
.profile-panel {
  background: var(--ps-white);
  border: 1px solid var(--ps-gray-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow-sm);
  margin-top: 1rem;
  padding-bottom: 1.5rem;
}

.profile-panel-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 0;
  cursor: pointer;
}

.profile-panel-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ps-blue);
  padding-left: 0.5rem;
}

/* Soften global zebra only inside data tables */
.data-table-wrapper tr:nth-child(even),
.consign-table tr:nth-child(even) {
  background-color: #fafbfc;
}

.data-table-wrapper tr:nth-child(odd),
.consign-table tr:nth-child(odd) {
  background-color: #fff;
}

/* Auth: neutralize form-level border/width classes inside login-input-wrap */
.login-card .login-input-wrap input.form-control,
.login-card .login-input-wrap input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.login-card .cap-forgot-detail img,
.login-card .login-captcha-row img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 4.375rem;
  max-height: 5rem;
  object-fit: contain;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #f9fafb;
  padding: 0.375rem;
  margin: 0;
  box-sizing: border-box;
}

.login-card .form-group {
  margin-bottom: 0;
}

.login-card label.required,
.login-card .login-captcha-row dt,
.login-card .login-captcha-row > label {
  display: none !important;
}

.pagination-btn {
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--ps-blue);
  color: var(--ps-blue);
  background: var(--ps-blue-soft);
}

/* List User � compact density (less scroll) */
.list-user-page .list-user-header.page-header-bar {
  min-height: 3rem;
  padding: 0.4rem 0.85rem;
  margin-top: 0.35rem;
}

.list-user-page .list-user-header .compTitle {
  font-size: 1.125rem;
}

.list-user-page .page-back-link i {
  font-size: 1.25rem;
}

.list-user-page .list-user-add-btn {
  height: 2.25rem;
  padding: 0 0.9rem;
  font-size: 0.875rem;
}

.list-user-page .list-user-table.page-content-card,
.list-user-page .list-user-table.data-table-wrapper {
  margin-top: 0.5rem;
  padding: 0.35rem;
}

.list-user-page .list-user-table thead th,
.list-user-page .list-user-table.consign-table thead th,
.list-user-page .list-user-table th {
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
}

.list-user-page .list-user-table tbody td,
.list-user-page .list-user-table.consign-table tbody td,
.list-user-page .list-user-table td {
  padding: 0.4rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.25;
}

.list-user-page .list-user-table a.table-action-btn {
  padding: 0.2rem 0.45rem;
  font-size: 0.6875rem;
  margin: 0 0.1rem 0.1rem 0;
}

.list-user-page .mt-5.mb-5 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.list-user-page .pagination-btn,
.list-user-page .numbers {
  height: 2rem;
  min-height: 2rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.8125rem;
}

/* Dealer/Retailer List Users � fit width, compact rows, no forced H-scroll */
.dealer-user-list .dealer-user-header.page-header-bar {
  min-height: 3rem;
  padding: 0.4rem 0.85rem;
  margin-top: 0.35rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dealer-user-list .dealer-user-header .compTitle {
  font-size: 1.125rem;
}

.dealer-user-list .dealer-user-card.page-content-card {
  margin-top: 0.5rem;
  padding: 0.75rem;
}

.dealer-user-list .dealer-upload-row {
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.dealer-user-list .dealer-user-table-wrap {
  width: 100%;
  overflow-x: visible;
}

.dealer-user-list .dealer-user-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.dealer-user-list .dealer-user-table th,
.dealer-user-list .dealer-user-table td {
  padding: 0.35rem 0.4rem !important;
  font-size: 0.75rem;
  line-height: 1.2;
  vertical-align: middle;
  border-bottom: 1px solid #f0f1f3;
  word-break: normal;
}

.dealer-user-list .dealer-user-table thead th {
  background: var(--ps-gray-bg, #f5f7fa);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.dealer-user-list .dealer-user-table th:nth-child(1),
.dealer-user-list .dealer-user-table td:nth-child(1) { width: 3%; }
.dealer-user-list .dealer-user-table th:nth-child(2),
.dealer-user-list .dealer-user-table td:nth-child(2) { width: 11%; }
.dealer-user-list .dealer-user-table th:nth-child(3),
.dealer-user-list .dealer-user-table td:nth-child(3) { width: 12%; }
.dealer-user-list .dealer-user-table th:nth-child(4),
.dealer-user-list .dealer-user-table td:nth-child(4) { width: 14%; }
.dealer-user-list .dealer-user-table th:nth-child(5),
.dealer-user-list .dealer-user-table td:nth-child(5) { width: 14%; }
.dealer-user-list .dealer-user-table th:nth-child(6),
.dealer-user-list .dealer-user-table td:nth-child(6) { width: 6%; }
.dealer-user-list .dealer-user-table th:nth-child(7),
.dealer-user-list .dealer-user-table td:nth-child(7) { width: 13%; }
.dealer-user-list .dealer-user-table th:nth-child(8),
.dealer-user-list .dealer-user-table td:nth-child(8) { width: 7%; }
.dealer-user-list .dealer-user-table th:nth-child(9),
.dealer-user-list .dealer-user-table td:nth-child(9) { width: 7%; }
.dealer-user-list .dealer-user-table th:nth-child(10),
.dealer-user-list .dealer-user-table td:nth-child(10) { width: 13%; }

.dealer-user-list .cell-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-user-list .cell-type {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible;
}

.dealer-user-list .cell-date {
  white-space: nowrap;
  font-size: 0.6875rem;
}

.dealer-user-list .dealer-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.dealer-user-list .dealer-action-icon {
  height: 1.15rem;
  width: 1.15rem;
  margin: 0;
}

.dealer-user-list .switch {
  margin-top: 0;
  height: 14px;
  width: 28px;
}

.dealer-user-list .slider:before {
  height: 10px;
  width: 10px;
}

.dealer-user-list .switch input:checked + .slider:before {
  transform: translate(13px);
}

.dealer-user-list .mt-5.mb-5 {
  margin-top: 0.65rem;
  margin-bottom: 0.65rem;
}

.dealer-user-list .pagination-btn,
.dealer-user-list .numbers {
  height: 2rem;
  min-height: 2rem;
  font-size: 0.8125rem;
}

/* Product list � single-row compact (Product Type / Date / Actions) */
.product-list-page .product-list-header.page-header-bar {
  min-height: 3rem;
  padding: 0.4rem 0.85rem;
  margin-top: 0.35rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-list-page .product-list-header .compTitle {
  font-size: 1.125rem;
}

.product-list-page .page-back-link i {
  font-size: 1.25rem;
}

.product-list-page .product-upload-card.page-content-card {
  padding: 0.65rem 0.75rem;
}

.product-list-page .product-list-table-wrap {
  width: 100%;
  overflow-x: visible;
  background: #fff;
  border: 1px solid var(--ps-gray-border, #e5e7eb);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 0.35rem;
}

.product-list-page .product-list-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.product-list-page .product-list-table th,
.product-list-page .product-list-table td {
  padding: 0.35rem 0.45rem !important;
  font-size: 0.75rem;
  line-height: 1.2;
  vertical-align: middle;
  border-bottom: 1px solid #f0f1f3;
}

.product-list-page .product-list-table thead th {
  background: var(--ps-gray-bg, #f5f7fa);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: left;
}

.product-list-page .product-list-table th:nth-child(1),
.product-list-page .product-list-table td:nth-child(1) { width: 5%; }
.product-list-page .product-list-table th:nth-child(2),
.product-list-page .product-list-table td:nth-child(2) { width: 18%; }
.product-list-page .product-list-table th:nth-child(3),
.product-list-page .product-list-table td:nth-child(3) { width: 18%; }
.product-list-page .product-list-table th:nth-child(4),
.product-list-page .product-list-table td:nth-child(4) { width: 14%; }
.product-list-page .product-list-table th:nth-child(5),
.product-list-page .product-list-table td:nth-child(5) { width: 12%; }
.product-list-page .product-list-table th:nth-child(6),
.product-list-page .product-list-table td:nth-child(6) { width: 18%; }
.product-list-page .product-list-table th:nth-child(7),
.product-list-page .product-list-table td:nth-child(7) { width: 15%; }

.product-list-page .cell-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-list-page .cell-type,
.product-list-page .cell-date {
  white-space: nowrap;
}

.product-list-page .cell-actions {
  white-space: nowrap;
}

.product-list-page .product-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  margin: 0 0.1rem;
  background: transparent;
  border: none;
  vertical-align: middle;
}

.product-list-page .product-action-icon {
  height: 1.15rem;
  width: 1.15rem;
  margin: 0;
}

.product-list-page .product-list-pagination {
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

.product-list-page .product-list-pagination .mt-5.mb-5 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-list-page .pagination-btn,
.product-list-page .numbers {
  height: 2rem;
  min-height: 2rem;
  font-size: 0.8125rem;
}

/* ============================================================
   Shared listing pattern � all list pages (app-list-page)
   Slightly larger readable font, compact single-row cells
   ============================================================ */
.app-list-page {
  padding-bottom: 1rem;
}

.app-list-page .page-header-bar {
  min-height: 3.25rem;
  padding: 0.5rem 1rem;
  margin-top: 0.35rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-list-page .page-header-bar .compTitle {
  font-size: 1.2rem;
}

.app-list-page .page-back-link i {
  font-size: 1.35rem;
}

.app-list-page .page-content-card {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
}

.app-list-page .app-list-table-wrap,
.app-list-page .data-table-wrapper,
.app-list-page .dealer-user-table-wrap,
.app-list-page .product-list-table-wrap,
.app-list-page .list-user-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--ps-gray-border, #e5e7eb);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.app-list-page table,
.app-list-page .app-list-table,
.app-list-page .dealer-user-table,
.app-list-page .product-list-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.app-list-page table th,
.app-list-page table td,
.app-list-page .app-list-table th,
.app-list-page .app-list-table td,
.app-list-page .dealer-user-table th,
.app-list-page .dealer-user-table td,
.app-list-page .product-list-table th,
.app-list-page .product-list-table td,
.app-list-page .list-user-table th,
.app-list-page .list-user-table td {
  padding: 0.5rem 0.55rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.35;
  vertical-align: middle;
  border-bottom: 1px solid #f0f1f3;
  word-break: normal;
  color: #52575c;
}

.app-list-page table thead th,
.app-list-page .app-list-table thead th,
.app-list-page .dealer-user-table thead th,
.app-list-page .product-list-table thead th,
.app-list-page .list-user-table thead th {
  background: var(--ps-gray-bg, #f5f7fa);
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #1c1c1c;
  text-align: left;
}

.app-list-page .cell-ellipsis {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-list-page .cell-date,
.app-list-page .cell-type,
.app-list-page .cell-nowrap,
.app-list-page td.cell-actions {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.app-list-page .dealer-actions,
.app-list-page .cell-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.app-list-page .dealer-action-icon,
.app-list-page .product-action-icon {
  height: 1.25rem;
  width: 1.25rem;
}

.app-list-page a.table-action-btn,
.app-list-page button.table-action-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
}

.app-list-page .mt-5.mb-5,
.app-list-page .product-list-pagination {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.app-list-page .pagination-btn,
.app-list-page .numbers {
  height: 2.15rem;
  min-height: 2.15rem;
  font-size: 0.8125rem;
}

/* Override earlier ultra-small listing fonts */
.dealer-user-list .dealer-user-table th,
.dealer-user-list .dealer-user-table td,
.product-list-page .product-list-table th,
.product-list-page .product-list-table td,
.list-user-page .list-user-table th,
.list-user-page .list-user-table td {
  font-size: 0.8125rem !important;
  padding: 0.5rem 0.55rem !important;
}

.dealer-user-list .dealer-user-table thead th,
.product-list-page .product-list-table thead th,
.list-user-page .list-user-table thead th {
  font-size: 0.75rem !important;
}

.dealer-user-list .dealer-user-header .compTitle,
.product-list-page .product-list-header .compTitle,
.list-user-page .list-user-header .compTitle {
  font-size: 1.2rem;
}


/* Dealer list — readable columns; scroll inside; sticky actions */
.dealer-user-list.app-list-page .dealer-user-card,
.dealer-user-list .dealer-user-card {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.dealer-user-list.app-list-page .dealer-user-table-wrap,
.dealer-user-list .dealer-user-table-wrap {
  max-width: 100%;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: visible;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.dealer-user-list.app-list-page .dealer-user-table,
.dealer-user-list .dealer-user-table {
  table-layout: auto !important;
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  border-collapse: collapse;
  box-sizing: border-box;
}

.dealer-user-list.app-list-page .dealer-user-table th,
.dealer-user-list.app-list-page .dealer-user-table td {
  box-sizing: border-box;
  overflow: visible;
  white-space: nowrap !important;
  word-break: keep-all !important;
  text-overflow: clip;
  padding: 0.55rem 0.75rem !important;
  font-size: 0.8125rem !important;
}

.dealer-user-list.app-list-page .dealer-user-table thead th {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 0.75rem !important;
}

.dealer-user-list.app-list-page .cell-ellipsis {
  max-width: 11rem;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dealer-user-list.app-list-page .cell-type,
.dealer-user-list.app-list-page .cell-date,
.dealer-user-list.app-list-page .cell-nowrap {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.dealer-user-list.app-list-page td.cell-actions,
.dealer-user-list.app-list-page th:last-child,
.dealer-user-list.app-list-page td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  white-space: nowrap !important;
  overflow: visible !important;
  min-width: 5.5rem;
  padding-right: 0.85rem !important;
  box-shadow: -6px 0 8px -6px rgba(0, 0, 0, 0.12);
}

.dealer-user-list.app-list-page thead th:last-child {
  background: var(--ps-gray-bg, #f5f7fa);
  z-index: 3;
}

.dealer-user-list.app-list-page tr:nth-child(even) td:last-child {
  background: #fafbfc;
}

.dealer-user-list.app-list-page .dealer-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  white-space: nowrap;
}

.dealer-user-list.app-list-page .dealer-action-icon {
  height: 1.2rem;
  width: 1.2rem;
  flex-shrink: 0;
}

.dealer-user-list.app-list-page .switch {
  flex-shrink: 0;
  margin-top: 0;
  height: 14px;
  width: 28px;
}

/* Listing pages — do not crush columns */
.app-list-page .page-content-card,
.app-list-page .app-list-table-wrap,
.app-list-page .data-table-wrapper {
  max-width: 100%;
  box-sizing: border-box;
}

.app-list-page .app-list-table-wrap,
.app-list-page .data-table-wrapper,
.app-list-page .dealer-user-table-wrap,
.app-list-page .product-list-table-wrap {
  overflow-x: auto !important;
}

.app-list-page table.app-list-table,
.app-list-page .app-list-table-wrap > table,
.app-list-page .data-table-wrapper > table,
.app-list-page .product-list-table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  table-layout: auto !important;
}

.app-list-page table th {
  white-space: nowrap !important;
}

/* Kill earlier crushed fixed % widths on dealer table */
.dealer-user-list .dealer-user-table th:nth-child(n),
.dealer-user-list .dealer-user-table td:nth-child(n) {
  width: auto !important;
}

.dealer-user-list .dealer-user-table-wrap {
  overflow-x: auto !important;
}

.dealer-user-list .dealer-user-table {
  table-layout: auto !important;
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
}
/* ============================================================
   ALL listing pages — same readable pattern as dealer list
   ============================================================ */
.app-list-page .app-list-table-wrap,
.app-list-page .data-table-wrapper,
.app-list-page .dealer-user-table-wrap,
.app-list-page .product-list-table-wrap,
.app-list-page .list-user-table,
.app-list-page .table_productentity {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.app-list-page table,
.app-list-page .app-list-table,
.app-list-page .dealer-user-table,
.app-list-page .product-list-table,
.app-list-page .list-user-table table,
.app-list-page .table_productentity table {
  table-layout: auto !important;
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  border-collapse: collapse;
}

.app-list-page table th,
.app-list-page table td {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible;
  text-overflow: clip;
  padding: 0.55rem 0.75rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.35;
  vertical-align: middle;
}

.app-list-page table thead th {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--ps-gray-bg, #f5f7fa);
}

.app-list-page .cell-ellipsis {
  max-width: 12rem;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-list-page .cell-date,
.app-list-page .cell-type,
.app-list-page .cell-nowrap {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Sticky Actions — ONLY when page opts in with .has-sticky-actions
   (e.g. wide dealer/user tables). Do NOT sticky on simple lists like roles. */
.app-list-page.has-sticky-actions table th:last-child,
.app-list-page.has-sticky-actions table td:last-child,
.app-list-page.has-sticky-actions table td.cell-actions {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  white-space: nowrap !important;
  overflow: visible !important;
  min-width: 4.5rem;
  padding-right: 0.85rem !important;
  box-shadow: -6px 0 8px -6px rgba(0, 0, 0, 0.12);
}

.app-list-page.has-sticky-actions table thead th:last-child {
  background: var(--ps-gray-bg, #f5f7fa);
  z-index: 3;
}

.app-list-page.has-sticky-actions table tr:nth-child(even) td:last-child,
.app-list-page.has-sticky-actions table tr:nth-child(even) td.cell-actions {
  background: #fafbfc;
}

.app-list-page.has-sticky-actions table tr:hover td:last-child,
.app-list-page.has-sticky-actions table tr:hover td.cell-actions {
  background: var(--ps-blue-soft, #e8f4fb);
}

.app-list-page .dealer-actions,
.app-list-page td.cell-actions,
.app-list-page td:last-child .flex {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.app-list-page .switch,
.app-list-page .switch-container {
  flex-shrink: 0;
  margin-top: 0 !important;
}

.app-list-page img[src*='edit.png'],
.app-list-page img[src*='delete.png'],
.app-list-page .dealer-action-icon,
.app-list-page .product-action-icon {
  height: 1.2rem;
  width: 1.2rem;
  flex-shrink: 0;
}

.app-list-page a.table-action-btn,
.app-list-page button.table-action-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Table icon actions — never style as filled primary buttons */
.app-list-page .cell-actions button,
.app-list-page td.cell-actions button,
.page-shell .cell-actions button,
.page-shell .deleteRoleButton,
.app-list-page .deleteRoleButton,
.page-shell button.deleteRoleButton,
.app-list-page .table-icon-btn,
.page-shell .table-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0.2rem !important;
  margin: 0 0.2rem 0 0 !important;
  border: none !important;
  border-radius: 0.25rem !important;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  line-height: 1 !important;
  font-size: inherit !important;
}

.app-list-page .cell-actions button img,
.page-shell .cell-actions button img,
.page-shell .deleteRoleButton img,
.app-list-page .deleteRoleButton img,
.app-list-page .table-icon-btn img,
.page-shell .table-icon-btn img {
  display: block !important;
  height: 1.35rem !important;
  width: 1.35rem !important;
  max-width: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.app-list-page .cell-actions button:hover,
.page-shell .deleteRoleButton:hover,
.app-list-page .table-icon-btn:hover {
  background-color: rgba(255, 125, 26, 0.12) !important;
}

/* Search toolbar: input + Search button perfectly aligned */
.app-list-page .page-header-bar {
  align-items: center;
}

.app-list-page .page-header-bar form,
.app-list-page #roleFilter,
.app-list-page #userFilter,
.app-list-page #productFilter,
.app-list-page #locationFilter {
  display: flex;
  align-items: center;
  margin: 0;
}

.app-list-page .page-header-bar form > .relative,
.app-list-page #roleFilter > .relative,
.app-list-page #userFilter .relative,
.app-list-page #productFilter .relative,
.app-list-page #locationFilter .relative,
.app-list-page #locationFilter .form-group.relative {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem;
  margin: 0;
}

.ps-btn-search,
.app-list-page .ps-btn-search,
.page-shell .ps-btn-search {
  margin: 0 !important;
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  flex-shrink: 0;
}

.app-list-page #searchData,
.page-shell #searchData,
.app-list-page input[name='search'] {
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  margin: 0 !important;
}

.app-list-page .page-header-bar .customOrange,
.app-list-page .page-header-bar button.customOrange,
.app-list-page .dealer-add-btn {
  height: 2.5rem !important;
  min-height: 2.5rem !important;
}

/* List locations — compact Receiver with View more */
.app-list-page td.receiver-cell {
  white-space: normal !important;
  max-width: 16rem;
  min-width: 10rem;
  vertical-align: top;
}

.app-list-page .receiver-more {
  display: block;
  line-height: 1.35;
}

.app-list-page .receiver-text {
  display: inline;
  word-break: break-word;
  white-space: normal !important;
}

.app-list-page .receiver-full.is-hidden,
.app-list-page .receiver-preview.is-hidden {
  display: none !important;
}

.app-list-page .receiver-toggle {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ps-blue, #0080c1);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.app-list-page .receiver-toggle:hover {
  text-decoration: underline;
}

/* Add/Edit Entity form — compact layout + Select2 receiver */
.entity-form-page .page-header-bar {
  min-height: 3.25rem;
  padding: 0.5rem 1rem;
}

.entity-form-page .compTitle {
  font-size: 1.2rem;
}

.entity-form-card.page-content-card {
  padding: 1rem 1.25rem 0.75rem;
  margin-top: 0.75rem;
}

.entity-form-section-title {
  color: var(--ps-blue, #0080c1);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ps-gray-border, #e5e7eb);
}

.entity-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.entity-form-page .entity-field {
  margin-bottom: 0;
  width: 100%;
}

.entity-form-page .entity-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #52575c;
  margin-bottom: 0.35rem;
}

.entity-form-page .entity-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  color: #8c8c8c;
}

.entity-form-page .entity-input,
.entity-form-page .entity-field input.form-control,
.entity-form-page .entity-field select.form-control,
.entity-form-page .entity-field textarea.form-control,
.entity-form-page .entity-field input[type='text'],
.entity-form-page .entity-field input[type='email'],
.entity-form-page .entity-field input[type='password'],
.entity-form-page .entity-field input[type='number'],
.entity-form-page .entity-field select,
.entity-form-page .entity-field textarea,
.entity-form-page .entity-field #locationName,
.entity-form-page .entity-field #sapCode,
.entity-form-page .entity-field #gstin,
.entity-form-page .entity-field #address,
.entity-form-page .entity-field #city,
.entity-form-page .entity-field #sgln,
.entity-form-page .entity-field #state,
.entity-form-page .entity-field #phone,
.entity-form-page .entity-field #pincode,
.entity-form-page .entity-field #type,
.entity-form-page .entity-field #country,
.entity-form-page .entity-field #productName,
.entity-form-page .entity-field #genericName,
.entity-form-page .entity-field #code,
.entity-form-page .entity-field #plant_id,
.entity-form-page .entity-field #remark,
.entity-form-page .entity-field #strength,
.entity-form-page .entity-field #dosage_form,
.entity-form-page .entity-field #countryName,
.entity-form-page .entity-field #countryCode,
.entity-form-page .entity-field #countryStandardCode,
.entity-form-page .entity-field #discrepencyDays,
.entity-form-page .entity-field #userName,
.entity-form-page .entity-field #emailId,
.entity-form-page .entity-field #password,
.entity-form-page .entity-field #confirmPassword,
.entity-form-page .entity-field #locationId,
.entity-form-page .entity-field #reconcilation_date,
.entity-form-page .entity-field #stock_taking_from,
.entity-form-page .entity-field #stock_taking_to,
.entity-form-page .entity-field #module {
  width: 100% !important;
  max-width: 100% !important;
  height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 0.75rem !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  font-family: var(--ps-font) !important;
  box-sizing: border-box;
  background: #fff;
}

/* Address as single-line field — placeholder vertically centered like City/State */
.entity-form-page .entity-field #address,
.entity-form-page #address {
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  max-height: 2.5rem !important;
  padding: 0 0.75rem !important;
  line-height: 2.4rem !important;
  overflow: hidden;
  resize: none;
}

.entity-form-page #address::placeholder {
  color: #9ca3af;
  opacity: 1;
  line-height: normal;
}

.entity-form-page .packaging_level,
.entity-form-page input[name='size[]'],
.entity-form-page input[name='gtin[]'],
.entity-form-page #gtin1,
.entity-form-page #packaging_level1 {
  width: 100% !important;
  max-width: 100% !important;
  height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 0.75rem !important;
  font-size: var(--ps-font-size-body, 0.8125rem) !important;
  font-family: var(--ps-font) !important;
  box-sizing: border-box;
}

.entity-form-page .package-wrapper .flex,
.entity-form-page .wrapper_addtext .flex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.entity-form-page .package-wrapper .wrapper_addtext {
  flex: 1 1 auto;
  min-width: 0;
}

.entity-form-grid.packaging-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .entity-form-grid.packaging-grid {
    grid-template-columns: 1fr;
  }
}

.entity-form-page #addRow,
.entity-form-page .addingpackage {
  height: 2.35rem;
  padding: 0 1rem;
  font-size: var(--ps-font-size-body, 0.8125rem);
  border-radius: 0.375rem;
}

.entity-form-page .entity-field-receiver {
  grid-column: 1 / -1;
}

.entity-form-page .receiver-select-wrap {
  width: 100%;
}

.entity-form-page #receiver {
  width: 100% !important;
  min-height: 2.5rem;
}

.entity-form-page .select2-container {
  width: 100% !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple {
  min-height: 2.75rem;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0.35rem 2rem 0.35rem 0.4rem;
  background: #fff !important;
}

.entity-form-page .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--ps-blue, #0080c1) !important;
  box-shadow: 0 0 0 3px rgba(0, 128, 193, 0.12);
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.25rem;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--ps-blue-soft, #e8f4fb) !important;
  border: 1px solid #b6d9ec !important;
  color: var(--ps-blue, #0080c1) !important;
  border-radius: 0.375rem !important;
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
  margin: 0.15rem 0.25rem 0.15rem 0 !important;
  padding: 0.3rem 0.55rem 0.3rem 1.55rem !important;
  position: relative !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  float: none !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  padding: 0 !important;
  cursor: default;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 1.35rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-right: none !important;
  background: transparent !important;
  color: var(--ps-blue, #0080c1) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  text-align: center !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
  background-color: rgba(0, 128, 193, 0.12) !important;
  color: #006aa3 !important;
  outline: none !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
  display: inline-block;
}

/* Kill the nested "input box inside Select2" look */
.entity-form-page .select2-container--default .select2-selection--multiple .select2-search,
.entity-form-page .select2-container--default .select2-selection--multiple .select2-search--inline,
.page-shell .select2-selection--multiple .select2-search--inline {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-search__field,
.entity-form-page .receiver-select-wrap .select2-search__field,
.entity-form-page .entity-field .select2-search__field,
.page-shell .select2-selection--multiple .select2-search__field,
.page-content-card .select2-selection--multiple .select2-search__field {
  width: 12rem !important;
  min-width: 8rem !important;
  max-width: 100% !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  margin: 0.15rem 0 !important;
  padding: 0 0.35rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  font-size: 0.8125rem !important;
  font-family: var(--ps-font) !important;
  line-height: 1.75rem !important;
  color: #374151 !important;
}

.entity-form-page .select2-container--default .select2-selection--multiple .select2-search__field:focus,
.page-shell .select2-selection--multiple .select2-search__field:focus,
.page-content-card .select2-selection--multiple .select2-search__field:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.entity-form-page .select2-dropdown {
  border-color: #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
}

.entity-form-page .select2-results__option--highlighted[aria-selected] {
  background-color: var(--ps-blue, #0080c1) !important;
}

.entity-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ps-gray-border, #e5e7eb);
}

@media (max-width: 768px) {
  .entity-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Dealer / retailer user form — reuse entity compact layout */
.dealer-form-page .entity-field input.form-control,
.dealer-form-page .entity-field select.form-control,
.dealer-form-page .entity-field textarea.form-control,
.dealer-form-page .entity-field #userName,
.dealer-form-page .entity-field #userId,
.dealer-form-page .entity-field #emailId,
.dealer-form-page .entity-field #password,
.dealer-form-page .entity-field #confirmPassword,
.dealer-form-page .entity-field #phone_number,
.dealer-form-page .entity-field #address,
.dealer-form-page .entity-field #city,
.dealer-form-page .entity-field #state,
.dealer-form-page .entity-field #country,
.dealer-form-page .entity-field #pincode,
.dealer-form-page .entity-field #manufId,
.dealer-form-page .entity-field #TypeUser,
.dealer-form-page .entity-field #entityType,
.dealer-form-page .entity-field #locationId,
.dealer-form-page .entity-field #country_code {
  width: 100% !important;
  max-width: 100% !important;
  height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem !important;
  box-sizing: border-box;
  background: #fff;
}

.dealer-form-page .dealer-phone-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.dealer-form-page .dealer-country-code,
.dealer-form-page .entity-field #country_code {
  width: 5.5rem !important;
  max-width: 5.5rem !important;
  flex: 0 0 5.5rem;
}

.dealer-form-page .dealer-phone-row #phone_number {
  flex: 1 1 auto;
  min-width: 0;
}

.dealer-form-page .entity-field-checks {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
}

.dealer-form-page .dealer-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  min-height: 2.5rem;
}

.dealer-form-page .dealer-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #52575c;
  font-weight: 500;
  cursor: pointer;
}

.dealer-form-page .dealer-check-label input {
  width: auto !important;
  height: auto !important;
  margin: 0;
}

/* Destination autofill fields — same highlight as address */
.dealer-form-page #address,
.dealer-form-page #city,
.dealer-form-page #state,
.dealer-form-page #country,
.dealer-form-page #pincode,
.dealer-form-page #userId[readonly] {
  background: #f3f4f6 !important;
  color: #52575c;
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  max-height: 2.5rem !important;
  padding: 0 0.75rem !important;
  line-height: 2.4rem !important;
  overflow: hidden;
  resize: none;
}

.dealer-form-page #address::placeholder,
.dealer-form-page #city::placeholder,
.dealer-form-page #state::placeholder,
.dealer-form-page #country::placeholder,
.dealer-form-page #pincode::placeholder {
  color: #9ca3af;
  opacity: 1;
  line-height: normal;
}

.dealer-form-page .select2-container--default .select2-selection--single {
  height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
}

.dealer-form-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2.4rem !important;
  padding-left: 0.75rem !important;
  font-size: 0.8125rem !important;
  color: #374151;
}

.dealer-form-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.4rem !important;
}

/* Add / Edit Role — compact single-field form */
.role-form-page .role-form-grid {
  grid-template-columns: minmax(0, 28rem);
}

.role-form-page .entity-field #role,
.role-form-page #role {
  width: 100% !important;
  max-width: 100% !important;
  height: 2.5rem !important;
  margin-top: 0 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem !important;
  box-sizing: border-box;
  background: #fff;
}

.role-form-page .entity-form-actions #submitbutton,
.role-form-page .entity-form-actions input[type='submit'] {
  width: auto !important;
  min-width: 6.5rem;
  height: 2.75rem !important;
  margin: 0 !important;
  padding: 0 1.5rem !important;
  border-radius: 0.375rem !important;
}

/* Role-base access page */
.role-base-page .page-header-bar {
  min-height: 3.25rem;
  padding: 0.5rem 1rem;
}

.role-base-page .compTitle {
  font-size: 1.2rem;
}

.role-base-card.page-content-card {
  padding: 1rem 1.25rem 0.85rem;
}

.role-base-section-title {
  color: var(--ps-blue, #0080c1);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ps-gray-border, #e5e7eb);
}

.role-base-list-title {
  margin-bottom: 0.85rem;
}

.role-base-role-select {
  max-width: 22rem;
  margin-bottom: 0.85rem;
}

.role-base-page .role-base-input,
.role-base-page #role_id {
  width: 100% !important;
  max-width: 100% !important;
  height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem !important;
  background: #fff;
  box-sizing: border-box;
}

.role-base-module-panel {
  border: 1px solid #dbe3ea;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.role-base-module-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--ps-blue, #0080c1);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.role-base-module-header label {
  margin: 0;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.role-base-module-header input[type='checkbox'] {
  margin: 0;
}

.role-base-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0.85rem;
  max-height: none;
  height: auto !important;
}

.role-base-permission-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-size: var(--ps-font-size-body);
  line-height: var(--ps-line-height);
  color: #374151;
  font-weight: 500;
  cursor: pointer;
}

.role-base-permission-item input {
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
}

.role-base-permission-item span {
  min-width: 0;
}

.role-base-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem 0.75rem;
  border-top: 1px solid #eef2f6;
}

.role-base-list {
  margin-top: 1rem;
}

.role-base-accordion {
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 0.5rem;
  margin: 0 0 0.65rem;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
}

.role-base-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  background: #f8fafc;
}

.role-base-accordion-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}

.role-base-chevron {
  margin: 0 !important;
  font-size: 0.85rem;
  color: #6b7280;
}

.role-base-accordion-body {
  padding: 0.65rem 0.75rem 0.75rem;
  border-top: 1px solid #eef2f6;
  cursor: default;
}

.role-base-module-panel--nested {
  margin-bottom: 0.15rem;
}

.role-base-empty {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.role-base-spinner,
.role-base-page .spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #ffffff;
  width: 40px;
  height: 40px;
  animation: roleBaseSpin 1s linear infinite;
}

@keyframes roleBaseSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .role-base-permission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .role-base-role-select {
    max-width: 100%;
  }
}

/* Dispatch consignment form — compact UI only */
.dispatch-form-page .page-header-bar {
  min-height: 3.25rem;
  padding: 0.5rem 1rem;
}

.dispatch-form-page .compTitle {
  font-size: 1.2rem;
}

.dispatch-form-card.page-content-card {
  padding: 1rem 1.25rem 0.85rem;
}

.dispatch-section-title {
  color: var(--ps-blue, #0080c1);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ps-gray-border, #e5e7eb);
}

.dispatch-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.dispatch-field {
  width: 100%;
  min-width: 0;
}

.dispatch-form-page .dispatch-field input.form-control,
.dispatch-form-page .dispatch-field select.form-control,
.dispatch-form-page .dispatch-input,
.dispatch-form-page .inputBox,
.dispatch-form-page .custom-select,
.dispatch-form-page #poNo,
.dispatch-form-page #consignmentNo,
.dispatch-form-page #city,
.dispatch-form-page #state,
.dispatch-form-page #pincode,
.dispatch-form-page #truckNo,
.dispatch-form-page #locationId {
  width: 100% !important;
  max-width: 100% !important;
  height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem !important;
  box-sizing: border-box;
  background: #fff;
}

/* Address is a readonly textarea — don't force single-line input height */
.dispatch-form-page #address {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0.55rem 0.75rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.4 !important;
  box-sizing: border-box;
  background: #f3f4f6 !important;
  color: #52575c;
  resize: vertical;
}

.dispatch-form-page #address::placeholder {
  color: #9ca3af;
  opacity: 1;
  line-height: 1.4;
}

/* Destination-driven SAP / GSTIN — same autofill highlight as address */
.dispatch-form-page #destinationSapCode,
.dispatch-form-page #destinationGstin {
  background: #f3f4f6 !important;
  color: #52575c;
}

.dispatch-form-page #destinationSapCode::placeholder,
.dispatch-form-page #destinationGstin::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.dispatch-scan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: start;
}

.dispatch-scan-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.dispatch-form-page #submit_code.receiveBtn,
.dispatch-form-page .submit-code {
  width: auto !important;
  min-width: 8rem;
  height: 2.5rem;
  margin: 0 !important;
  padding: 0 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.dispatch-codes-table {
  margin-top: 1rem;
  overflow-x: auto;
}

.dispatch-codes-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.dispatch-codes-table th,
.dispatch-codes-table td {
  padding: 0.55rem 0.65rem !important;
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

.dispatch-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ps-gray-border, #e5e7eb);
}

.dispatch-form-actions .cancelBtn a {
  color: inherit !important;
  text-decoration: none !important;
}

.dispatch-form-actions .dispatch-submit-wrap {
  display: inline-flex;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

@media (max-width: 768px) {
  .dispatch-form-grid,
  .dispatch-scan-grid {
    grid-template-columns: 1fr;
  }
}

/* Login screen — compact dashboard sign-in card */
.login-card.login-card--signin {
  max-width: 390px;
  padding: 2.15rem 1.65rem 1.85rem;
  border-radius: 0.75rem;
  background: #f7fafc;
}

.login-card--signin .login-card-logos {
  gap: 0.12rem;
  margin-bottom: 0.65rem;
}

.login-card--signin .login-card-logos img:first-child {
  height: 1.55rem;
}

.login-card--signin .login-card-logos img:last-child {
  height: 0.95rem;
}

.login-welcome-title {
  margin: 0;
  color: #252b31;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.login-card--signin .login-card-subtitle {
  margin: 0.12rem 0 0.8rem;
  color: #7a8188;
  font-size: 0.6875rem;
  font-weight: 400;
}

.login-field-label {
  display: block;
  margin: 0 0 0.22rem;
  color: #68727c;
  font-size: 0.625rem;
  font-weight: 600;
}

.login-card--signin .login-input-wrap {
  height: 2.4rem;
  margin-bottom: 0;
  background: #fff;
}

.login-card--signin .login-field {
  position: relative;
  margin-bottom: 1.05rem;
}

.login-card--signin .login-field--captcha {
  margin-bottom: 0.9rem;
}

.login-card--signin .login-input-wrap:focus-within,
.login-card--signin .login-captcha-row input[type="text"]:focus {
  border-color: #0080c1;
  box-shadow: 0 0 0 2px rgba(0, 128, 193, 0.14);
  outline: none;
}

.login-card--signin .login-options-row {
  margin: 0 0 0.65rem;
  color: #7a8188;
  font-size: 0.6875rem;
}

.login-card--signin .login-captcha-row {
  margin-bottom: 0;
}

.login-card--signin .login-captcha-row .cap-detail {
  display: grid;
  grid-template-columns: minmax(0, 12rem) 2.85rem;
  gap: 0.4rem;
  align-items: stretch;
}

.login-card--signin .login-captcha-row img,
.login-card--signin .login-captcha-row img[id*="captcha"] {
  grid-column: 1;
  grid-row: 1;
  width: 12rem;
  height: 3.5rem;
  min-height: 3.5rem;
  max-height: 3.5rem;
  padding: 0;
  object-fit: fill;
  background: #fff;
}

.login-card--signin .login-captcha-row input[type="hidden"] {
  display: none;
}

.login-card--signin .login-captcha-row input[type="text"] {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 2.4rem !important;
  background: #fff;
  font-size: 0.75rem;
}

.login-captcha-refresh {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 3.5rem;
  padding: 0;
  border: 1px solid #dbe2e8;
  border-radius: 0.375rem;
  background: #f8fafc;
  color: #63717d;
  cursor: pointer;
}

.login-captcha-refresh:hover {
  border-color: #0080c1;
  color: #0080c1;
}

.login-captcha-refresh:focus {
  outline: 2px solid rgba(0, 128, 193, 0.25);
  outline-offset: 1px;
}

.login-captcha-refresh svg {
  width: 0.9rem;
  height: 0.9rem;
}

.login-captcha-refresh.is-refreshing svg {
  animation: login-captcha-spin 0.7s linear infinite;
}

@keyframes login-captcha-spin {
  to {
    transform: rotate(360deg);
  }
}

.login-card--signin .login-submit-btn,
.login-card--signin .login-submit-btn.popupColor {
  height: 2.6rem;
  margin-top: 0.2rem;
  border-radius: 0.375rem;
  background: var(--ps-orange, #ff7d1a) !important;
  font-size: 0.75rem;
}

/* Errors sit in field gap with a little space under the input — no card growth */
.login-card--signin .login-field-error {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.22rem);
  z-index: 2;
  display: block;
  height: 0.78rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  color: #dc2626;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 0.78rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.login-card--signin .login-field-error ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-card--signin .login-field-error ul > li {
  margin: 0;
  padding: 0;
  line-height: 0.78rem;
}

.login-card--signin .login-submit-btn:hover {
  background: var(--ps-orange-dark, #e86a0c) !important;
}

.login-submit-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.login-submit-spinner {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: login-captcha-spin 0.7s linear infinite;
}

.login-card--signin .login-submit-btn.is-loading .login-submit-label {
  display: none;
}

.login-card--signin .login-submit-btn.is-loading .login-submit-loading {
  display: inline-flex;
}

.login-card--signin .login-submit-btn:disabled {
  cursor: wait;
  opacity: 0.8;
}

@media (max-width: 380px) {
  .login-card.login-card--signin {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Receive report filters */
.receive-report-filter-card.page-content-card {
  padding: 0;
  overflow: hidden;
}

.report-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--ps-gray-border, #e5e7eb);
  background: #fafbfc;
}

.report-filter-title {
  color: var(--ps-blue, #0080c1);
  font-size: 0.95rem;
  font-weight: 700;
}

.report-filter-subtitle {
  margin-top: 0.1rem;
  color: #7a8188;
  font-size: 0.72rem;
}

.report-filter-reset {
  flex-shrink: 0;
  color: var(--ps-blue, #0080c1);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.report-filter-reset:hover {
  text-decoration: underline;
}

.receive-report-filter-form {
  padding: 1rem;
}

.report-filter-error {
  margin: 0 0 0.5rem;
  color: var(--ps-danger, #e4351f);
  font-size: 0.75rem;
}

.report-filter-error:empty {
  display: none;
}

.receive-report-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.report-filter-field {
  min-width: 0;
}

.report-filter-field--wide {
  grid-column: span 2;
}

.report-filter-field label {
  display: block;
  margin-bottom: 0.3rem;
  color: #59636d;
  font-size: 0.72rem;
  font-weight: 600;
}

.receive-report-filter-form .report-filter-field .form-control {
  width: 100% !important;
  max-width: 100%;
  height: 2.5rem !important;
  margin: 0;
  padding: 0 0.7rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  background: #fff;
  color: #52575c;
  font-size: 0.78rem;
  box-sizing: border-box;
}

.receive-report-filter-form .report-filter-field .form-control:focus {
  border-color: var(--ps-blue, #0080c1) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 128, 193, 0.12);
}

.receive-report-filter-form .report-filter-field .report-filter-multi {
  width: 100%;
}

.receive-report-filter-form .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.receive-report-filter-form .select2-container--default .select2-selection--multiple {
  position: relative !important;
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  max-height: 2.5rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0 1.75rem 0 0.7rem !important;
  background: #fff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.receive-report-filter-form .select2-container--default.select2-container--focus .select2-selection--multiple,
.receive-report-filter-form .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: var(--ps-blue, #0080c1) !important;
  box-shadow: 0 0 0 2px rgba(0, 128, 193, 0.12);
}

.receive-report-filter-form .select2-selection--multiple .select2-selection__rendered {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  line-height: normal !important;
}

.receive-report-filter-form .select2-selection--multiple .select2-selection__choice.is-hidden-choice,
.receive-report-filter-form .select2-selection--multiple .select2-selection__choice {
  display: none !important;
}

.receive-report-filter-form .select2-selection--multiple .select2-selection-summary {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #374151 !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.receive-report-filter-form .select2-selection--multiple .select2-selection__clear {
  top: 50% !important;
  margin-top: 0 !important;
  transform: translateY(-50%);
  z-index: 3;
  right: 0.35rem !important;
}

.receive-report-filter-form .select2-selection--multiple .select2-search--inline {
  float: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2;
}

.receive-report-filter-form .select2-selection--multiple .select2-search__field,
.receive-report-filter-form .select2-container--default .select2-selection--multiple .select2-search__field,
.page-content-card.receive-report-filter-card .select2-selection--multiple .select2-search__field {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 1.5rem !important;
  min-height: 1.5rem !important;
  max-height: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.78rem !important;
  line-height: 1.5rem !important;
  color: #374151 !important;
  opacity: 0;
}

.receive-report-filter-form .select2-container--default.select2-container--open .select2-selection--multiple .select2-selection-summary {
  opacity: 0;
}

.receive-report-filter-form .select2-container--default.select2-container--open .select2-selection--multiple .select2-search__field {
  opacity: 1;
}

.receive-report-filter-form .select2-dropdown {
  border-color: #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.78rem;
  z-index: 20;
}

.report-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eef0f2;
}

.report-filter-actions .goBtn,
.report-filter-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  height: 2.4rem;
  padding: 0 1rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}

.report-filter-actions .goBtn {
  border: 1px solid var(--ps-orange, #ff7d1a);
  color: #fff;
  background: var(--ps-orange, #ff7d1a);
}

.report-filter-cancel {
  border: 1px solid #d1d5db;
  color: #59636d;
  background: #f3f4f6;
}

.report-filter-cancel:hover {
  color: #374151;
  background: #e5e7eb;
}

@media (max-width: 1024px) {
  .receive-report-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .report-filter-header {
    align-items: flex-start;
  }

  .report-filter-subtitle {
    display: none;
  }

  .receive-report-filter-grid {
    grid-template-columns: 1fr;
  }

  .report-filter-field--wide {
    grid-column: span 1;
  }
}
