** PAGES STYLES **

/* Page Container */

* {
  box-sizing: border-box !important;
}

.page-container {
  width: 816px;
  height: 1056px;
  margin: auto;
  position: relative;
  page-break-after: always;
}

.page-container .page-wrapper {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.page-container .icon {
  cursor: pointer;
  position: absolute;
  right: -18px;
  top: 0;
  display: none;
}

.paper:hover .page-container .icon {
  display: block;
}

.page-container .page {
  background-color: #fff;
  padding-top: 10px;
  height: 926px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-container .title-page-wrapper {
  height: 1056px;
}

.page-container .pdf-page-wrapper {
  overflow: hidden;
  height: 1000px; /* Slightly shorter to leave room for our custom footer */
}

.pdf-page-wrapper .pdf-content-scaler {
  transform: scale(0.97);
  transform-origin: top center;
  margin: 0 auto;
}

/* Title Page */
.title-page {
  background-color: #e6effe;
  overflow: hidden;
  position: relative;
  height: 1056px;
  width: 816px;
}

.title-page p {
  font-size: 14px;
}

.title-page .logo-container {
  width: 200px;
  height: 100px;
  margin-top: 15px;
  margin-left: 50px;
}

.title-page .logo-container img {
  width: 100%;
  height: 100%;
}

.title-page .title-info {
  margin-top: 100px;
  width: 500px;
  text-align: center;
  border: 1.5px solid #22262f;
  border-radius: 5px;
  padding: 20px 0;
  margin-left: 20px;
}

.title-page .title-info p {
  margin: 0 auto;
  color: #007183;
  text-align: left;
  margin-left: 100px;
  font-size: 16px;
  line-height: 20px;
}

.title-page .title-info .solicitation-number-p {
  display: flex;
  text-wrap: nowrap;
  gap: 3px;
}

.title-page .proposal-title {
  border: 1.5px solid #22262f;
  margin: 0 20px auto;
  border-radius: 5px;
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 120px;
}

.title-page .proposal-title input {
  text-align: center;
}

.title-page .proposal-title h2 {
  color: #073a83;
  /*text-transform: uppercase;*/
  text-shadow: 4px 4px 9px rgba(7, 58, 131, 0.35);
  font-weight: bold;
  line-height: 20px;
  margin-bottom: 8px;
  margin-top: 10px;
}

.title-page .proposal-title .date {
  color: #191f2b;
  margin-bottom: 0;
}

.title-page .submitted-to {
  border: 1.5px solid #22262f;
  padding: 20px;
  width: 380px;
  margin-left: auto;
  margin-bottom: 25px;
  border-radius: 5px;
  margin-right: 20px;
}

.title-page .submitted-to h3 {
  text-align: right;
  font-weight: bold;
  color: #0a2f7c;
  margin-bottom: 20px;
  line-height: 8px;
  margin-top: 15px;
}

.title-page .submitted-to p {
  color: #191f2b;
  margin-bottom: 12px;
  text-align: right;
  line-height: 10px;
}

.title-page .submitted-to input,
.title-page .submitted-by input {
  text-align: right;
}

.title-page .submitted-by {
  border: 1.5px solid #22262f;
  padding: 20px;
  width: 380px;
  margin-left: auto;
  border-radius: 5px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.title-page .submitted-by h3 {
  text-align: right;
  font-weight: bold;
  color: #0a2f7c;
  margin-top: 15px;
  line-height: 8px;
}

.title-page .submitted-by .company-name {
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 20px;
  line-height: 6px;
}

.title-page .submitted-by h4 {
  font-weight: bold;
  text-align: right;
  color: #0a2f7c;
  margin-bottom: 10px;
  line-height: 6px;
  margin-top: 18px;
}

.title-page .submitted-by p {
  color: #191f2b;
  margin-bottom: 12px;
  text-align: right;
  line-height: 6px;
  margin-top: 15px;
}

.title-page .customer-logo-container {
  position: absolute;
  z-index: 999;
  overflow: hidden;
  width: 300px;
  left: 16px;
  top: 923px;
}

.title-page .customer-logo-container img {
  width: 100%;
  height: 100%;
}

.main {
  position: relative;
}

.main-top {
  transform: scale(0.75) rotate(-45deg);
  top: -240px;
  left: 235px;
}

.main-bottom {
  transform: scale(0.75) rotate(135deg);
  top: 250px;
  left: -210px;
}

.rec1 {
  border: 8px solid #023882;
  width: 500px;
  height: 500px;
  border-radius: 15%;
  position: absolute;
  z-index: 99;
}

.rec2 {
  background-color: #023882;
  width: 350px;
  height: 350px;
  border-radius: 15%;
  position: absolute;
  top: 75px;
  left: 50px;
  z-index: 10;
}

.rec3 {
  background-color: #044fb4;
  width: 250px;
  height: 250px;
  border-radius: 15%;
  position: absolute;
  top: 330px;
  left: -114px;
}

.rec4 {
  width: 200px;
  height: 200px;
  position: absolute;
  border: 4px solid #1366cd;
  top: 210px;
  left: -91px;
  border-radius: 15%;
  z-index: 100;
}

.rec5 {
  width: 200px;
  height: 200px;
  position: absolute;
  border: 4px solid #1366cd;
  top: 100px;
  left: -71px;
  border-radius: 15%;
}

/* Transmitter Letter Page */
.transmitter-letter {
  background-color: #ffffff;
  font-size: 14px;
}

.transmitter-letter .title {
  margin: 10px;
  text-align: center;
}

.transmitter-letter .letter .to-section {
  display: flex;
  gap: 20px;
}

.transmitter-letter .to-section .to-info {
  flex-grow: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}
.transmitter-letter .to-section .to-info span {
  display: block;
}

.transmitter-letter .letter .to-section p {
  margin: 0;
}

.transmitter-letter p {
  color: #181c32 !important;
  line-height: 26px;
}

.transmitter-letter .letter p {
  text-align: left;
}

/* Blank Page */
.blank-page {
  background-color: #ffffff;
  height: 100%;
}

/* Table Of Contents Page */
.toc {
  margin-top: -10px;
  background-color: #ffffff;
}

.toc h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 28px;
  text-align: center;
}

.toc .toc-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -10px;
  padding: 0;
}

#paper {
  scroll-behavior: smooth;
}

