* {
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: "Segoe UI", sans-serif;
  margin: 0 0 50px 0;
  padding: 0;
  min-width: 280px;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}

    .awayMessage_topBar {
        background: red;
        color: white;
        text-align: center;
        padding: 10px;
        font-size: 12px;
        font-weight: bold;
        width: 100%;
    }

h1 {
  margin: 0;
}

p {
  margin: 0 0 10px 0px;
}


.dModelIframeWrapper {
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  border: 0;         /* Removes the default border */
  width: 100vw;       /* 100% of the viewport width */
  height: 100vh;      /* 100% of the viewport height */
  min-width: 100vw;       /* 100% of the viewport width */
  min-height: 100vh;
}

#closeIframe {
	cursor: pointer;
	position: inherit;
	top: 10px;
	right: 10px;
	z-index: 999;
	font-size: 3em;
}

#openPopOutChatButton {
	position: fixed;
	bottom: 5px;
	left: 10px;
	font-size: 20px;
	cursor: pointer;
	background: #4caf50;
	color: white;
	padding: 5px;
	border-radius: 30%;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0.5;
}

.popOutChat {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background: #171717;
	padding: 20px;
	z-index: 101;
	color: #e0e1e1;
}

.popOutChat #chatContainer {
	max-height: 50vh;
	display: block;
	min-height: 300px;
	padding: 15px 30px 0px 15px;
	box-sizing: border-box;
	background: #464545;
	border-radius: 8px 8px 0px 0px;
}

.popOutChatHeader {
  display: none;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.popOutChatHeaderJobInfo {
  flex-grow: 1;
}
#closePopOutChatButton {
	font-size: 26px;
	cursor: pointer;
}



.popOutChat .textAreaWrap {
	position: relative;
	background: #202020;
	border-radius: 0px 0px 10px 10px;
}

.popOutChat .emojionearea .emojionearea-editor {
  color: white;
  border: 0px solid transparent;
}


.popOutChat .emojionearea {
	background-color: transparent !important;
	border: 1px solid #3C3C3C !important;
}

.textAreaWrap {
	position: relative;
}

.addAttachmentPaperclip {
	position: absolute;
	top: 32px;
	right: 8px;
	color: #aea7a7;
	font-size: 17px;
	cursor: pointer;
}


button {
	background-color: #4caf50;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
	margin-bottom: 5px;
	margin-top: 5px;
}


button:disabled {
	pointer-events: none;
	opacity: 0.2;
	cursor: not-allowed;
}

.replyContainer button {
	position: absolute;
	bottom: 0px;
	right: 0px;
	display: block;
	margin: 0;
	padding: 2px;
	width: 32px;
	font-size: 24px;
	height: 50px;
}
.emojionearea-editor:focus::before{
	content:none !important;
}

#sendMessageButtonDisabled {
	pointer-events: none;
	opacity: 0.2;
	cursor: not-allowed;
}

.content {
  padding: 14px 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.progress-bar-container {
  width: 100%;
  height: 10px;
  background-color: #ddd;
  position: relative;
}

.progress-bar {
  height: 100%;
  background-color: #4caf50;
  width: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

/*
th:first-child,
td:first-child {
  width: 55%;
}

th:last-child,
td:last-child {
  width: 45%;
}

*/

th {
	
  background-color: #f2f2f2;
}


.clickableRows tbody tr {
  cursor: pointer;
} 

.clickableRows tbody tr td {
  width: 50vw;
}

.thumbnail-grid {
  display: none; /* was flex */
  flex-wrap: wrap;
  justify-content: center;
}



.thumbnail-grid img {
  width: 14%;
  margin: 10px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}


#toggleAttachmentsView,
#togglePageSummaryView {
	display: inline-block;
	margin: 0 0 0 5px;
	font-size: 18px;
    cursor: pointer;
}

.attachmentLine {
	display: flex;
	align-content: center;
	align-items: center;
}

.designAreaWrapper {
	display: flex;
	width: 100%;
	justify-content: center;
	margin-top: 10px;
}

img.full-screen {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100% !important;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.95);
  cursor: zoom-out;
  margin: 0;
}


.replyContainer .textarea-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
}

.replyToMessageBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid #d3d3d3;
  border-left: 4px solid #0084ff;
  border-radius: 6px;
  background: #f7fbff;
  font-size: 13px;
  color: #333;
}

#replyToMessageText {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#replyToMessageBar button {
  position: static;
  width: auto;
  height: auto;
  min-width: 28px;
  padding: 2px 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  background: #6c757d;
}

.replyContainer label {
  font-weight: bold;
  margin-bottom: 10px;
}

.replyContainer textarea {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  resize: vertical;
}
#insertTurnAroundTimesPopUpButton {
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	margin: -2px 0 0 0;
	display: block;
	user-select: none;
}

#insertTurnAroundTimesPopUpWrap {
	display: none;
	border: 1px solid black;
	padding: 10px;
	border-radius: 4px;
	position: relative;
	user-select: none;
}

#HTMLTableInputText {
  width: 100%;
  height: 50px;
  margin-bottom: 5px; 
}

#HTMLTableFormatButton, #HTMLTableCopyButton, #insertTurnaroundsOutput {
  display: none;
}

/* Responsive CSS */
@media screen and (max-width: 600px) {
  .replyContainer textarea {
    font-size: 14px;
  }
}

.replyContainer .attachFilesButt {
  background-color: white;
  border: 1px solid #4eb246;
  color: #4eb246;
  font-size: 14px;
  border-radius: 25px;
  padding: 10px 16px;
  cursor: pointer;
}
.replyContainer .attachFilesButt i {
  padding-right: 6px;
  font-size: 16px;
}
.supportedFiletypes {
  display: block;
  font-size: 14px;
  margin: 2px 0px 10px 0px;
}



