.detailsContentPop {
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.required {
  color: red;
}

.detailsContentPop .modal-body {
  padding: 0% 10% 0% 10%;
  position: relative;
}

.header-line {
  text-align: center;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  padding: 5px 0;
  font-weight: bold;
}

.detailsContentPop .profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.detailsContentPop .field-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.detailsContentPop .field-label {
  font-weight: 600;
  color: #555;
}

.detailsContentPop .field-value {
  font-weight: 400;
  color: #222;
  max-width: 60%;
  text-align: right;
  word-break: break-word;
}

.detailsContentPop .aadhaar-photos {
  margin-top: 15px;
  text-align: center;
}

.detailsContentPop .aadhaar-photos img {
  max-width: 300px;
  height: 160px;
  margin: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.search-wrapper {
  display: flex;
  justify-content: flex-end;
  /* Align to the right */
  width: 100%;
}

.search-input {
  max-width: 250px;
  width: 100%;
}

.clickable-id {
  color: deepskyblue;
  font-weight: 800;
  cursor: pointer;
}

.clickAttach-id {
  color: deepskyblue;
  font-weight: 800;
  cursor: pointer;
}

.invoice-box {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  border: 2px solid #000;
}



.company-header img {
  height: 60px;
}

.section-title {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 5px;
  font-weight: bold;
  margin-top: 20px;
}

.client-details,
.item-table,
.totals {
  width: 100%;
  margin-top: 10px;
}



.comExpInvoice th,
.comExpInvoice td {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
}

.footer-comments,
.payment-details,
.footer-message {
  margin-top: 20px;
  text-align: center;
}

.signature-box {
  margin: 1% 1% 1% 0%;
}

.signature-line {
  margin-top: 60px;
  border-top: 1px solid #000;
  width: 200px;
}

.no-print {
  text-align: center;
  margin-top: 30px;
}

@media print {
  .no-print {
    display: none;
  }
}

.right_col {
  min-height: 90vh;
}

.printButton {
  height: 30px;
  padding: 0% 1% 0% 1%;
  margin: 0% 0% 0% 4%;
}

.centered-text {
  margin: 0 25%;
  text-align: center;
  flex-grow: 1;
  font-weight: 900;
}

@media (max-width: 768px) {
  .centered-text {
    margin: 0%;
    text-align: center;
    flex-grow: 1;
    font-weight: 900;
  }

  .right_col {
    min-height: 70vh;
  }
}

.toggle-icon {
  cursor: pointer;
}

.fa-chevron-down.rotate {
  transform: rotate(180deg);
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  /* Ensure submenus are collapsed by default */
}

.submenu-row {
  display: none;
}

.toggle-menu {
  cursor: pointer;
}

.btmSaveACS {
  display: none;
}

.btmUpdateACS {
  display: none;
}

.btmViewACS {
  display: none;
}

.thTable {
  background-color: #0E2E50;
  color: white;
}

#addMaterialB {
  background-color: white;
  width: 100%;
  height: 32px;
}

.removeMaterialBtn {
  background-color: white;
  width: 100%;
  height: 32px;
}

#filterBtm {
  height: 35px;
  width: 90px;
  text-align: left;
  padding: 1%;
}

@media (max-width: 576px) {
  .modal-dialog.modal-lg {
    width: 99% !important;
    margin: 1% auto;
    /* Optional: centers the modal */
  }

  #status label {
    text-align: center;
    width: 49%;
  }

  #addMaterialB {
    width: 25px;
    height: 30px;
    padding: 0% 0% 0% 0%;
    /* above modal background */
  }

  .removeMaterialBtn {
    width: 25px;
    height: 30px;
    padding: 0% 0% 0% 0%;
  }
}

.ui-autocomplete {
  z-index: 1051 !important;
  /* Bootstrap modal default is 1050 */
}


.orderRemove {
  border-bottom: none !important;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
}



/* ----------- TABLET + DESKTOP ----------- */
@media (min-width: 768px) {
  #sidebar-menu {
    height: 100vh;
    /* full screen height */
    overflow-y: auto;
    /* vertical scrollbar */
    overflow-x: hidden;
    scroll-behavior: auto;
  }

  /* Scrollbar styles */
  #sidebar-menu::-webkit-scrollbar {
    width: 10px;
  }

  #sidebar-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
  }

  #sidebar-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
  }
}



/* ---- Mobile & Tablet (default) ---- */
.mainPage {
  height: auto;
  /* adjust naturally */
  overflow-y: visible;
  overflow-x: hidden;
}

/* ---- Desktop only (min 1024px) ---- */
@media (min-width: 1024px) {
  .mainPage {
    height: 100vh;
    /* take full desktop screen height */
    overflow-y: auto;
    /* scrollable */
    overflow-x: hidden;
    scroll-behavior: auto;
  }
}

.invoice-box {
  background: #fff;
  padding: 20px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #000;
}

/* HEADER */
.company-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.company-logo img {
  max-height: 70px;
}

.company-info {
  text-align: center;
}

.company-info p {
  margin: 3px 0;
}

/* TITLE */
.section-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0;
}

/* CLIENT DETAILS */
.client-details {
  width: 100%;
  margin-bottom: 15px;
}

.client-details td {
  padding: 6px 4px;
}

/* ITEMS TABLE */
.comExpInvoice {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.comExpInvoice th,
.comExpInvoice td {
  border: 1px solid #000;
  padding: 8px;
  text-align: center;
}

.comExpInvoice th {
  background: #f2f2f2;
}

/* TOTALS */
.totals-table {
  width: 40%;
  margin-left: auto;
  margin-top: 15px;
  border-collapse: collapse;
}

.totals-table td {
  border: 1px solid #000;
  padding: 6px 10px;
  text-align: right;
}

.totals-table td:first-child {
  text-align: left;
}

.grand-total td {
  font-weight: bold;
  font-size: 14px;
}

/* FOOTER */
.footer-message {
  text-align: center;
  margin-top: 25px;
  font-weight: bold;
}

/* PRINT SETTINGS */
@page {
  size: A4;
  margin: 12mm;
}

@media print {
  body {
    margin: 0;
  }

  .modal-body {
    padding: 0;
  }

  .invoice-box {
    padding: 0;
  }

  .footer-message {
    position: fixed;
    bottom: 10mm;
    width: 100%;
  }
}

.pdf-mode {
  page-break-inside: avoid;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .company-header {
    font-size: smaller;
  }

  .client-details {
    font-size: smaller;
  }

  .comExpInvoiceSell {
    font-size: 5px !important;
    font-weight: 900 !important;
  }
   .comExpInvoice {
    font-size: 10px;
    font-weight: 900;
  }

  .totals-table {
    width: 100%;
  }
  .client-details td {
    padding: 0px 4px;
  }
  .section-title {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin: 0px 0;
}
    
.company-info {
    text-align: center;
    font-size: 9px;
}
.signature-box {
    margin: 1% 1% 1% 0%;
    font-size: 12px;
}
.footer-message {
    text-align: center;
    margin-top: 25px;
    font-weight: bold;
    font-size: 11px;
}
}