.toc-link {
  width: 100%;
}

.toc-link > a.full-width-link {
  display: flex;
  width: 80%;
  margin: 2px auto;
  text-decoration: none;
  color: inherit;
}

.link-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-shrink: 1;
  font-size: 14px;
  padding-right: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.link-dots {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
}

.link-page {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
}
.toc-link .link-number {
  margin-right: 8px;
}

/* Sub TOC link styling */

.sub-toc-link .full-sub-toc-link {
  display: flex;
  margin: 10px 0 0 109px;
  margin-right: 10%;
  text-decoration: none;
  color: inherit;
}

.sub-toc-link .link-number {
  margin-right: 8px;
  font-size: 13px;
}

.sub-toc-link .link-title {
  flex-grow: 0;
  white-space: nowrap;
}

.sub-toc-link .link-dots {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 4px;
}

.sub-toc-link .link-page {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
  text-align: right;
}

/* Sub Sub TOC link styling */

.sub-sub-toc-link .full-sub-sub-toc-link {
  display: flex;
  margin: 10px 0 0 150px;
  margin-right: 10%;
  text-decoration: none;
  color: inherit;
}

.sub-sub-toc-link .link-number {
  margin-right: 8px;
  font-size: 13px;
}

.sub-sub-toc-link .link-title {
  flex-grow: 0;
  white-space: nowrap;
}

.sub-sub-toc-link .link-dots {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 4px;
}

.sub-sub-toc-link .link-page {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
  text-align: right;
}

/* TOC Style Variants */

/* Modern Style */
.toc-style-modern h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #2c3e50;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.toc-style-modern .toc-link-modern > a.full-width-link-modern,
.toc-style-modern .toc-link > a.full-width-link-modern {
  padding: 8px 0;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.2s ease;
}