.replyContainer .fileList {
  display: block;
  margin: 5px 0 5px 20px;
}

.replyContainer .fileList li {
  margin-left: 10px;
  list-style: none;
  border-bottom: 1px solid black;
  padding: 4px 0px;
}

.replyContainer .fileList li button {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-block;
  text-align: center;
  line-height: 24px;
  margin: 0;
  padding: 0;
  background-color: red;
  font-weight: 900;
}

.replyContainer #file-upload {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}



/* view job details table start */
.custom-table {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 10px;
}

.custom-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3),
    -2px -2px 2px rgba(255, 255, 255, 0.3);
  margin: 0px 0;
  padding: 2px 0;
}

.custom-cell {
  padding: 2px 8px 2px 8px;
  flex-basis: 50%;
  box-sizing: border-box;
  line-height: 14px;
  display: inherit;
}

.custom-flex-col {
	display: inline-flex;
	gap: 1px 5px;
	flex-wrap: wrap;
	flex-direction: column;
} 

.custom-cell.full-width {
  flex-basis: 100%;
}

.custom-row-three .custom-cell {
  padding: 2px 8px 2px 8px;
  flex-basis: 33.33%;
  box-sizing: border-box;
  line-height: 14px;
  display: inherit;
  }

@media (max-width: 300px) {
  .custom-table {
    display: block;
  }
  .custom-row {
    display: block;
  }
  .custom-cell {
    flex-basis: 100%;
  }
}

/* view job details table end */

.edit-icon {
  cursor: pointer;
  /*
  font-size: 18px;
  border: 1px solid black;
  border-radius: 40%;
  padding: 4px;
  width: 30px;
  display: inline-block;
  height: 30px;
  text-align: center;
  line-height: 20px;
  margin: 4px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3),
    -2px -2px 2px rgba(255, 255, 255, 0.3);
	*/
}

.edit-dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: white;
  width: 80%;
  max-width: 600px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.edit-dialog:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  pointer-events: none;
}

.edit-dialog.show {
  display: block;
}

.edit-content select {
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  color: #444;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #ccc;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 24px 0px;
  height: 45px;
}

.edit-actions {
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .edit-content select {
    font-size: 1.4rem;
  }
}



/* Custom size unit input convert to mm start  */

.customUnitsSizeInputs input[type="number"] {
  width: 50px;
}

.customUnitsSizeInputs select {
  width: 60px;
}

.customUnitsSizeInputs label {
  display: inline-block;
  width: 50px;
}

/* Custom size unit input convert to mm end */



/* TOP NAV BAR START */
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #3d3d3d;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	right: 0px;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 50px; */
  background-color: #555;
  color: #fff;
  position: relative;
  z-index: 99;
}

.nav-header {
  display: inline-block;
  float: left;
  margin-left: 10px;
}

.nav-header img {
  margin: 8px 0 8px 8px;
  max-width: 160px;
}
.nav-title {
  display: flex;
  align-items: center;
  font-size: 22px;
  padding: 8px 10px 6px;
  width: 186px;
  cursor: pointer;
}

.nav-title span {
  margin-left: 10px;
  font-size: 12px;
}

.checkBox {
  display: none;
}

.nav-btn {
  display: none;
  margin-top: 5px;
}

.nav-btn i {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

#nav-check:checked ~ .nav-btn i:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#nav-check:checked ~ .nav-btn i:nth-child(2) {
  opacity: 0;
}

#nav-check:checked ~ .nav-btn i:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
  display: flex;
  margin-right: 10px;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 13px 10px;
  text-decoration: none;
  color: #efefef;
  transition: background-color 0.3s ease-in-out;
}

.nav-links a i {
  margin-right: 4px;
}

.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.navSwitchBackForm {
  display: flex;
  align-items: center;
}

.navSwitchBackButton {
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: #efefef;
  padding: 13px 10px;
  cursor: pointer;
  font-size: 16px;
}

.navSwitchBackButton i {
  margin-right: 4px;
}

.navSwitchBackButton:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.impersonationStatusBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #f7b731;
  color: #1f1a07;
  font-size: 14px;
  font-weight: 600;
}

.impersonationStopForm {
  margin: 0;
}

.impersonationStopButton {
  min-height: 32px;
  border: 1px solid #41330a;
  background: #41330a;
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
}

.user-menu {
  display: none;
}
/* TOP NAV BAR END */

/* REG FORM CSS START */
.form-group {
  margin-bottom: 10px;
}

.error {
  color: red;
  font-size: 12px;
}

/* Form input styling */

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

input[type="checkbox"] {
  margin-right: 10px;
}

input[type="submit"] {
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #3e8e41;
}
/* REG FORM CSS END */

@media (max-width: 610px) {
  body {
    overflow-x: hidden;
  }
  .thumbnail-grid img {
    width: 24%;
  }
  
  .tab button {
	  min-height: 80px;
  }

  /* TOP NAV BAR START */
  .userMenuBars {
    right: 55px;
    top: 30px;
  }

  .userIcon {
    right: 50px;
  }
  
    .dropdown-content {
	left: 0px;
  }

  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 18px;
    top: 14px;
  }

  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }

  .nav > .nav-btn > label:hover,
  .nav #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }

  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 3px solid #eee;
    cursor: pointer;
  }

  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 70px;
    left: 0px;
  }

  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }

  .nav > .nav-links > .navSwitchBackForm {
    display: block;
    width: 100%;
  }

  .navSwitchBackButton {
    width: 100%;
    text-align: left;
  }

  .nav > .nav-links a i {
    min-width: 22px;
  }

  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }

  .nav > #nav-check:checked ~ .nav-links {
    padding: 10px;
    height: calc(100vh - 50px);
    overflow-y: auto;
  }

  .icons {
    margin-right: 10px;
  }

  .impersonationStatusBar {
    flex-direction: column;
    align-items: flex-start;
  }
  /* TOP NAV BAR END */
}

#quote-form {
  margin: 0 auto;
}

#quote-form div {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#quote-form label {
  width: fit-content;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

#quote-form select,
#quote-form input[type="number"],
#quote-form input[type="text"],
#quote-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

#quote-form select:focus,
#quote-form input[type="number"]:focus,
#quote-form input[type="text"]:focus,
#quote-form textarea:focus {
  border-color: #555;
}

#quote-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L5 7.5L9 3.5H1Z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

#quote-form input[type="radio"] {
  display: inline-block;
  width: auto;
  margin: 0px 10px 4px 12px;
  transform: scale(1.5);
}

#quote-form #custom-size-inputs input[type="number"] {
  width: 100px;
}

#quote-form #custom-size-inputs select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L5 7.5L9 3.5H1Z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  width: 80px;
}

#quote-form #custom-size-inputs label {
  display: inline-block;
  width: 100px;
  margin-right: 10px;
  text-align: right;
}

#quote-form #custom-size-inputs input {
  display: inline-block;
  width: calc(50% - 5px);
  margin-right: 10px;
}

#quote-form #other-product-details label {
  font-weight: normal;
  margin-bottom: 5px;
}

#quote-form #other-product-details-input {
  margin-bottom: 10px;
}

#quote-form textarea {
  height: 120px;
}

#quote-form input[type="submit"] {
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#quote-form input[type="submit"]:hover {
  background-color: #3e8e41;
}

#other-product-details {
  width: 100%;
}

@media (max-width: 610px) {
  #quote-form label,
  #quote-form select,
  #quote-form input[type="number"],
  #quote-form input[type="text"],
  #quote-form textarea {
    font-size: 14px;
  }

  #quote-form textarea {
    height: 80px;
  }

  #quote-form select {
    background-position: right 8px center;
    padding-right: 26px;
  }

  #quote-form #custom-size-inputs label {
    width: 60px;
  }

  #quote-form #custom-size-inputs input {
    width: calc(50% - 15px);
  }
}

/* Desktop view */
.feedback {
  width: 600px;
  margin: 0 auto;
}

/* Tablet view */
@media only screen and (max-width: 768px) {
  .feedback {
    width: 90%;
    margin: 0 auto;
  }
}

/* Mobile view */
@media only screen and (max-width: 480px) {
  .feedback {
    width: 100%;
    margin: 0;
  }
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  width: 50%;
  text-align: center;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 8px 8px 0px 0px;
  color: black;
}

.tab button.active {
  background-color: #ddd;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 0px 0px 8px 8px;
  border-top: none;
  clear: both;
  width: 100%;
}

/* Style the active tab content */
.tabcontent.active {
  display: block;
}


.msgThumbs .thumbnail-grid {
  max-width: fit-content;
  display: block;
}





.showPassButt {
  display: inline-block;
  padding: 6px 6px;
  margin: 2px 0 0 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  color: black;
}

.smallText, .smallText a {
	font-size: 14px !important;
}



  /* Default styles for panel wrapper */
  .panel-wrapper {
    display: flex;
    flex-wrap: wrap;
	margin-top: 20px;
  }

  /* Default styles for both panels */
  .panel-one-content, .panel-two-content {
    flex-basis: 50%;
  }
  
    .panel-one-content p {
  margin: 0px 60px;
}
  
  .panel-one-content img {
  max-width: 40vw;
  object-fit: contain;
}

.product-container {
  margin-right: 20px;
}

.panel-two-content select {
  appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L5 7.5L9 3.5H1Z'/%3E%3C/svg%3E");
background-size: 12px;
background-repeat: no-repeat;
background-position: right 10px center;
padding-right: 30px;
  width: 100%;
padding: 10px;
  padding-right: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}

.main-image-container {
        display: flex;
		max-height: 500px;
		 cursor: zoom-in;
    }
  
    .thumbnail-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: 100%;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .thumbnails {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 100%; /* adjust this value based on the desired height of the thumbnail display area */
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        object-fit: cover;
        cursor: pointer;
        margin-bottom: 5px;
    }

    .arrow-button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
    }
	
	.prodTitleH1 {
	 font-size: 32px;
  }

  /* Media query for screens smaller than 768px (portrait tablets and smaller) */
  @media (max-width: 767px) {
    .panel-one-content, .panel-two-content {
      flex-basis: 100%;
    }
	.panel-one-content img {
  max-width: 70vw;
  object-fit: contain;
}

.product-container {
  margin-right: 0px;
}

  .panel-one-content p {
  margin: 0px 5px;
}

  .main-image-container {
		max-height: 300px !important;
    }

.prodTitleH1 {
	 font-size: 26px;
  }
  
    .panel-wrapper {
	margin-top: 10px;
  }

  }
  
  
   .productZoom {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100vw !important;
height: 100%;
max-width: 100% !important;
max-height: 100%;
object-fit: contain !important;
z-index: 999;
background-color: rgb(255, 255, 255);
cursor: zoom-out;
margin: 0;
   }
   
   
   
   .accordion-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	width: 100%;
}