.toc-style-modern .toc-link-modern > a.full-width-link-modern:hover,
.toc-style-modern .toc-link > a.full-width-link-modern:hover {
  background-color: #f5f5f5;
  padding-left: 10px;
}

.toc-style-modern .link-title-modern,
.toc-style-modern .link-title {
  font-size: 15px;
  font-weight: 500;
  color: #34495e;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.toc-style-modern .link-number-modern,
.toc-style-modern .link-number {
  font-weight: 600;
  color: #3498db;
  font-size: 15px;
}

.toc-style-modern .link-page-modern,
.toc-style-modern .link-page {
  font-weight: 600;
  color: #2c3e50;
  font-size: 15px;
}

.toc-style-modern .link-dots-modern,
.toc-style-modern .link-dots {
  color: #bdc3c7;
}

.toc-style-modern .sub-toc-link-modern .full-sub-toc-link-modern,
.toc-style-modern .sub-toc-link .full-sub-toc-link-modern {
  border-left: 2px solid #3498db;
  padding-left: 15px;
  margin-left: 120px;
}

.toc-style-modern .sub-sub-toc-link-modern .full-sub-sub-toc-link-modern,
.toc-style-modern .sub-sub-toc-link .full-sub-sub-toc-link-modern {
  border-left: 2px solid #95a5a6;
  padding-left: 15px;
  margin-left: 160px;
}

/* Minimal Style */
.toc-style-minimal h2 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 30px;
  color: #333;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.toc-style-minimal .toc-link-minimal > a.full-width-link-minimal,
.toc-style-minimal .toc-link > a.full-width-link-minimal {
  padding: 6px 0;
  border-bottom: none;
}

.toc-style-minimal .link-title-minimal,
.toc-style-minimal .link-title {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.5px;
}

.toc-style-minimal .link-number-minimal,
.toc-style-minimal .link-number {
  font-weight: 300;
  color: #999;
  font-size: 14px;
}

.toc-style-minimal .link-page-minimal,
.toc-style-minimal .link-page {
  font-weight: 300;
  color: #999;
  font-size: 14px;
}

.toc-style-minimal .link-dots-minimal,
.toc-style-minimal .link-dots {
  color: #ddd;
}

.toc-style-minimal .sub-toc-link-minimal .full-sub-toc-link-minimal,
.toc-style-minimal .sub-toc-link .full-sub-toc-link-minimal {
  margin-left: 120px;
}

.toc-style-minimal .sub-sub-toc-link-minimal .full-sub-sub-toc-link-minimal,
.toc-style-minimal .sub-sub-toc-link .full-sub-sub-toc-link-minimal {
  margin-left: 160px;
}

/* Classic Style */
.toc-style-classic h2 {
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  font-size: 30px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  border-bottom: 3px double #333;
  padding-bottom: 10px;
}

.toc-style-classic .toc-link-classic > a.full-width-link-classic,
.toc-style-classic .toc-link > a.full-width-link-classic {
  padding: 10px 0;
  border-bottom: 1px dotted #666;
}

.toc-style-classic .link-title-classic,
.toc-style-classic .link-title {
  font-size: 14px;
  font-weight: normal;
  color: #1a1a1a;
  font-family: 'Times New Roman', serif;
  font-style: italic;
}

.toc-style-classic .link-number-classic,
.toc-style-classic .link-number {
  font-weight: bold;
  color: #1a1a1a;
  font-size: 14px;
  font-family: 'Times New Roman', serif;
}

.toc-style-classic .link-page-classic,
.toc-style-classic .link-page {
  font-weight: bold;
  color: #1a1a1a;
  font-size: 14px;
  font-family: 'Times New Roman', serif;
}

.toc-style-classic .link-dots-classic,
.toc-style-classic .link-dots {
  color: #666;
}

.toc-style-classic .sub-toc-link-classic .full-sub-toc-link-classic,
.toc-style-classic .sub-toc-link .full-sub-toc-link-classic {
  margin-left: 120px;
  font-size: 13px;
}

.toc-style-classic .sub-sub-toc-link-classic .full-sub-sub-toc-link-classic,
.toc-style-classic .sub-sub-toc-link .full-sub-sub-toc-link-classic {
  margin-left: 160px;
  font-size: 12px;
}

/* Bold Style */
.toc-style-bold h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 36px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.toc-style-bold .toc-link-bold > a.full-width-link-bold,
.toc-style-bold .toc-link > a.full-width-link-bold {
  padding: 12px 0;
  background: linear-gradient(to right, #f8f8f8, transparent);
  border-left: 4px solid #000;
  padding-left: 10px;
  margin: 4px 0;
}

.toc-style-bold .link-title-bold,
.toc-style-bold .link-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toc-style-bold .link-number-bold,
.toc-style-bold .link-number {
  font-weight: 900;
  color: #000;
  font-size: 16px;
}

.toc-style-bold .link-page-bold,
.toc-style-bold .link-page {
  font-weight: 900;
  color: #000;
  font-size: 16px;
  background-color: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
}

.toc-style-bold .link-dots-bold,
.toc-style-bold .link-dots {
  color: #000;
  font-weight: 700;
}

.toc-style-bold .sub-toc-link-bold .full-sub-toc-link-bold,
.toc-style-bold .sub-toc-link .full-sub-toc-link-bold {
  margin-left: 120px;
  border-left: 3px solid #666;
  padding-left: 10px;
}

.toc-style-bold .sub-sub-toc-link-bold .full-sub-sub-toc-link-bold,
.toc-style-bold .sub-sub-toc-link .full-sub-sub-toc-link-bold {
  margin-left: 160px;
  border-left: 2px solid #999;
  padding-left: 10px;
}

/* Default Style (existing styles remain as fallback) */
.toc-style-default {
  /* Uses existing default styles */
}

/* Executive Summary Page */
.executive-summary {
  font-size: 10px;
  background-color: #ffffff;
}

.executive-summary .page .toc-heading > div {
  padding: 0;
}

.executive-summary .page .toc-heading p {
  font-size: 24px;
}

.executive-summary .title {
  font-size: 32px;
  text-align: left;
  color: hsl(222, 37%, 32%);
  vertical-align: top;
  padding: 0;
  font-weight: 600;
  margin-bottom: 10px;
}

.executive-summary .page p {
  text-align: justify;
  font-size: 14px;
  color: #181c32;
  line-height: 1.4;
}

/* Generated Content Page */
.generated-content {
  background-color: #ffffff;
  font-size: 14px;
}

.generated-content .page p {
  text-align: justify;
  font-size: 14px;
  color: #181c32;
  line-height: 1.4;
}

.generated-content .title {
  font-size: 32px;
  text-align: left;
  color: hsl(222, 37%, 32%);
  vertical-align: top;
  padding: 0;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Info Sheet Page */
.info-sheet {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
}

.info-sheet .title {
  font-size: 24px;
  color: #1f4e79;
  border-left: 11px double #1f4e79;
  padding-left: 8px;
  margin-bottom: 30px !important;
  text-align: left;
}
.info-sheet .page .toc-heading > div {
  padding: 0;
}

.info-sheet .page .toc-heading p {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.info-sheet .info-email:hover .btn-editmail {
  display: inline-block;
}

.info-sheet .btn-editmail {
  color: #fff;
  cursor: pointer;
  padding: 5px 5px;
  font-size: 14px;
  transition: all 0.2s ease-out;
  background-color: #1181b2;
  width: 50px;
  border-radius: 5px;
  border: none;
  margin-left: 50px;
  display: none;
}

.info-sheet .page-3 tr td:first-of-type {
  width: 25%;
}

.info-sheet .page-4 tr td:first-of-type {
  width: 35%;
}

.info-sheet table {
  margin: auto;
  width: 100%;
  border-collapse: collapse;
}

.info-sheet table,
.info-sheet table th,
.info-sheet table td {
  border: 1px solid #5b9bd5;
}

.info-sheet table .table-header {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  background-color: #deeaf6;
  color: #404040;
  line-height: 1.3;
  padding: 8px;
}

.info-sheet table th {
  text-align: center;
  padding: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #404040;
  background-color: #deeaf6;
}

.info-sheet table td {
  padding: 8px 10px;
  color: #404040;
  width: 50%;
  font-size: 13px;
  text-align: left;
}

.info-sheet .page-4 table td {
  padding: 5px 10px;
}

.info-sheet table ol {
  padding: 0 12px;
}

.info-sheet table td.keyPartners p,
.info-sheet .page-4 table td p {
  margin: 0 !important;
  color: #404040 !important;
  line-height: 1.2 !important;
}

.info-sheet table td ol li {
  margin: 14px 0;
}

.info-sheet .partners-img {
  margin-top: 20px;
  height: 550px;
  width: 100%;
  background-size: contain !important;
}

/* Reference Page */
.reference-page {
  padding: 5px 35px;
}

.reference-page .before-title {
  font-size: 40px;
}

.reference-page .toc-heading > div {
  padding-left: 10px;
}

.reference-page .title {
  margin-bottom: 10px;
  text-align: left;
  font-size: 26px;
  color: hsl(221, 37%, 32%);
  font-weight: 900;
  display: flex;
  align-items: center;
}

.reference-page .table {
  text-align: left;
  border-collapse: collapse;
}

.reference-page .table,
.reference-page tbody,
.reference-page tr,
.reference-page td {
  border: #efefef 1px solid;
  font-size: 12px;
}

.reference-page td {
  padding: 8px !important;
  width: 50%;
}

.reference-page th {
  padding: 10px;
}

.reference-page .table .table-heading {
  background-color: lightblue;
  text-transform: uppercase;
  font-weight: 600;
}

/* Quotation Page */
.quotation-page {
  padding: 5px 20px;
}

/* Quotation Pagination Styles - CSS handles page breaks like download functionality */
.quotation-page table {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* thead automatically repeats on every page in print/PDF */
.quotation-page thead {
  display: table-header-group;
}

/* Keep item + description together - works on table rows */
.quotation-page tr.quote-item-group {
  page-break-inside: avoid;
  break-inside: avoid;
}

/* Ensure item and description stay together */
.quotation-page tr.quote-item-group + tr.quote-item-group {
  page-break-before: avoid;
}

/* Address cards only on first page - prevent from breaking across pages */
.quotation-page tr.quote-address-cards-row {
  page-break-inside: avoid;
  break-inside: avoid;
  page-break-after: avoid;
}

/* Ensure address cards don't appear on subsequent pages by keeping them with header */
.quotation-page thead + tbody tr.quote-address-cards-row {
  page-break-before: auto;
}

/* Table column headers also repeat */
.quotation-page table thead {
  display: table-header-group;
}

/* Footer should not repeat - only on last page */
.quotation-page tr.quote-footer-row {
  page-break-inside: avoid;
  break-inside: avoid;
}

/* Keep footer and notes together on last page */
.quotation-page tr.quote-footer-row + tr {
  page-break-inside: avoid;
  break-inside: avoid;
}

/* Prevent tfoot from repeating */
.quotation-page tfoot {
  display: table-footer-group;
}

.quotation-page .quotation-header {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.quotation-page .quotation-header > div {
  flex-basis: 33%;
}

.quotation-page .company-info {
  text-align: left;
}

.quotation-page .company-info h2 {
  color: #bf3421;
}

.quotation-page .company-info p {
  margin: 0;
  line-height: 18px;
}

.quotation-page .quotation-info {
  text-align: right;
  display: flex;
  gap: 10px;
  justify-content: right;
  align-items: center;
}

.quotation-page .quotation-info > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quotation-page .quotation-contacts {
  border-radius: 2%;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.quotation-page .quotation-contacts > div {
  padding: 20px;
  flex-grow: 1;
  flex-basis: 33%;
}

.quotation-page .quotation-contacts h5 {
  text-align: left;
  color: #1181b2;
}

.quotation-page .quotation-for {
  background-color: #cfd8e6;
}

.quotation-page .quotation-ship {
  background-color: #bbc0c0;
}

.quotation-page .quotation-details {
  background-color: #b5c7e3;
}

.quotation-page .quotation-for-info,
.quotation-page .ship-to-info,
.quotation-page .quotation-details-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.quotation-page .quotation-table {
  margin-top: 25px;
}

.quotation-page .quotation-table p {
  color: #455560;
}

.quotation-page .quotation-table .table-header {
  display: flex;
  background-color: #f7f9f9;
  padding: 10px 5px;
  font-weight: bold;
  font-size: 12px;
}

.quotation-page .quotation-table .table-header div {
  flex-basis: 10%;
  text-align: center;
  border-left: 1px solid #dbd7d7;
}

.quotation-page .quotation-table .table-header div.coloumn-name {
  flex-basis: 25%;
  text-align: left;
  border: none;
}

.quotation-page .quotation-table .table-header div.coloumn-mpno {
  flex-basis: 15%;
}

.quotation-page .table-data .data {
  display: flex;
  background-color: #f1f0f0;
  padding: 10px 5px;
  font-size: 12px;
  color: #455560;
}

.quotation-page .table-data .data span {
  flex-basis: 10%;
  text-align: center;
}

.quotation-page .table-data .data span.item-name {
  flex-basis: 25%;
  text-align: left;
}

.quotation-page .table-data .data span.item-mpno {
  flex-basis: 15%;
}

.quotation-page .table-data .description {
  text-align: left;
  font-size: 12px;
}

.quotation-page .table-data .description p {
  margin: 0;
  padding: 6px 4px;
}

.quotation-page .quotation-for-info span,
.quotation-page .ship-to-info span,
.quotation-page .quotation-details-info span {
  font-size: 12px;
}

.quotation-page .quotation-summary {
  display: flex;
  justify-content: right;
  gap: 10px;
  border-top: 1px solid #f1f0f0;
  border-bottom: 2px solid #f1f0f0;
  padding: 15px 0;
  font-size: 12px;
  margin-top: 20px;
}

.quotation-page .quotation-summary > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quotation-page .quotation-summary > div .grand-total {
  font-weight: bold;
}

.quotation-page .quotation-summary > div span {
  text-align: right;
}

.quotation-page .quotation-summary > div.summary-values span {
  text-align: left;
}

.quotation-page .quotation-note {
  padding: 15px 0;
  text-align: left;
  font-weight: bold;
  font-size: 12px;
}
/* PDF Pages */

#jpedal {
  margin: auto;
}

/** Components Styles */

/* Page Header */
.page-header {
  height: 75px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 5px;
  box-sizing: border-box;
  position: relative;
}
.page-header .proposal-info {
  line-height: 18px;
  position: absolute;
}

.page-header .proposal-info span {
  text-transform: uppercase;
}

.page-header .header-logo {
  width: 100px;
  height: 75px;
  position: absolute;
}

.page-header .proposal-info span {
  display: block;
  /* text-align: left; */
  font-size: 12px;
  opacity: 0.75;
}

.page-header .header-dragHandle {
  position: absolute;
  top: -10px;
  left: 0;
  cursor: grab;
  font-size: 22px;
  z-index: 99;
  display: none;
}

.page-header .proposal-info:hover .header-dragHandle,
.page-header .header-logo:hover .header-dragHandle {
  display: block !important;
}

/* Page Footer */
.page-footer {
  height: 55px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 5px;
  opacity: 0.75;
  box-sizing: border-box;
}

.page-footer .page-number {
  text-align: center;
  width: 100%;
  position: relative;
  font-size: 16px;
  margin: 0;
}
.page-footer .page-number::before {
  content: '';
  height: 1px;
  width: 280px;
  background-color: #000;
  position: absolute;
  top: 40%;
  right: 60px;
}

.page-footer .page-number::after {
  content: '';
  height: 1px;
  width: 280px;
  background-color: #000;
  position: absolute;
  top: 40%;
  left: 60px;
}

/* Droppable Container */
.dragHandle {
  position: absolute;
  top: -5px;
  left: 0;
  cursor: grab;
  font-size: 22px;
  z-index: 99;
  display: none;
}

.deleteHandle {
  position: absolute;
  cursor: pointer;
  right: 0;
  top: -5px;
  color: red;
  font-size: 22px;
  z-index: 99;
  display: none;
}

.droppable-container:hover .dragHandle,
.droppable-container:hover .deleteHandle {
  display: block !important;
}

.table-container {
  width: 750px;
}

/* Initials */
.initials p {
  text-align: left;
}

/* Reduction */
.redaction {
  width: 100%;
  height: 100%;
  background-color: aqua;
}
/* Hide resize handle icons for redaction component but keep functionality */
.react-resizable {
  position: relative;
}
.react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-origin: content-box;
  box-sizing: border-box;
  background-image: none !important;
  background-position: bottom right;
  padding: 0 3px 3px 0;
  opacity: 0 !important;
  background-color: transparent !important;
}
.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
  transform: rotate(90deg);
  background-image: none !important;
}
.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  cursor: se-resize;
  background-image: none !important;
}
.react-resizable-handle-nw {
  top: 0;
  left: 0;
  cursor: nw-resize;
  transform: rotate(180deg);
  background-image: none !important;
}
.react-resizable-handle-ne {
  top: 0;
  right: 0;
  cursor: ne-resize;
  transform: rotate(270deg);
  background-image: none !important;
}
.react-resizable-handle-w,
.react-resizable-handle-e {
  top: 50%;
  margin-top: -10px;
  cursor: ew-resize;
  background-image: none !important;
}
.react-resizable-handle-w {
  left: 0;
  transform: rotate(135deg);
  background-image: none !important;
}
.react-resizable-handle-e {
  right: 0;
  transform: rotate(315deg);
  background-image: none !important;
}
.react-resizable-handle-n,
.react-resizable-handle-s {
  left: 50%;
  margin-left: -10px;
  cursor: ns-resize;
  background-image: none !important;
}
.react-resizable-handle-n {
  top: 0;
  transform: rotate(225deg);
  background-image: none !important;
}
.react-resizable-handle-s {
  bottom: 0;
  transform: rotate(45deg);
  background-image: none !important;
}

/* Sub TOC title */
.sub-toc-heading {
  position: relative;
}
.sub-toc-heading .assign-toc {
  display: none;
  cursor: pointer;
  position: absolute;
  top: -10px;
  left: 45%;
}

.sub-toc-heading .assign-toc svg {
  fill: #1181b2;
}

.sub-toc-heading:hover .assign-toc {
  display: inline-block;
}
.sub-toc-heading p {
  margin: 0 !important;
}

/* Sub Sub TOC title */
.sub-sub-toc-heading {
  position: relative;
}
.sub-sub-toc-heading .assign-sub-toc {
  display: none;
  cursor: pointer;
  position: absolute;
  top: -10px;
  left: 45%;
}

.sub-sub-toc-heading .assign-sub-toc svg {
  fill: #1181b2;
}

.sub-sub-toc-heading:hover .assign-sub-toc {
  display: inline-block;
}
.sub-sub-toc-heading p {
  margin: 0 !important;
}

/* Table */

.table {
  width: 100%;
}
table {
  width: 100% !important;
}

/* TOC External */

.toc-heading p {
  margin: 0 !important;
  color: hsl(221, 37%, 32%) !important;
  font-size: 22px;
  padding: 5px;
}

.toc-heading {
  display: inline-block;
  margin-bottom: 0;
}

/* TOC Title - Remove margin from p tags inside tocTitle */
.tocTitle p {
  margin: 0 !important;
}

/* TOC External Refference */
.reference-page .toc-heading p {
  font-size: 28px;
  text-transform: uppercase;
}

/* Recruitment Process Page Styles */
.recruitment-process-page {
  padding: 5px 8px !important;
  text-align: start !important;
  min-height: 925px !important;
  background: white !important;
  color: #000 !important;
  font-family: 'Calibri', sans-serif !important;
}

.recruitment-process-page .toc-heading {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.recruitment-process-page .toc-heading p {
  font-size: 28px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 5px !important;
}

/* Recruitment Process Page - Ensure inline styles are preserved in PDF */
.recruitment-process-page * {
  box-sizing: border-box;
}

/* Recruitment Process Page - Images */
.recruitment-process-page img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* Recruitment Process Page - Text content */
.recruitment-process-page p,
.recruitment-process-page div {
  color: #000 !important;
}

/* Recruitment Process Page - Ensure center alignment for reassignment sections */
.recruitment-process-page div[style*="textAlign: 'center'"],
.recruitment-process-page div[style*="text-align: center"] {
  text-align: center !important;
}

/* Recruitment Process Page - Section headers with orange background */
.recruitment-process-page div[style*="#fce4d6"] {
  background-color: #fce4d6 !important;
}

/* Recruitment Process Page - Green box for approach */
.recruitment-process-page div[style*="#b7ecb8"] {
  background-color: #b7ecb8 !important;
  border: 1px solid #548235 !important;
}

/* Recruitment Process Page - Blue headings */
.recruitment-process-page div[style*="#1f497d"] {
  color: #1f497d !important;
}

/* Recruitment Process Page - Ensure styles work in CKEditor editing mode */
.recruitment-process-page .ck-editor__editable *,
.recruitment-process-page .ck-editor__editable p,
.recruitment-process-page .ck-editor__editable div {
  color: #000 !important;
}

/* Recruitment Process Page - Preserve inline styles in CKEditor */
.recruitment-process-page .ck-editor__editable div[style*="textAlign: 'center'"],
.recruitment-process-page .ck-editor__editable div[style*="text-align: center"],
.recruitment-process-page .ck-editor__editable [style*="text-align: center"] {
  text-align: center !important;
}

.recruitment-process-page .ck-editor__editable div[style*="#fce4d6"],
.recruitment-process-page .ck-editor__editable [style*="#fce4d6"] {
  background-color: #fce4d6 !important;
}

.recruitment-process-page .ck-editor__editable div[style*="#b7ecb8"],
.recruitment-process-page .ck-editor__editable [style*="#b7ecb8"] {
  background-color: #b7ecb8 !important;
  border: 1px solid #548235 !important;
}

.recruitment-process-page .ck-editor__editable div[style*="#1f497d"],
.recruitment-process-page .ck-editor__editable [style*="#1f497d"] {
  color: #1f497d !important;
}

/* Editable P */
.p-editable-input {
  border: none;
  display: inline;
  font-family: inherit;
  padding: 0;
  background: transparent !important;
  font-size: 18px;
}
.company-logo-container {
  display: flex;
  align-items: Center;
  justify-content: center;
}

/* Print Media Query - Hide style selector in PDF/Print */
@media print {
  .no-print {
    display: none !important;
  }
  
  /* Also helps ensuring specific PDF generators ignore it */
  .noprint {
    display: none !important;
  }
}

/* Ensure the absolute positioning of the selector doesn't overlap title in editing mode */
.toc {
  position: relative;
}

/* Improved dot alignment using flexbox (optional enhancement) */
.full-width-link,
.full-width-link-modern,
.full-width-link-minimal,
.full-width-link-classic,
.full-width-link-bold {
  display: flex;
  align-items: baseline; /* aligns text bottom */
}

.link-title,
.link-title-modern,
.link-title-minimal,
.link-title-classic,
.link-title-bold {
  white-space: nowrap;
}

.link-dots,
.link-dots-modern,
.link-dots-minimal,
.link-dots-classic,
.link-dots-bold {
  flex-grow: 1; /* Takes up all available space */
  margin: 0 5px;
  height: 1em; /* pushes dots to bottom */
  /* Note: Keep JS-generated dots for now, but CSS flexbox ensures alignment */
}

/* Ensure the TOC list doesn't get pushed down too far by the header */
.toc .toc-list {
  margin-top: 10px; /* Reduced from potential negatives or defaults */
  padding-bottom: 20px;
}

/* Ensure individual links don't have massive margins that add up invisible height */
.toc li {
  margin-bottom: 0;
}