.accordion {
    box-sizing: border-box;
    flex: 1;
    margin: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.accordion-btn {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    transition: background-color 0.3s;
}

.accordion-btn:hover {
    background-color: #ddd;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s;
}

@media (max-width: 768px) {
    .accordion-container {
        flex-direction: column;
    }

    .accordion {
        width: 95%;
    }
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-block {
    width: calc(50% - 10px);
    margin-bottom: 20px;
	text-align: center;
}

@media only screen and (min-width: 768px) {
    .product-block {
        width: calc(33.33% - 10px);
    }
}

@media only screen and (min-width: 1024px) {
    .product-block {
        width: calc(25% - 10px);
    }
}

.product-block img {
    display: block;
    width: 100%;
    height: auto;
}

.product-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}


.breadcrumb-container {
  font-size: 14px;
  margin: 10px 0;
}

.breadcrumb-container a {
  color: #333;
  text-decoration: none;
  margin-right: 8px;
}

.breadcrumb-container a:hover {
  text-decoration: underline;
}

.breadcrumb-container span {
  color: #999;
  margin-left: 10px;
}

.filterView {
  text-align: left;
  display: block;
  margin-bottom: 5px;
}

.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: rgba(0, 0, 0, 0.1);
border-left-color: #fff;
border-radius: 50%;
width: 20px;
height: 20px;
display: inline-block;
position: relative;
top: 3px;
left: -4px;
animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@page {
  size: A4;
  margin: 15mm;
}

.CombinedInvoicesPrintContainer {
	position: relative;
	width: 794px;
	min-height: calc(794px * 1.4142);
	margin: 0 auto;
	padding: 45px;
	box-sizing: border-box;
	border: 1px solid rebeccapurple;
}

.halfAndHalfCont {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.halfSize {
  max-width: 50%;
  min-width: 50%;
}

.centerCenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;	
}

.topRight {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
}

@media print {
  .noPrint {
    display: none !important;
  }
  
  
    .CombinedInvoicesPrintContainer {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    min-width: 100%; 
    min-height: 100%; 
    margin: 0;
    padding: 0; /* Adjust padding for print, consider printer margins */
    box-sizing: border-box;
  }
  
}



/* The Combine Invs Select Model (background) */
.combineInvsSelectModel {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 10%;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.95); /* Black w/ opacity */
}

/* Combine Invs Select Model Content/Box */
.combineInvsSelectModel-content {
	background-color: #fefefe;
	margin: 2% auto;
	padding: 20px;
	border: 1px solid #888;
	width: calc(100% - 10px);
	overflow-y: auto;
	overflow-x: hidden;
	max-height: calc(100vh - 40px);
  max-width: 600px;
}

/* The Close Button */
.combineInvsSelectModelClose {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.combineInvsSelectModelClose:hover,
.combineInvsSelectModelClose:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



.selectInvCheckbox {
  display: inline-block;
  width: 38px;
  height: 38px;
  margin: 0;
}

.tinyText {
  font-size: 0.5em;
  font-weight: 900;
  display: block;
  margin-bottom: -28px;
  text-transform: uppercase;
}

.tinyTextTwo {
  font-size: 0.5em;
  font-weight: 900;
  display: flex;
  margin-bottom: -28px;
  margin-left: 22px;
  text-transform: uppercase;
  width: 100%;
  text-align: left;
}

.invInfoText {
  margin: 5px 10px;
}

.invInfoTextPrice {
  min-width: 65px;
}

.invoiceNumber {
  display: block;
  word-break: break-all;
  overflow-wrap: break-word;
}

.noWrap {
  white-space: nowrap;
}

.flexCenteredCols {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.singleInvInfoRow {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px;
  margin: 0 auto;
  border-bottom: 2px dotted black;
  max-width: 600px;
}



.dynamicInfoInvsWrapper {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 200px);
  width: 100%;
  margin: 0 0 12px 0px;
  padding: 0;
}
#dynamicAwaitingPaymentInvoices {
  width: 100%;
}

.ciDynamicLinesWrapper {
  border: 1px solid #ccc;
  margin: 10px;
}

.ciRowWrapper {
  display: flex;
  justify-content: flex-start;
  padding: 5px;
  font-size: 0.9em;

  border-bottom: 1px solid #ccc; /* Optional: adds a line between items for better separation */
}

.ciColWrapper {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  font-size: 0.9em;
  width: fit-content;
  margin: 0 auto;
}

/* Assign fixed or flexible widths to each column. Adjust these values based on your layout needs. */
.ciColQty,
.ciColEachPrice,
.ciColLineTotal {
  flex-basis: 10%; /* Adjust this value as needed */
  text-align: center; /* Center the text for these columns */
  font-size: 0.9em;
}

.ciColQty {
  min-width: 25px;
  margin-right: 5px;
}

.ciColEachPrice,
.ciColLineTotal {
  min-width: 65px;
  margin-right: 5px;
  text-align: right;
}

.ciColDesc {
  flex-grow: 1; /* Allows the description to fill the remaining space */
  text-align: left;
  font-size: 0.9em;
}

.ciColTitle {
  font-weight: 600;
  margin-right: 5px;
}

.ciTopRow {
  background: #f4f4f4;
  font-size: 0.8em;
  font-weight: 600;
  color: blue;
  text-transform: uppercase;
}

.ciDescHead {
  font-size: 0.8em;
  margin: 0;
  padding: 0;
}

.ciBlue {
  color: blue;
  font-weight: 600;
  text-transform: uppercase;
}

.ciTotalAmountPayable {
	text-align: right;
	width: 100%;
	display: block;
	padding-right: 15px;
	font-size: 1.5em;
}


.bankTransferDetails {
  font-size: 0.9em;
  line-height: 1.2em;
  text-align: center;
}

.bankTransferDetails h3 {
  font-size: 1.3em;
  line-height: 1.2em;
  font-weight: 600;
}

.buttonCenter {
	display: block;
	margin: 0 auto;
}

.deleteJobFromCombine {
	font-size: 2em;
	color: red;
	float: right;
	cursor: pointer;
}

#scrollIcon {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background: black;
    color: white;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center; 
    opacity: 0.2;
}

.thankYouForYourBusinessCont {
	text-align: center;
}

.bold {
	font-weight: 600;
}

.dynamicImg {
	max-height: 50vh;
	max-width: 100%;
	cursor: zoom-in;
	border: 1px solid gainsboro;
}

.dynamicBImg {
	max-height: 50vh;
	max-width: 40vw;
	cursor: zoom-in;
}


.imageToggle {
	max-height: 100vh;
	max-width: 100vw !important;
	cursor: zoom-out;
	position: absolute;
	top: 15%;
	left: 0;
	z-index: 999;
	width: 95vw !important;
	border: 0px solid transparent !important;
}


.uploadPageButton {
	display: none;
  margin: 5px auto;
}
.pastePageImageButton {
	display: none;
  margin: 5px auto;
}
.uploadImageHint {
  display: none;
  font-size: 12px;
  color: #51657c;
  margin: 2px auto 8px;
}
.dynamicPagesPageNavCont {
  padding: 10px 0;
  display: flex;
  justify-content: center;
}


#dynamicPagesCont {
  width: fit-content;
  text-align: center;
}

.pNumWrapper {
	display: inline-flex;
	align-items: center;
	width: 50px;
	justify-content: center;
}

.pageStatusCont {
  font-size: 1em;
}
.pageStatus, .pageRevisionsDynamic {
  font-weight: 600;
}



.bookletNavButtons {
  display: flex;
  justify-content: space-evenly;
}
#bookletPagesWrapper {
  width: fit-content;
  text-align: center;
}



.editPageTitleWrapper {
  display: none; /* was flex */
 align-items: center;
  flex-direction: column;
  background: gainsboro;
  padding: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
}

.editPageTitleWrapper i {
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
  font-size: 20px;
  color: white;
  height: 42px;
  width: 50px;
  border-radius: 0 5px 5px 0;
  box-sizing: border-box;
  cursor: pointer;
}

.pageTitleEditInput {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px 0 0 5px !important;
	box-sizing: border-box;
	font-size: 16px;
	height: 42px;
}



.pageTitlePlainTextWrapper {
  font-size: 1em;
}

.pageTitleInlineWrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.pageTitleInlineLabel {
  font-size: 1em;
  font-weight: 600;
}

.pageTitleInlineInput {
  min-width: 220px;
  max-width: 460px;
  flex: 1 1 300px;
  padding: 7px 10px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
  color: #1f2d3d;
  background: #ffffff;
}

.pageTitleInlineInput:focus {
  outline: none;
  border-color: #6b8ab6;
  box-shadow: 0 0 0 2px rgba(107, 138, 182, 0.2);
}

.pageTitleInlineState {
  font-size: 12px;
  min-width: 130px;
  line-height: 1.2;
  font-weight: 600;
}

.pageTitleInlineState.is-saved {
  color: #2f6a39;
}

.pageTitleInlineState.is-dirty {
  color: #7b5b00;
}

.pageTitleInlineState.is-saving {
  color: #2e4d75;
}

.pageTitleInlineState.is-error {
  color: #b03535;
}

.editPageStatusWrapper {
  display: none; /* was flex */
 align-items: center;
  flex-direction: column;
  background: gainsboro;
  padding: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
}

.pageTitlePlainTextDynamic {
  font-weight: 600;
}

.pageTitlePlainTextWrapper i, .editPageStatusButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: black;
	font-size: 12px;
	color: white;
	height: 20px;
	width: 20px;
	border-radius: 5px;
	box-sizing: border-box;
	cursor: pointer;
  margin-left: 5px;
  margin-bottom: 5px;
}





.editPageTitleInnerWrapper, .editPageStatusWrapper {
  display: flex;
}
.editPageTitleText, .editPageStatusText {
  font-size: 0.9em;
  text-transform: uppercase;
  margin: 5px;
  font-weight: 900;
  letter-spacing: 1px;
}

.cancelEditPageTitleText, .cancelEditPageStatusText {
	background: red;
	color: white;
	font-weight: 600;
	text-transform: uppercase;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 5px;
	margin: 10px auto;
	display: block;
	width: fit-content;
	cursor: pointer;
}



.pageStatusSelect {
  word-wrap: normal;
  width: fit-content;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background: white;
}

.hidden {
	display: none !important;
}


#reorderPagesCont {
	display: flex;
	flex-direction: column;
	width: 100%;
}


.pageOrderRowWrapper {
  display: flex;
  flex-direction: row;
}

.pageOrderTitleInput {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

.pageOrderMoveUp,
.pageOrderMoveDown {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin: 0 4px;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  cursor: pointer;
}

.pageOrderPageNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.working-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000e8;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.working-content {
  text-align: center;
  color: white;
}

.fa-gear {
  font-size: 2rem; /* Adjust the size as needed */
  margin-bottom: 1rem;
  animation: spin 2s linear infinite;
}


#reorderPagesButton {
	margin-left: 6px;
}

.sortOptions button {
	height: 20px !important;
	padding: 0 5px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-transform: uppercase !important;
	font-size: 10px !important;
	font-weight: 600;
}

.sortByText {
font-size: 12px !important;	
}
.page-details-cell {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.jobDetailsMain {
  width: 100%;
  line-height: 1.45;
}

#designDetails {
  display: block;
  margin-top: 3px;
  line-height: 1.45;
}

.pageSummarySection {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  padding-bottom: 6px;
}

.pageSummaryContent {
  width: 100%;
  margin-top: 6px;
}

.pageSummaryGrid {
  display: none;
}

.pageSummaryList {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pageSummaryRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 8px;
  border: 1px solid #e5ebf2;
  border-radius: 6px;
  background: #ffffff;
}

.pageSummaryPrimary {
  font-weight: 600;
  color: #2f3a46;
  line-height: 1.35;
}

.pageSummarySecondary {
  white-space: nowrap;
  font-size: 12px;
  color: #5f6f82;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .page-details-cell {
    gap: 6px;
  }

  .pageSummarySection {
    padding-top: 2px;
    padding-bottom: 4px;
  }

  .pageSummaryRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 7px 8px;
  }

  .pageSummarySecondary {
    white-space: normal;
    font-size: 12px;
  }

  .pageTitleInlineWrapper {
    align-items: flex-start;
    gap: 6px;
  }

  .pageTitleInlineInput {
    flex-basis: 100%;
    max-width: 100%;
  }

  .pageTitleInlineState {
    min-width: auto;
  }
}

/* Dashboard (index.php) */
.srOnly {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.dashboardPage {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 4px;
}

.dashboardTopSection {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.dashboardHeaderBlock h1 {
  margin: 0;
  font-size: clamp(1.28rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.dashboardHeaderRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboardHeaderFilterToggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #cad5e3;
  border-radius: 10px;
  background: #fff;
  color: #223549;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
}

.dashboardHeaderFilterToggle i {
  font-size: 15px;
}

.dashboardGreeting {
  margin: 3px 0 0;
  font-size: clamp(0.8rem, 0.74rem + 0.2vw, 0.92rem);
  color: #576980;
}

.dashboardKpis {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  margin: 0;
  padding: 1px 0 4px;
}

.dashboardKpi {
  flex: 0 0 min(190px, 72vw);
  scroll-snap-align: start;
  border: 1px solid #d8e0ea;
  background: #ffffff;
  border-radius: 11px;
  padding: 7px 10px;
  text-align: left;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.dashboardKpi .label {
  font-size: 11px;
  line-height: 1.2;
  color: #4c5a6a;
  font-weight: 600;
}

.dashboardKpi .count {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  color: #0a2f58;
}

.dashboardKpi.active {
  border-color: #0b6fc2;
  box-shadow: 0 0 0 2px rgba(11, 111, 194, 0.1);
}

.dashboardSegments {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  margin: 0;
  padding: 1px 0 4px;
}

.dashboardSegments button {
  border: 1px solid #d2dbe6;
  background: #fff;
  color: #26323f;
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 34px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.dashboardSegments button.active {
  border-color: #0b6fc2;
  color: #0b6fc2;
  background: #edf6ff;
}

.dashboardFilterBar {
  --dashboard-control-h: 44px;
  --dashboard-control-radius: 10px;
  --dashboard-control-font: 14px;
  --dashboard-control-border: 1px solid #cad5e3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.dashboardSearchWrap {
  display: flex;
  align-items: center;
  min-width: 0;
  border: var(--dashboard-control-border);
  border-radius: var(--dashboard-control-radius);
  background: #fff;
  height: var(--dashboard-control-h);
  box-sizing: border-box;
}

.dashboardSearchWrap input {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 8px 12px;
  font-size: var(--dashboard-control-font);
  line-height: 1.2;
  outline: none;
  box-sizing: border-box;
}

.dashboardSearchWrap button {
  border: 0;
  background: transparent;
  width: var(--dashboard-control-h);
  height: calc(var(--dashboard-control-h) - 2px);
  color: #5a6878;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.dashboardMobileFiltersToggle {
  min-height: var(--dashboard-control-h);
  height: var(--dashboard-control-h);
  border: var(--dashboard-control-border);
  border-radius: var(--dashboard-control-radius);
  background: #fff;
  color: #223549;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-sizing: border-box;
}

.dashboardMobileFiltersToggle i {
  color: #45617c;
}

.dashboardMobileFiltersCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0b6fc2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 6px;
}

.dashboardFilterAdvanced {
  grid-column: 1 / -1;
  display: none;
  gap: 8px;
}

.dashboardFilterBar.mobile-filters-open .dashboardFilterAdvanced {
  display: grid;
}

.dashboardStatusPicker {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-width: 0;
}

#statusPickerToggle {
  width: 100%;
  height: var(--dashboard-control-h);
  border: var(--dashboard-control-border);
  background: #fff;
  color: #223549;
  border-radius: var(--dashboard-control-radius);
  padding: 8px 12px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--dashboard-control-font);
  font-weight: 600;
  line-height: 1.2;
  box-sizing: border-box;
  margin: 0;
  vertical-align: bottom;
}

#statusPickerToggle i {
  color: #4d5f73;
}

.statusPickerMenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cad5e3;
  border-radius: 10px;
  padding: 8px;
  z-index: 3200;
  display: none;
  max-height: 240px;
  overflow-y: auto;
}

.statusPickerMenu.open {
  display: block;
}

.statusOption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.statusOption:hover {
  background: #f1f7ff;
}

.dashboardClientFilterWrap,
.dashboardSortWrap,
.dashboardPageSizeWrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dashboardClientFilterWrap label,
.dashboardSortWrap label,
.dashboardPageSizeWrap label {
  font-size: 12px;
  color: #526174;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.dashboardClientFilterWrap {
  width: 100%;
}

.dashboardSortWrap {
  width: 100%;
}

.dashboardPageSizeWrap {
  width: 100%;
}

.dashboardClientFilterWrap select,
.dashboardSortWrap select,
.dashboardPageSizeWrap select {
  height: var(--dashboard-control-h);
  border: var(--dashboard-control-border);
  border-radius: var(--dashboard-control-radius);
  padding: 8px 10px;
  background: #fff;
  font-size: var(--dashboard-control-font);
  line-height: 1.2;
  box-sizing: border-box;
}

.dashboardToggleWrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: var(--dashboard-control-border);
  border-radius: var(--dashboard-control-radius);
  padding: 0 12px;
  height: var(--dashboard-control-h);
  background: #fff;
  box-sizing: border-box;
  width: 100%;
  justify-content: flex-start;
  white-space: nowrap;
}

.dashboardToggleWrap input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.dashboardToggleWrap label {
  margin: 0;
  font-size: var(--dashboard-control-font);
  line-height: 1.2;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.dashboardFilterBar input:focus-visible,
.dashboardFilterBar select:focus-visible,
.dashboardFilterBar button:focus-visible {
  outline: 2px solid #0b6fc2;
  outline-offset: 1px;
}

.dashboardList {
  display: grid;
  gap: 10px;
}

.dashboardJobCard {
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.dashboardJobHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.dashboardJobTitle {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: #1a2735;
}

.dashboardJobYear {
  color: #728196;
  font-size: 13px;
  font-weight: 600;
}

.dashboardJobClient {
  color: #4e5f73;
  font-size: 13px;
  margin-top: 2px;
}

.dashboardStatusBadge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border: 1px solid #c7d2df;
  background: #f8fafc;
  color: #334155;
  white-space: nowrap;
}

.dashboardStatusBadge.status-awaiting-our-reply,
.dashboardStatusBadge.status-awaiting-your-reply {
  background: #fff4e5;
  border-color: #f3c38f;
  color: #7a4a00;
}

.dashboardStatusBadge.status-awaiting-payment,
.dashboardStatusBadge.status-paid-unconfirmed {
  background: #fff5d8;
  border-color: #e6c777;
  color: #684b00;
}

.dashboardStatusBadge.status-awaiting-quote-approval,
.dashboardStatusBadge.status-quote-requested {
  background: #eaf4ff;
  border-color: #98c3f2;
  color: #144c89;
}

.dashboardStatusBadge.status-complete {
  background: #e8f7ec;
  border-color: #9ad2a7;
  color: #0e6130;
}

.dashboardJobMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #5a6a7e;
}

.dashboardJobMetaPrimary {
  align-items: center;
}

.dashboardLastUpdateBlock {
  font-size: 12px;
  color: #5a6a7e;
  margin-bottom: 8px;
}

.deadlineBadge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 3px 9px;
  border: 1px solid #c6d0dd;
  color: #3d4b5a;
  background: #f3f7fb;
}

.deadlineBadge.deadline-overdue {
  background: #ffeaea;
  border-color: #e4a1a1;
  color: #8a1b1b;
}

.deadlineBadge.deadline-soon {
  background: #fff4df;
  border-color: #e8bd7b;
  color: #7b4600;
}

.deadlineBadge.deadline-ok {
  background: #eaf7f2;
  border-color: #a0d9bd;
  color: #1b6846;
}

.dashboardBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin-bottom: 8px;
}

.jobBadge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 9px;
  border: 1px solid #c6d0dd;
  background: #f6f9fc;
  color: #243240;
  font-size: 11px;
  font-weight: 700;
}

.dashboardJobActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboardViewBtn,
.dashboardDeleteBtn {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #0b6fc2;
  background: #0b6fc2;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.dashboardDeleteBtn {
  border-color: #af2a2a;
  background: #af2a2a;
}

.dashboardEmptyState {
  margin-top: 10px;
}

.dashboardEmptyCard {
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  text-align: center;
}

.dashboardEmptyCard h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

#dashboardResetFilters {
  margin-top: 8px;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #0b6fc2;
  background: #0b6fc2;
  color: #fff;
  font-weight: 700;
  padding: 0 14px;
}

.dashboardPagination {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.dashboardPagination button {
  min-height: 38px;
  min-width: 94px;
  border-radius: 8px;
  border: 1px solid #b7c6d8;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.dashboardPagination button:disabled {
  opacity: 0.5;
}

.dashboardActionsBar {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboardCta,
.dashboardSecondaryCta {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid #0b6fc2;
  background: #0b6fc2;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
}

.dashboardSecondaryCta {
  border-color: #45627f;
  background: #45627f;
}

.dashboardSecondaryCta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboardPage .combineInvsSelectModel {
  z-index: 10050;
  top: 0;
  background: rgba(10, 18, 27, 0.76);
}

.dashboardPage .combineInvsSelectModel-content {
  max-width: 760px;
  width: calc(100% - 24px);
  margin: 4vh auto;
  border: 1px solid #ced8e4;
  border-radius: 14px;
  padding: 16px;
}

.dashboardPage .combineInvHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dashboardPage .combineInvHeader h3 {
  margin: 0;
}

.dashboardPage .combineInvHint {
  margin-top: 8px;
  margin-bottom: 10px;
  color: #425467;
  font-size: 14px;
}

.dashboardPage .combineInvsSelectModelClose {
  border: 0;
  background: transparent;
  color: #233447;
  font-size: 26px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboardPage .combineInvBody {
  min-height: 120px;
}

.dashboardPage .combineLoadingSkeleton {
  display: grid;
  gap: 8px;
}

.dashboardPage .skeletonLine {
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ebf1f7 20%, #f8fafc 50%, #ebf1f7 80%);
  background-size: 300% 100%;
  animation: dashboardSkeleton 1.4s ease infinite;
}

@keyframes dashboardSkeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.dashboardPage .combineControlsRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dashboardPage .combineControlsRow button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #0b6fc2;
  background: #0b6fc2;
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
}

.dashboardPage .singleInvInfoRow {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fff;
  cursor: pointer;
}

.dashboardPage .singleInvCheckboxWrap input {
  width: 22px;
  height: 22px;
}

.dashboardPage .singleInvMain {
  flex: 1;
}

.dashboardPage .singleInvTop {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.dashboardPage .singleInvNum {
  font-weight: 700;
  color: #223549;
}

.dashboardPage .singleInvTotal {
  font-weight: 700;
  color: #104f84;
}

.dashboardPage .singleInvDesc {
  margin-top: 2px;
  color: #4f6072;
  font-size: 13px;
}

.dashboardPage .combineEmptyState {
  border: 1px solid #d4dee9;
  border-radius: 10px;
  background: #fbfdff;
  padding: 12px;
  color: #415568;
}

body.modalOpen {
  overflow: hidden;
}

@media (min-width: 961px) {
  .dashboardTopSection {
    gap: 10px;
    margin-bottom: 12px;
  }

  .dashboardKpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .dashboardKpi {
    flex: 1 1 auto;
    min-height: 58px;
  }

  .dashboardSegments {
    overflow: visible;
    flex-wrap: wrap;
    gap: 7px;
    padding-bottom: 0;
  }

  .dashboardFilterBar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
  }

  .dashboardSearchWrap {
    flex: 1 1 340px;
    min-width: 290px;
  }

  .dashboardMobileFiltersToggle {
    display: none;
  }

  .dashboardFilterAdvanced {
    display: flex !important;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
  }

  .dashboardStatusPicker {
    flex: 0 1 220px;
    min-width: 180px;
  }

  .dashboardClientFilterWrap {
    flex: 0 1 230px;
    min-width: 185px;
  }

  .dashboardSortWrap {
    flex: 0 1 220px;
    min-width: 180px;
  }

  .dashboardPageSizeWrap {
    flex: 0 0 108px;
    min-width: 95px;
  }

  .dashboardToggleWrap {
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .content {
    padding: 14px 10px;
  }

  .dashboardHeaderFilterToggle {
    display: inline-flex;
  }

  .dashboardFilterBar.dashboardFilterBarCollapsibleHidden {
    display: none;
  }

  .dashboardFilterBar.dashboardFilterBarVisible {
    display: grid;
  }

  .dashboardFilterBar.dashboardFilterBarVisible .dashboardFilterAdvanced {
    display: grid;
  }

  .dashboardMobileFiltersToggle {
    display: none;
  }
}

@media (max-width: 760px) {
  .dashboardTopSection {
    gap: 7px;
  }

  .dashboardHeaderBlock h1 {
    font-size: clamp(1.2rem, 0.98rem + 0.95vw, 1.45rem);
  }

  .dashboardKpis {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    margin: 0;
    padding: 1px 0 4px;
    flex-wrap: wrap;
  }

  .dashboardKpi {
    flex-basis: min(180px, 76vw);
    min-height: 54px;
    min-width: 100%;
    text-align: center;
    border-color: #0b6fc2;
    background: #0b6fc2;
    color: #fff;
  }

  .dashboardKpi .label {
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
  }

  .dashboardKpi .count {
    color: #fff;
  }

  .dashboardKpi.active {
    border-color: #085695;
    background: #085695;
    box-shadow: 0 0 0 2px rgba(8, 86, 149, 0.2);
  }

  .dashboardFilterBar {
    gap: 7px;
  }

  .dashboardJobActions {
    width: 100%;
  }

  .dashboardViewBtn,
  .dashboardDeleteBtn {
    flex: 1 1 0;
    justify-content: center;
  }

.combineControlsRow {
    flex-direction: column;
    align-items: stretch;
  }
}

.cp-global-legal {
  margin-top: 28px;
  border-top: 1px solid #d8dee8;
  background: #f8fafc;
}

.cp-global-legal-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cp-global-legal-brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
}

.cp-global-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cp-legal-link {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #c4d5e6;
  background: #ffffff;
  color: #0f4f86;
  font-size: 13px;
}

.cp-legal-link:hover,
.cp-legal-link:focus {
  background: #0b6fc2;
  border-color: #0b6fc2;
  color: #ffffff;
}

.cp-cookie-manage-btn {
  margin-left: auto;
  margin-top: 0;
  margin-bottom: 0;
  background: #0f172a;
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}

.cp-cookie-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1200;
  border: 1px solid #0f172a;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cp-cookie-notice[hidden] {
  display: none !important;
}

.cp-cookie-notice p {
  margin: 0;
  font-size: 13px;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.cp-cookie-notice a {
  color: #0b6fc2;
}

.cp-cookie-notice button {
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 9px;
  background: #0b6fc2;
}

body.cp-cookie-open {
  padding-bottom: 96px;
}

.invoiceComplianceNote {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #4b5563;
}

.invoiceComplianceNote a {
  color: #0b6fc2;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .content h1 {
    font-size: clamp(1.9rem, 8.6vw, 2.4rem);
    line-height: 1.12;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .cp-cookie-manage-btn {
    margin-left: 0;
  }

  .cp-cookie-notice {
    flex-direction: column;
    align-items: flex-start;
  }
}
