
/*
Trix 1.3.1
Copyright © 2020 Basecamp, LLC
http://trix-editor.org/*/
trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none; }
trix-toolbar * {
  box-sizing: border-box; }
trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto; }
trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px; }
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 1.5vw; }
    @media (max-device-width: 768px) {
      trix-toolbar .trix-button-group:not(:first-child) {
        margin-left: 0; } }
trix-toolbar .trix-button-group-spacer {
  flex-grow: 1; }
  @media (max-device-width: 768px) {
    trix-toolbar .trix-button-group-spacer {
      display: none; } }
trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent; }
  trix-toolbar .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-toolbar .trix-button.trix-active {
    background: #cbeefa;
    color: black; }
  trix-toolbar .trix-button:not(:disabled) {
    cursor: pointer; }
  trix-toolbar .trix-button:disabled {
    color: rgba(0, 0, 0, 0.125); }
  @media (max-device-width: 768px) {
    trix-toolbar .trix-button {
      letter-spacing: -0.01em;
      padding: 0 0.3em; } }
trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px; }
  @media (max-device-width: 768px) {
    trix-toolbar .trix-button--icon {
      height: 2em;
      max-width: calc(0.8em + 3.5vw); } }
  trix-toolbar .trix-button--icon::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.6;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; }
    @media (max-device-width: 768px) {
      trix-toolbar .trix-button--icon::before {
        right: 6%;
        left: 6%; } }
  trix-toolbar .trix-button--icon.trix-active::before {
    opacity: 1; }
  trix-toolbar .trix-button--icon:disabled::before {
    opacity: 0.125; }
trix-toolbar .trix-button--icon-attach::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M16.5%206v11.5a4%204%200%201%201-8%200V5a2.5%202.5%200%200%201%205%200v10.5a1%201%200%201%201-2%200V6H10v9.5a2.5%202.5%200%200%200%205%200V5a4%204%200%201%200-8%200v12.5a5.5%205.5%200%200%200%2011%200V6h-1.5z%22%2F%3E%3C%2Fsvg%3E);
  top: 8%;
  bottom: 4%; }
trix-toolbar .trix-button--icon-bold::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M15.6%2011.8c1-.7%201.6-1.8%201.6-2.8a4%204%200%200%200-4-4H7v14h7c2.1%200%203.7-1.7%203.7-3.8%200-1.5-.8-2.8-2.1-3.4zM10%207.5h3a1.5%201.5%200%201%201%200%203h-3v-3zm3.5%209H10v-3h3.5a1.5%201.5%200%201%201%200%203z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-italic::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M10%205v3h2.2l-3.4%208H6v3h8v-3h-2.2l3.4-8H18V5h-8z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-link::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M9.88%2013.7a4.3%204.3%200%200%201%200-6.07l3.37-3.37a4.26%204.26%200%200%201%206.07%200%204.3%204.3%200%200%201%200%206.06l-1.96%201.72a.91.91%200%201%201-1.3-1.3l1.97-1.71a2.46%202.46%200%200%200-3.48-3.48l-3.38%203.37a2.46%202.46%200%200%200%200%203.48.91.91%200%201%201-1.3%201.3z%22%2F%3E%3Cpath%20d%3D%22M4.25%2019.46a4.3%204.3%200%200%201%200-6.07l1.93-1.9a.91.91%200%201%201%201.3%201.3l-1.93%201.9a2.46%202.46%200%200%200%203.48%203.48l3.37-3.38c.96-.96.96-2.52%200-3.48a.91.91%200%201%201%201.3-1.3%204.3%204.3%200%200%201%200%206.07l-3.38%203.38a4.26%204.26%200%200%201-6.07%200z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-strike::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M12.73%2014l.28.14c.26.15.45.3.57.44.12.14.18.3.18.5%200%20.3-.15.56-.44.75-.3.2-.76.3-1.39.3A13.52%2013.52%200%200%201%207%2014.95v3.37a10.64%2010.64%200%200%200%204.84.88c1.26%200%202.35-.19%203.28-.56.93-.37%201.64-.9%202.14-1.57s.74-1.45.74-2.32c0-.26-.02-.51-.06-.75h-5.21zm-5.5-4c-.08-.34-.12-.7-.12-1.1%200-1.29.52-2.3%201.58-3.02%201.05-.72%202.5-1.08%204.34-1.08%201.62%200%203.28.34%204.97%201l-1.3%202.93c-1.47-.6-2.73-.9-3.8-.9-.55%200-.96.08-1.2.26-.26.17-.38.38-.38.64%200%20.27.16.52.48.74.17.12.53.3%201.05.53H7.23zM3%2013h18v-2H3v2z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-quote::before {
  background-image: url(data:image/svg+xml,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M6%2017h3l2-4V7H5v6h3zm8%200h3l2-4V7h-6v6h3z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url(data:image/svg+xml,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M12%209v3H9v7H6v-7H3V9h9zM8%204h14v3h-6v12h-3V7H8V4z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-code::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M18.2%2012L15%2015.2l1.4%201.4L21%2012l-4.6-4.6L15%208.8l3.2%203.2zM5.8%2012L9%208.8%207.6%207.4%203%2012l4.6%204.6L9%2015.2%205.8%2012z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url(data:image/svg+xml,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%204a2%202%200%201%200%200%204%202%202%200%200%200%200-4zm0%206a2%202%200%201%200%200%204%202%202%200%200%200%200-4zm0%206a2%202%200%201%200%200%204%202%202%200%200%200%200-4zm4%203h14v-2H8v2zm0-6h14v-2H8v2zm0-8v2h14V5H8z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-number-list::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M2%2017h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1%203h1.8L2%2013.1v.9h3v-1H3.2L5%2010.9V10H2v1zm5-6v2h14V5H7zm0%2014h14v-2H7v2zm0-6h14v-2H7v2z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-undo::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M12.5%208c-2.6%200-5%201-6.9%202.6L2%207v9h9l-3.6-3.6A8%208%200%200%201%2020%2016l2.4-.8a10.5%2010.5%200%200%200-10-7.2z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-redo::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M18.4%2010.6a10.5%2010.5%200%200%200-16.9%204.6L4%2016a8%208%200%200%201%2012.7-3.6L13%2016h9V7l-3.6%203.6z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M3%2019h19v-2H3v2zm7-6h12v-2H10v2zm-8.3-.3l2.8%202.9L6%2014.2%204%2012l2-2-1.4-1.5L1%2012l.7.7zM3%205v2h19V5H3z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M3%2019h19v-2H3v2zm7-6h12v-2H10v2zm-6.9-1L1%2014.2l1.4%201.4L6%2012l-.7-.7-2.8-2.8L1%209.9%203.1%2012zM3%205v2h19V5H3z%22%2F%3E%3C%2Fsvg%3E); }
trix-toolbar .trix-dialogs {
  position: relative; }
trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5; }
trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }
  trix-toolbar .trix-input--dialog.validate:invalid {
    box-shadow: #F00 0px 0px 1.5px 1px; }
trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none; }
trix-toolbar .trix-dialog--link {
  max-width: 600px; }
trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline; }
  trix-toolbar .trix-dialog__link-fields .trix-input {
    flex: 1; }
  trix-toolbar .trix-dialog__link-fields .trix-button-group {
    flex: 0 0 content;
    margin: 0; }
trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
  background: none; }
trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
  background: none; }

trix-editor [data-trix-mutable].attachment__caption-editor:focus::-moz-selection {
  background: highlight; }
trix-editor [data-trix-mutable].attachment__caption-editor:focus::selection {
  background: highlight; }

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent; }
trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight; }
trix-editor .attachment {
  position: relative; }
  trix-editor .attachment:hover {
    cursor: default; }
trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text; }
trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in; }
  trix-editor .attachment__progress[value="100"] {
    opacity: 0; }
trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }
trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center; }
trix-editor .trix-button-group {
  display: inline-flex; }
trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent; }
  trix-editor .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-editor .trix-button.trix-active {
    background: #cbeefa; }
  trix-editor .trix-button:not(:disabled) {
    cursor: pointer; }
trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); }
  trix-editor .trix-button--remove::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.7;
    content: "";
    background-image: url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.4L17.6%205%2012%2010.6%206.4%205%205%206.4l5.6%205.6L5%2017.6%206.4%2019l5.6-5.6%205.6%205.6%201.4-1.4-5.6-5.6z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%; }
  trix-editor .trix-button--remove:hover {
    border-color: #333; }
    trix-editor .trix-button--remove:hover::before {
      opacity: 1; }
trix-editor .attachment__metadata-container {
  position: relative; }
trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px; }
  trix-editor .attachment__metadata .attachment__name {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  trix-editor .attachment__metadata .attachment__size {
    margin-left: 0.2em;
    white-space: nowrap; }
@charset "UTF-8";
.trix-content {
  line-height: 1.5; }
  .trix-content * {
    box-sizing: border-box;
    margin: 0;
    padding: 0; }
  .trix-content h1 {
    font-size: 1.2em;
    line-height: 1.2; }
  .trix-content blockquote {
    border: 0 solid #ccc;
    border-left-width: 0.3em;
    margin-left: 0.3em;
    padding-left: 0.6em; }
  .trix-content [dir=rtl] blockquote,
  .trix-content blockquote[dir=rtl] {
    border-width: 0;
    border-right-width: 0.3em;
    margin-right: 0.3em;
    padding-right: 0.6em; }
  .trix-content li {
    margin-left: 1em; }
  .trix-content [dir=rtl] li {
    margin-right: 1em; }
  .trix-content pre {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    font-family: monospace;
    font-size: 0.9em;
    padding: 0.5em;
    white-space: pre;
    background-color: #eee;
    overflow-x: auto; }
  .trix-content img {
    max-width: 100%;
    height: auto; }
  .trix-content .attachment {
    display: inline-block;
    position: relative;
    max-width: 100%; }
    .trix-content .attachment a {
      color: inherit;
      text-decoration: none; }
      .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
        color: inherit; }
  .trix-content .attachment__caption {
    text-align: center; }
    .trix-content .attachment__caption .attachment__name + .attachment__size::before {
      content: ' · '; }
  .trix-content .attachment--preview {
    width: 100%;
    text-align: center; }
    .trix-content .attachment--preview .attachment__caption {
      color: #666;
      font-size: 0.9em;
      line-height: 1.2; }
  .trix-content .attachment--file {
    color: #333;
    line-height: 1;
    margin: 0 2px 2px 2px;
    padding: 0.4em 1em;
    border: 1px solid #bbb;
    border-radius: 5px; }
  .trix-content .attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    position: relative; }
    .trix-content .attachment-gallery .attachment {
      flex: 1 0 33%;
      padding: 0 0.5em;
      max-width: 33%; }
    .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
      flex-basis: 50%;
      max-width: 50%; }
/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *

*/

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}
/* ===== Cities Directory (Grid + A–Z + Cleaner Cards) ===== */

#address {
  text-decoration: none;
  font-size: 15px;
}

#phone {
  text-decoration: none;
  font-size: 15px;
}

#contractoremail {
  text-decoration: none;
  font-size: 12px;
}

.appbg {
  background-color: #2c5484 !important;
  color: white !important;
  text-decoration: none;
}
.appbg:hover {
  background-color: #4375b3 !important;
  color: white !important;
  text-decoration: none;
}

/* --- Toolbar / Search / Count --- */
.gp-city-toolbar{
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.gp-search-wrap{
  position: relative;
  width: 100%;
}

.gp-search{
  border-radius: 14px;
  padding: 12px 44px 12px 12px;
  border: 1px solid rgba(16,24,40,.14);
}

.gp-clear{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #667085;
  padding: 6px;
  border-radius: 10px;
}
.gp-clear:hover{
  background: rgba(16,24,40,.06);
  color: #111827;
}

.gp-count{
  display:flex;
  align-items:center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 90px;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(44,84,132,.20);
}

.gp-count-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.14);
}

.gp-count-num{
  font-weight: 800;
  font-size: 18px;
}

.gp-add-city{
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  border: 0;
  white-space: nowrap;
}

.gp-divider{
  opacity: .15;
}

/* --- A–Z bar --- */
.gp-az-bar{
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items:center;
  padding: 6px 0 10px;
}

.gp-az-btn{
  border: 1px solid rgba(44,84,132,.22);
  background: #fff;
  color: #2c5484;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
}
.gp-az-btn:hover{
  background: rgba(44,84,132,.08);
}
.gp-az-btn.is-active{
  background: #2c5484;
  color: #fff;
  border-color: #2c5484;
}

/* --- GRID LAYOUT (Fixes the "two cards per row" weirdness) --- */
.gp-city-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 16px;
  align-items: start;
}

/* --- Card styling --- */
.searchcard.gp-city-card{
  width: 100% !important;    /* override old fixed width */
  display: block;           /* override inline-block layout */
  margin: 0 !important;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.12);
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
  background: #fff;
}

.citynamecontainer.gp-card-head{
  background: #f7f7f7;
  border: 0;
  border-bottom: 1px solid rgba(16,24,40,.10);
  border-radius: 0;
  padding: 12px;
}

.gp-head-row{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.logocontainer{
  height: auto;
  width: 85px;
  flex: 0 0 85px;
}

.citylogo{
  width: 85px;
  height: auto;
  display:block;
  border-radius: 12px;
}

.gp-title-block{
  flex: 1;
  min-width: 0;
  position: relative;
}

.gp-edit{
  position: absolute;
  right: 0;
  top: 0;
  text-decoration:none;
}

.cityeditbtn{
  color:#808080 !important;
  font-size: 22px;
}

.cityname.gp-city-title{
  width: auto;
  height: auto;
  padding-top: 0;
  margin-right: 36px; /* leave room for edit icon */
}

.citynametext{
  font-size: 24px;
  color: #2c5484 !important;
  text-decoration: none;
  display: inline;
  font-weight: 900;
}

.gp-address{
  margin-top: 4px;
}
.gp-address a{
  color: #2c5484;
  text-decoration: none;
  font-size: 14px;
}
.gp-address a:hover{
  text-decoration: underline;
}

.gp-mini-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
}

.gp-phone{
  border-radius: 12px;
}

.directory{
  height: 36px;
  line-height: 26px;
  border-radius: 12px;
}

#directory{
  font-size: 13px;
  line-height: 16px;
  margin-left: 0;
  margin-top: 8px;
  position: relative;
}

/* body area */
.gp-card-body{
  padding: 12px;
}

.listitem{
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: .92rem;
}

.gp-links{
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.inspections{
  background-color: #aa71d2 !important;
  color: white !important;
  border-radius: 12px;
}
.inspectionroute{
  background-color: #ac53ec !important;
  color: white !important;
  border-radius: 12px;
}

.gp-alert{
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-family: sans-serif;
}

/* --- Responsive --- */
@media (max-width: 1100px){
  .gp-city-grid{
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }
}

@media (max-width: 880px){
  .gp-city-toolbar{
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "search search"
      "count add";
  }

  .gp-city-grid{
    grid-template-columns: 1fr;
  }

  .logocontainer{
    width: 75px;
    flex-basis: 75px;
  }

  .citylogo{
    width: 75px;
  }

  #address{
    font-size: 12px;
  }

  .citynametext{
    font-size: 20px;
  }
}
.headerDashName {
    text-decoration: none;
}
.login {
    width:360px;
    margin-left:auto;
    margin-right:auto;
}
#signinlogo {
    margin-left: 0px;
    padding:20px;
    width: 340px;
}
#loginbtn {
    width: 100%;
    background-color: #2c5484;
}
#user_email, #user_password {

    width: 300px;
}
#loginLabels {
    color: white !important;
    font-size:15px !important;
}
#user_remember_me {
    margin-right: 0;
    margin-left: auto;
}

#backgroundsignin {
    width:500px;
}
.login::before {
    opacity: .8;
}
.login {
    
    background-image: linear-gradient(to right, rgba(105, 136, 173, 0.8), rgba(65, 107, 206, 0.8));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding:20px;
    border-radius: 10px;
    color:white !important;
    z-index: 2;
    margin-top:50px;
    box-shadow: 0 0 15px rgb(94 177 255); /* Horizontal offset, vertical offset, blur radius, color */
}
#loginbg {
    position: relative; /* Positioning context for the overlay */
    width: 100%; /* Full width */
    height: 90vh; /* Set height as needed */
    overflow: hidden; /* Hide overflow */
}

#loginbg .background-image {
    position: absolute!important;/* Positioning the overlay */
    width: 100%; /* Make the image cover the entire container */
    height: 100%; /* Make the image cover the entire container */
    object-fit: cover; /* Ensure the image maintains its aspect ratio */
    z-index: -1 !important; /* Ensure it is above the image */
}
.background-image {
    opacity: 0.1;
}

#loginbg .overlay {
    position: absolute!important;/* Positioning the overlay */
    top: 0; /* Start from the top */
    left: 0; /* Start from the left */
    right: 0; /* Stretch to the right */
    bottom: 0; /* Stretch to the bottom */
    background-color: transparent; /* Dark overlay with 50% opacity */
    z-index: -1 !important; /* Ensure it is above the image */
}
#balance {
    padding:10px;
    position: absolute!important;
    bottom: 10px;
    width:200px;
    height:200px;
    z-index: 3;
}

#usericon {
    width:200px;
    margin-left:auto;
    margin-right:auto;
    display: block;
}
#uploadusericonbtn {
    width:20px;
    display: inline;
}
#uploadbtn {
    display: inline;
    float: inline-end;
    
    margin-top:-25px;
    background-color: #2c5484;
}
#uploadbtn:hover {
    background-color: #396dac;
}


@media only screen and (max-width: 600px) {
    
    .login {
        margin-left:5px;
    }
}
.card-equipment {
    height: auto !important;
    text-align: center;
}


.equipment-image {
    width: auto;
    width: 100%;
}
.page-header {
  margin-bottom: 1rem;
}
.page-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.page-subtext {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.4;
}

.estimates-header-actions {
  margin-bottom: 1rem;
}

.estimates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.estimates-table th {
  text-align: left;
  font-weight: 600;
  color: #333;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid #ccc;
  background: #f8f8f8;
}
.estimates-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}
.estimates-table td.est-name {
  font-weight: 600;
}

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: #ddd;
  color: #222;
  text-transform: capitalize;
}
.status-pill.draft     { background:#ffe9ae; color:#5a4400; }
.status-pill.submitted { background:#cfe6ff; color:#003a7a; }
.status-pill.approved  { background:#c9f5c9; color:#004a00; }

.button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 4px;
  font-size: .8rem;
  line-height: 1rem;
  padding: .4rem .6rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.button-primary {
  color: #fff;
}
.button-primary.purple {
  background: #5b4b8a;
}
.button-primary.green {
  background: #2c8a4d;
}
.button.small {
  font-size: .7rem;
  padding: .3rem .5rem;
}

/* ===== Show page styles ===== */

.estimate-top-block {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}
.estimate-title {
  margin: 0 0 .5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.estimate-meta {
  font-size: .8rem;
  color: #444;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, auto));
  grid-gap: .5rem 1rem;
  margin-bottom: 1rem;
}
.bold {
  font-weight: 600;
}
.estimate-summary-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.summary-card {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: .6rem .8rem;
  min-width: 110px;
  text-align: center;
}
.summary-label {
  font-size: .7rem;
  font-weight: 600;
  color: #555;
}
.summary-value {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

/* Actions bar (Systems / Others / Attachments row) */
.quote-actions-container {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.wrapper-dropdown {
  position: relative;
  background: #2c5484;
  color: #fff;
  border-radius: 4px;
  padding: .5rem .75rem;
  font-size: .8rem;
  line-height: 1rem;
  cursor: pointer;
  min-width: 140px;
}
.wrapper-dropdown > span,
.wrapper-dropdown > a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.wrapper-dropdown .fa {
  margin-right: .4rem;
}
.wrapper-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: .25rem 0;
  list-style: none;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  z-index: 500;
}
.wrapper-dropdown:focus .dropdown,
.wrapper-dropdown:hover .dropdown {
  display: block;
}
.wrapper-dropdown .dropdown li {
  border-bottom: 1px solid #eee;
}
.wrapper-dropdown .dropdown li:last-child {
  border-bottom: none;
}
.wrapper-dropdown .dropdown a {
  display: flex;
  gap: .5rem;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-size: .8rem;
  line-height: 1rem;
  padding: .5rem .75rem;
}
.wrapper-dropdown .dropdown a:hover {
  background: #f5f5f5;
}
.i-wrapper {
  width: 18px;
  text-align: center;
}

/* Marks table (the W01/W02 list) */
.marks-table-container {
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  padding: 1rem;
}
.table-subtitle {
  margin: 0 0 .75rem 0;
  font-size: .9rem;
  font-weight: 600;
  color: #333;
}
.marks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
}
.marks-table thead th {
  text-align: left;
  font-weight: 600;
  color: #333;
  padding: .5rem .75rem;
  background: #f8f8f8;
  border-bottom: 2px solid #ccc;
}
.marks-table td {
  padding: .5rem .75rem;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}
.marks-table td.correct {
  font-weight: 600;
  color: #2c5484;
}
.mark-actions i.fa {
  margin-right: .5rem;
  cursor: pointer;
}
.mark-actions i.fa:last-child {
  margin-right: 0;
}
.button-primary.red {
  background: #a0443c;
  color: #fff;
}
.quote-notice {
    background-color: rgb(79, 167, 235);
    color: rgb(255, 255, 255);
    margin-bottom: 28px;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-family: sans-serif;
}
.estimate-wrapper {
  max-width: 1300px;
  margin: 20px auto;
  padding: 16px;
  font-family: "Inter", system-ui, sans-serif;
  color: #1a1f36;
}

/* HEADER BAR */
.estimate-header-bar {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.05);
  margin-bottom: 24px;
}

.estimate-header-bar .left-side {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.back-link {
  font-size: 0.8rem;
  color: #475467;
  text-decoration: none;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 500;
  line-height: 1.2;
}
.back-link:hover {
  background: #e0e7ff;
}

.estimate-id-block {
  display: flex;
  flex-direction: column;
}
.estimate-title {
  font-size: 1rem;
  color: #1f2937;
}
.estimate-meta {
  font-size: 0.8rem;
  color: #6b7280;
}
.muted {
  color: #6b7280;
}

/* Right-side summary pills */
.right-side {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.summary-pill {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  min-width: 70px;
  padding: 8px 10px;
  text-align: center;
}
.summary-pill.total {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.summary-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #6b7280;
  line-height: 1.1;
}
.summary-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

/* ACTION BAR */
.estimate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
}

.systems-dropdown-wrapper {
  position: relative;
}

.btn-systems {
  background: #1e40af;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.2;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(30,64,175,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-systems .plus {
  font-size: 1rem;
  line-height: 1;
}

/* Systems dropdown menu */
.systems-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  max-height: 360px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(16,24,40,0.14);
  padding: 12px;
  z-index: 1000;
}

.systems-menu.hidden {
  display: none;
}

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

.vendor-header {
  font-size: 0.7rem;
  font-weight: 600;
  color: #475467;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 4px;
}

.system-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
  color: #1f2937;
}
.system-item:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e40af;
}

/* MARKS TABLE CARD */
.marks-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.05);
  padding: 16px 20px;
}
.marks-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
}
.marks-heading {
  margin: 0;
  font-size: 1rem;
  color: #1f2937;
}
.marks-hint {
  font-size: 0.8rem;
  color: #6b7280;
}
.empty-state {
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}
.small {
  font-size: 0.7rem;
}
.nowrap {
  white-space: nowrap;
}
.text-center {
  text-align: center;
}
.glass-col {
  max-width: 200px;
  font-size: 0.75rem;
  color: #1f2937;
  line-height: 1.3;
}

/* Table itself */
.marks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.marks-table thead th {
  text-align: left;
  font-weight: 600;
  color: #475467;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px;
  white-space: nowrap;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.marks-table tbody td {
  border-top: 1px solid #f2f4f7;
  padding: 8px;
  vertical-align: top;
  color: #1f2937;
  line-height: 1.3;
}
.table-action-link {
  font-size: 0.7rem;
  margin-right: 8px;
  color: #1e40af;
  text-decoration: none;
}
.table-action-link.danger {
  color: #b91c1c;
}
.table-action-link:hover {
  text-decoration: underline;
}

/* MODAL */
.mark-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5); /* slate-900/50 */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
  z-index: 4000;
}
.mark-modal-overlay.hidden {
  display: none;
}
/* --- modal base size and "wide" variant --- */
.mark-modal {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d9e2ec;
  width: 100%;
  max-width: 600px;          /* normal: small systems without preview */
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}

/* only added for Horizontal Roller / MG-300 */
.mark-modal--wide {
  max-width: 90vw;           /* big layout with preview column */
}

/* --- don't auto-close, but "nudge" Cancel button instead --- */
.pulse-cancel {
  outline: 2px solid #dc2626; /* red-600 */
  box-shadow: 0 0 0 4px rgba(220,38,38,0.25);
  border-color: #dc2626 !important;
  transition: outline .15s, box-shadow .15s;
}


/* The scrollable middle area that holds form (left) + preview (right) */
.mark-modal-body.modal-body-flex {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 20px;
  overflow-y: auto;     /* if content taller than 90vh, scroll this area */
  max-height: calc(90vh - 80px); /* fits under header+footer-ish */
}

/* left column = form */
.mark-form-col {
  flex: 1 1 320px;
  min-width: 300px;
}

/* right column = preview */
.mark-preview-col {
  flex: 1 1 400px;
  min-width: 360px;
  display: flex;
  flex-direction: column;
}

/* wrapper around Konva stage */
.preview-stage-wrapper {
  position: relative;
  flex-grow: 1;
  min-height: 358px;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  overflow: hidden;

  /* let the user resize the preview pane */
  resize: both;
}

/* the actual div the Konva Stage attaches to */
.stage-container {
  width: 100%;
  height: 100%;
}

/* preview header row "Preview" + gear button */
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

/* gear button */
.preview-settings-btn {
  background: #e5e7eb;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: .8rem;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

/* toggleable advanced settings panel */
.preview-settings.hidden {
  display: none;
}
.preview-settings {
  margin-top: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  max-height: 200px;
  overflow-y: auto;
  font-size: .8rem;
}

.settings-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.settings-row label {
  font-size: .7rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.settings-input {
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: .8rem;
}

/* tip under preview */
.preview-footnote {
  font-size: .7rem;
  color: #64748b;
  margin-top: 8px;
}

.mark-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}
.modal-sub {
  font-size: 0.8rem;
  color: #6b7280;
}
.modal-close-btn {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #475467;
  border-radius: 6px;
  line-height: 1;
  font-size: 0.8rem;
  padding: 4px 6px;
  cursor: pointer;
}
.modal-close-btn:hover {
  background: #e5e7eb;
}

.mark-modal-body {
  padding: 20px;
}

.new-mark-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
}
.form-field.full-width {
  flex-basis: 100%;
  min-width: 100%;
}
.form-field label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #475467;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.text-input,
.text-area-input,
select.text-input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 8px 10px;
  color: #1f2937;
}
.text-input:focus,
.text-area-input:focus,
select.text-input:focus {
  outline: 2px solid #6366f1;
  outline-offset: 0;
  border-color: #6366f1;
}

.text-area-input {
  min-height: 70px;
  resize: vertical;
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-save-mark {
  background: #16a34a;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(22,163,74,0.3);
}
.btn-save-mark:hover {
  background: #15803d;
}

.btn-cancel-mark {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  color: #475467;
}
.btn-cancel-mark:hover {
  background: #f9fafb;
}
/* =============== Estimate Systems Dropdown =============== */

.systems-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.btn-systems {
  background-color: #1f4a8f;          /* deep blue */
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.btn-systems .plus {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.btn-systems:hover {
  background-color: #16386c;
  color: #fff;
}

/* The floating panel */
.systems-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 320px;          /* make it wider than default */
  max-width: 360px;          /* cap so it doesn't get crazy wide */
  max-height: 400px;         /* if lots of series, scroll inside */
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  box-shadow:
    0 16px 32px rgb(0 0 0 / 0.12),
    0 4px 8px rgb(0 0 0 / 0.06);
  padding: 12px;
  z-index: 9999;
}

/* Hide helper */
.hidden {
  display: none !important;
}

/* Vendor grouping */
.vendor-group + .vendor-group {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.vendor-header {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #4a5568; /* gray-ish */
  margin-bottom: 8px;
}

/* the individual system buttons */
.system-option {
  display: block;
  width: 100%;
  text-align: left;
  background: #f8fafc;           /* light gray/white */
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;

  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;

  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;

  box-shadow: 0 1px 1px rgb(0 0 0 / 0.04);
}

.system-option:hover {
  background: #eef4ff;              /* faint blue */
  border-color: #1f4a8f;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.08);
  color: #1f4a8f;
}

/* Make long names wrap nicely without exploding height */
.system-option {
  word-break: break-word;
  white-space: normal;
}

/* Scrollbar prettier (optional Chrome/WebKit only) */
.systems-menu::-webkit-scrollbar {
  width: 6px;
}
.systems-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.systems-menu::-webkit-scrollbar-thumb {
  background: #c2c2c2;
  border-radius: 3px;
}
.systems-menu::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* =============== Modal styling touch-ups (optional) =============== */

.mark-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5vh;
  z-index: 10000;
}

.mark-modal-overlay.hidden {
  display: none !important;
}


.mark-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 16px 20px;
}

.modal-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin-bottom: 4px;
}

.modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.modal-sub {
  font-size: .8rem;
  color: #4b5563;
  margin-top: 4px;
}

.modal-close-btn {
  background: transparent;
  border: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  line-height: 1;
  cursor: pointer;
}
.modal-close-btn:hover {
  color: #1f2937;
}

.mark-modal-body {
  padding: 20px;
  font-size: .9rem;
  color: #1f2937;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  flex-basis: 100%;
}

.form-field label {
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #475569;
}

.text-input,
.text-area-input,
select.text-input {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: .9rem;
  line-height: 1.4;
  font-family: inherit;
  color: #111827;
  background-color: #fff;
}
.text-input:focus,
.text-area-input:focus,
select.text-input:focus {
  outline: 2px solid #1f4a8f33;
  border-color: #1f4a8f;
}

.text-area-input {
  min-height: 70px;
  resize: vertical;
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 16px;
}

.btn-save-mark {
  background-color: #1f4a8f;
  border: 0;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  font-size: .9rem;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.2;
}
.btn-save-mark:hover {
  background-color: #16386c;
}

.btn-cancel-mark {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
  color: #374151;
  font-weight: 500;
  border-radius: 6px;
  font-size: .9rem;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.2;
}
.btn-cancel-mark:hover {
  background-color: #f9fafb;
}

/* layout split inside modal body */
.mark-modal-content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.mark-form-col {
  flex: 1 1 360px;
  min-width: 300px;
}

.mark-preview-col {
  flex: 0 0 260px;
  max-width: 260px;
  min-width: 240px;
  display: flex;
}

/* the preview card on the right */
.preview-card {
  background: #f9fafb;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
  padding: 12px 12px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.preview-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 8px;
}
.preview-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 2px;
}

/* canvas wrapper box */
.preview-stage-wrapper {
  background: repeating-conic-gradient(#fff 0% 25%, #f2f4f7 0% 50%) 50% / 12px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  width: 100%;
  height: 358px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

#konvaStageContainer {
  width: 220px;
  height: 140px;
}

/* metadata under preview */
.preview-meta {
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.4;
}
.preview-label {
  font-weight: 600;
  color: #334155;
}

/* --- modal two-column body --- */
.modal-body-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mark-form-col {
  flex: 1 1 260px;
  min-width: 260px;
}

.mark-preview-col {
  flex: 1 1 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

/* preview header row */
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.preview-settings-btn {
  background: #1f4a8f;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: .7rem;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}
.preview-settings-btn:hover {
  background: #16386c;
}

/* resizable preview box */
.preview-stage-wrapper {
  border: 1px solid #999;
  background: #f8f9fa;
  border-radius: 6px;
  resize: both;             /* <- draggable bottom-right corner */
  overflow: auto;
  min-width: 220px;
  min-height: 358px;
  /* max-width: 600px; */
  max-height: 600px;
  position: relative;
  margin-bottom: 12px;
}

/* The div Konva will inject its <canvas> into */
.stage-container {
  width: 100%;
  height: 100%;
  min-width: 200px;
  min-height: 200px;
  position: relative;
}

/* settings panel under preview */
.preview-settings {
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  border-radius: 6px;
  padding: 12px;
  font-size: .8rem;
  color: #1e293b;
  margin-bottom: 8px;
}
.preview-settings.hidden {
  display: none;
}
.settings-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.settings-row label {
  font-size: .75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 2px;
}
.settings-row small {
  font-size: .7rem;
  color: #6b7280;
}


/* helper */
.hidden {
  display: none !important;
}
.coi {
    width: 1020px;
    height:1320px;
    background-size: contain;
    -webkit-print-color-adjust: exact;
}
.date {
    position: relative;
    float: right;
    top: 58px;
    right: 62px;
    font-family: Arial, Helvetica, sans-serif;
    font-size:15px;
}
.bi-printer {
    font-size: 50px;
    margin-left: 942px;
    cursor: pointer;
}
.certificate_holder_address_city, .certificate_holder_address_state, .certificate_holder_address_zip {
    display: inline;
}
.certificate_holder_box {
    /* background-color: lightblue; */
    opacity: 1;
    width: 482px;
    height:132px;
    position: relative;
    top: 1105px;
    left: 28px;
    padding-left: 96px;
}
.certificate_holder_name, .certificate_holder_address_part1, .certificate_holder_address_city, .certificate_holder_address_state, .certificate_holder_address_zip {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: black;
    /* z-index: 1; */
    margin: 0;
    line-height: 1;
}
.certificate_holder_name {
    line-height: 2;
}
.certificate_holder_address_part1 {
    line-height: .8;
    font-size: 13px;
}
.certificate_holder_address_state {
    margin-left:170px;
}
.certificate_holder_address_zip {
    margin-left:27px;
}

@page {
    margin: 0;
}

@media print {
    body {
      width: 8.5in; /* Set width to 8.5 inches */
      height: 11in; /* Set height to 11 inches */
      margin: 0; /* Remove default margins */
      overflow: hidden; /* Hide any overflow content */
    }

    #certform, #header, .notice,.alert, h1, #insurance_9 > div, #printbtn, #main > p:nth-child(3) {
        display: none !important;
        position: absolute !important;
    }
    .coi {
        margin-top:-105px;
    }
    #addinsbtn {
        display: none;
    }
    /* Additional styles for specific elements or content */
  }
.card-merch {
    width:300px !important;
}
.inputcolor {
    width:20px;
    height:20px;
    border-radius: 100px;
    overflow: hidden;
    padding: 0px;
    border: none;
}
.form-check-label {
    font-size:12px;
}



#permitstatuslink {
    color: black;
    text-decoration: none;
}
.list-group-item {
    padding:1px !important;
}
.colorcontainer {
    width:60px;
    height:40px;
    border-radius: 60px;
    display: inline-block;
    padding: 10px;
    margin-bottom: 20px;
    font-size:12px;
    text-align: center;
    color:white;
    cursor: pointer;
}
.list-group-item {
    border: 0 !important;
}
/* =========================
   CSS VARIABLES + BASE
   ========================= */

:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-chip: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #d8dee9;
  --radius-md: 8px;
  --radius-sm: 4px;
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.04);
  --brand-blue: #1e3a8a;
  --accent-purple: #5b21b6;
  --accent-green: #15803d;
  --accent-yellow: #b45309;
  --accent-red: #b91c1c;
}

/* Page background + default text rules */
body {
  font-family: "Roboto", sans-serif;
  background: var(--bg-page);
  margin: 0 auto;
  color: var(--text-primary);
}

/* container for entire project show page */
.project-page {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  row-gap: 1rem;
  padding: 1rem;
}

/* make sure main content in this page is left-aligned */
.project-page .main-container {
  text-align: left !important;
  max-width: 100% !important;
  height: auto !important;
  display: grid;
  row-gap: 1rem;
}

/* =========================
   PROJECT HEADER BAR
   ========================= */

.project-header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1rem;

  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.75rem 1rem;
}

.ph-left-wrapper {
  padding-right: 1rem;
  border-right: 1px solid var(--border-color);
}

.back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-blue);
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}

.ph-center {
  min-width: 0;
}
.ph-line-main {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.3;
}
.ph-label {
  color: var(--text-primary);
  font-weight: 600;
}
.dot {
  color: var(--text-secondary);
  font-weight: 400;
}
.ph-address {
  color: var(--text-primary);
  font-weight: 500;
}

.btn-outline-project {
  background: #fff;
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2;
  display: inline-block;
  white-space: nowrap;
}
.btn-outline-project:hover {
  background: rgba(30, 58, 138, 0.06);
}

/* =========================
   SUMMARY STRIP / CHIPS
   ========================= */

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.75rem 1rem;
}

.summary-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: var(--bg-chip);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
  line-height: 1.25;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.summary-chip-label {
  color: var(--text-secondary);
  margin-right: 0.4rem;
  font-weight: 500;
}

.summary-chip-value {
  color: var(--text-primary);
  font-weight: 600;
}

.chip-badge {
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  margin-left: 0.5rem;
}
.badge-green  { background: var(--accent-green); }
.badge-yellow { background: var(--accent-yellow); }
.badge-gray   { background: var(--text-secondary); }

/* =========================
   CUSTOM TAB BAR
   ========================= */

.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.5rem 0.75rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn i {
  font-size: 0.9rem;
  line-height: 1;
}

.tab-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.tab-btn:not(.active):hover {
  background: rgba(30,58,138,0.07);
  color: var(--brand-blue);
}

/* hide/show sections */
.tab-section {
  display: none;
  background: transparent;
}
.tab-section.active {
  display: block;
}

/* =========================
   ESTIMATES LIST TABLE
   ========================= */

.estimates-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.estimates-header-left {
  display: grid;
  row-gap: 0.25rem;
}

.estimates-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.estimates-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-new-estimate {
  background: var(--accent-purple);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}
.btn-new-estimate:hover {
  opacity: 0.9;
}

.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.estimates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 900px;
}

.estimates-table thead th {
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  background: #f9fafb;
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0.75rem;
  white-space: nowrap;
}

.estimates-table tbody td {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 400;
  padding: 0.75rem;
  vertical-align: top;
  background: #fff;
}

.estimate-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8rem;
}

.muted {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.4;
}

.status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.4rem;
  line-height: 1.2;
  display: inline-block;
}
.status-approved  { background: var(--accent-green); }
.status-draft     { background: var(--text-secondary); }
.status-submitted { background: var(--accent-yellow); }

.text-right {
  text-align: right;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.action-btn {
  font-size: 0.7rem;
  line-height: 1.2;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 500;
  background: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.action-open {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: #ecfdf5;
}
.action-edit {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #eff6ff;
}
.action-delete {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: #fef2f2;
}

/* =========================
   LEGACY / EXISTING RULES
   (kept because your partials rely on them)
   ========================= */

.searchbar {
  margin-left: auto;
  margin-right: auto;
}

#home_icon, #owner_icon, #pm_icon, #permit_icon{
  fill: #dfe0e2;
  animation-fill-mode: both;
  width: 15px;
  height: 15px;
  margin-bottom: 4px;
  margin-right: 4px;
}

#approved {
  fill: #227ded;
  width: 25px;
  height: 25px;
}

div.card-header {
  height: 35px;
}

div.well {
  background-color: #227ded;
  color: white;
}

.card {
  display: inline-block!important;
}

.project_number {
  padding:10px;
  color: gray;
}

/* NOTE:
   .main-container already overridden above for .project-page .main-container
   keeping your generic fallback here for other pages */
.main-container, .card {
  text-align: -webkit-center!important;
  max-width: 100% !important;
  height: auto !important;
}

.permitStatusDropdown {
  background-color: #2c548400 !important;
  color: black;
  width: 165px; 
  font-size: 13px; 
  height: 35px;
  font-family: sans-serif;
} 

.circle-wrap {
  margin: 75px auto;
  width: 75px;
  height: 75px;
  background: #fefcff;
  display: inline-block;
  margin-top:10px;
  margin-bottom:6px;
  position: relative;
}

.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
  width: 75px;
  height: 75px;
  position: absolute;
  border-radius: 50%;
}

.mask .fill {
  clip: rect(0px, 75px, 150px, 0px);
  background-color: #227ded;
}

.circle-wrap .circle .mask {
  clip: rect(0px, 75px, 75px, 37px);
}
.mask.full,
.circle .fill {
  animation: fill ease-in-out 1s;
  transform: rotate(180deg);
}
@keyframes fill{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
.circle-wrap .inside-circle {
  width: 61px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  line-height: 62px;
  text-align: center;
  margin-top: 8px;
  margin-left: 7px;
  color: #1e51dc;
  position: absolute;
  z-index: 100;
  font-weight: 700;
  font-size: 1.25em;
}
.circle-wrap:after {
  margin:0;
}

.window, .door {
  width: 20px;
  height: 36px;
  display: inline-block;
}
.doorcontainer {
  background-color: rgb(44 84 132);
}
.windowcontainer {
  background-color: rgb(44 84 132);
}
.doorwindowcontainer {
  width:80px !important;
  height: 80px;
  display: inline-block;
  margin:2px;
  font-size: .7rem;
  border-radius: 89px !important;
  color:white;
}
.windowdoorcount {
  font-size:1rem!important;
  color:#1e51dc!important;
  display: block;
}

#online-link {
  font-size: 12px;
  color: blue;
  text-decoration: none;
}
.form-control {
  margin-bottom:5px;
}

.card-project-info {
  padding:2px !important;
  padding-top:0;
  padding-bottom:0;
  margin-bottom: 10px !important;
  width:380px;
}
#progresscontainer {
  height:45px;
}
.installimage {
  width: 500px;
}
.permit-info-container {
  width:265px;
}
#main > div.container.main-container > div > div:nth-child(3) > div:nth-child(4) {
  margin-bottom:10px;
}
.info-card {
  width:100%;
}
.slimcard {
  padding: 10px !important;
  padding-top:0px;
  margin-bottom: 5px !important;
  font-size: smaller !important;
  margin: 0px !important;
}

.fa-map {
  font-size: 22px!important;
  color: #2c5484;
  padding:10px;
  text-decoration: none;
}

.today_marker_text {
  transform: rotate(90deg);
  position: relative;
  margin-top: 20px;
  color: white !important;
  font-size: small;
}

.card-header {
  position: relative;
  padding: 0px !important;
  height: 25px!important;
} 

ul.timeline {
  list-style-type: none;
  position: relative;
}
ul.timeline:before {
  content: ' ';
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}
ul.timeline > li {
  margin: 5px 0;
  padding-left: 0px;
}
ul.timeline > li:before {
  content: ' ';
  background: lightgray;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22c0e8;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}

.form-check-input {
  width:16px !important;
  height:16px !important;
  margin-bottom: 0;
}
.form-check {
  margin:0 !important;
  min-height: 0px !important;
}
#defaultCheck1 {
  border-radius: 3rem;
  margin-right: 10px;
}

.card-project-permit {
  text-align: left !important;
  padding-top:0 !important;
  padding:5px !important;
  margin-bottom: 5px !important;
}

#taskscompleted, .ptask {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.infotable {
  width: 100%;
}

.float-left {
  float:left;
}
.float-right {
  float:right;
}
.permit_number {
  border-radius: 50px !important;
  color:white;
}
#savebtn {
  padding: 0;
}

.tablestyle {
  font-family: 'Nunito';
  font-size: smaller;
  overflow: scroll;
}

.addresslink {
  text-decoration: none !important;
}

#accordionFlushOptionalinfo {
  border-width: medium;
  border: dotted;
  border-color: #4169e17d;
  border-radius: 15px;
}

#contractamountlabel {
  color:white;
  height: auto;
}
.contract-amount {
  height: 35px;
  border-radius: .23rem;
  padding:8px;
}
.progress {
  width:100%;
}

.projectdescription {
  font-size:13px;
  padding:4px !important;
}

/* responsive tweaks */
@media only screen and (max-width: 600px) {
  .section-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }
  .tab-btn {
    flex-shrink: 0;
  }

  .searchbar {
    width: 100% !important;
  }

  .infotable {
    width: 100%;
    font-size:small;
  }

  #project_table {
    width:800px;
  }

  .hideonmobile {
    display: none;
  }
}

@media only screen and (min-width: 601px) and (max-width: 1400px)  {
  #project_table {
    width:1200px;
  }

  .hideonmobile {
    display: none;
  }

  #projectaddress {
    width:220px;
  }
}

/* ===== ESTIMATE FORM STYLES ===== */

.est-form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  color: var(--text-primary, #1e293b);
}

.est-form-header {
  margin-bottom: 1rem;
}

.est-headline {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  line-height: 1.3;
  margin: 0 0 .5rem 0;
}

.est-form-meta {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary, #64748b);
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: .25rem;
}

/* Card container */
.est-form-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d8dee9);
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-card, 0 8px 24px rgba(15, 23, 42, 0.04));
  padding: 1rem 1.25rem 1.5rem;
}

/* Error box */
.est-error-box {
  border: 1px solid var(--accent-red, #b91c1c);
  background: rgba(185, 28, 28, 0.05);
  color: var(--accent-red, #b91c1c);
  border-radius: var(--radius-sm, 4px);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .8rem;
}
.est-error-box ul {
  margin: .5rem 0 0 1rem;
  padding: 0;
}

/* Section headers */
.est-section {
  margin-bottom: 1.25rem;
}

.est-section-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .5rem;

  display: flex;
  align-items: center;
  gap: .5rem;
}

.est-section-title::before {
  content: "";
  width: 4px;
  height: 1rem;
  border-radius: 2px;
  background: var(--brand-blue, #1e3a8a);
}

/* Responsive grids */
.est-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr));
  gap: 1rem;
}

.est-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

/* Field block */
.est-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  margin-bottom: .3rem;
  line-height: 1.2;
}

.est-input {
  width: 100%;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-primary, #1e293b);
  background: #fff;

  border: 1px solid var(--border-color, #d8dee9);
  border-radius: var(--radius-sm, 4px);

  padding: .55rem .6rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);

  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.est-input:focus {
  outline: 2px solid rgba(30,58,138,.2);
  border-color: var(--brand-blue, #1e3a8a);
}

/* textarea tweaks */
.est-textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Actions row */
.est-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color, #d8dee9);
  padding-top: 1rem;
}

.est-btn {
  appearance: none;
  border-radius: var(--radius-sm, 4px);
  font-size: .85rem;
  line-height: 1.2;
  font-weight: 600;
  padding: .6rem .9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* primary (Save / Update) */
.est-btn-primary {
  background: var(--brand-blue, #1e3a8a);
  color: #fff;
  border-color: var(--brand-blue, #1e3a8a);
  box-shadow: 0 4px 10px rgba(30,58,138,.25);
}
.est-btn-primary:hover {
  background: #253fa3;
}

/* secondary (Cancel) */
.est-btn-secondary {
  background: #fff;
  color: var(--text-secondary, #64748b);
  border: 1px solid var(--border-color, #d8dee9);
}
.est-btn-secondary:hover {
  background: #f8fafc;
  color: var(--text-primary, #1e293b);
}
/* ===== PROJECT FORM (card + sections) ===== */

.prj-form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  color: var(--text-primary, #1e293b);
}

.prj-form-header {
  margin-bottom: 1rem;
}
.prj-headline {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 .4rem 0;
  color: var(--text-primary, #1e293b);
}
.prj-form-meta {
  font-size: .85rem;
  color: var(--text-secondary, #64748b);
  display: flex;
  gap: 1rem .75rem;
  flex-wrap: wrap;
}

.prj-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  padding: 1rem 1.25rem 1.25rem;
}

/* errors */
.prj-error-box {
  border: 1px solid #b91c1c;
  background: rgba(185, 28, 28, .06);
  color: #b91c1c;
  border-radius: 6px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.prj-error-box ul { margin: .5rem 0 0 1rem; }

/* sections */
.prj-section { margin-bottom: 1.25rem; }
.prj-section-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-secondary, #64748b);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .65rem;
  display: flex; align-items: center; gap: .5rem;
}
.prj-section-title::before {
  content: ""; width: 4px; height: 1rem; border-radius: 2px;
  background: var(--brand-blue, #1e3a8a);
}

/* grids */
.prj-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr));
  gap: 1rem;
}
.prj-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* fields */
.prj-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .3rem;
  color: var(--text-primary, #1e293b);
}
.prj-input {
  width: 100%;
  font-size: .95rem;
  line-height: 1.35;
  color: var(--text-primary, #111827);
  background: #fff;
  border: 1px solid var(--border-color, #d1d5db);
  border-radius: 6px;
  padding: .6rem .7rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  appearance: none;
}
.prj-input:disabled { background: #f5f7fb; color: #6b7280; }
.prj-input:focus {
  outline: 2px solid rgba(30,58,138,.18);
  border-color: var(--brand-blue, #1e3a8a);
}
.prj-help { display:block; margin-top:.3rem; color:#6b7280; font-size:.75rem; }

/* details (collapsible optional info) */
.prj-details {
  border: 1px dashed rgba(65,105,225,.35);
  border-radius: 8px;
  padding: .5rem .75rem;
  background: #f9fbff;
  margin: .25rem 0 1rem 0;
}
.prj-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-blue, #1e3a8a);
  list-style: none;
}
.prj-details summary::-webkit-details-marker { display:none; }
.prj-details summary::after {
  content: "▸";
  margin-left: .5rem;
  transition: transform .2s ease;
}
.prj-details[open] summary::after { transform: rotate(90deg); }
.prj-details-body { margin-top: .75rem; }

/* actions */
.prj-actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  border-top: 1px solid var(--border-color, #e5e7eb);
  padding-top: 1rem; margin-top: .5rem;
}
.prj-btn {
  border-radius: 6px;
  padding: .6rem .95rem;
  font-size: .9rem; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid transparent; cursor: pointer;
}
.prj-btn-primary {
  background: var(--brand-blue, #1e3a8a);
  color: #fff; border-color: var(--brand-blue, #1e3a8a);
  box-shadow: 0 6px 16px rgba(30,58,138,.25);
}
.prj-btn-primary:hover { background: #253fa3; }
.prj-btn-secondary {
  background: #fff; color: #475569;
  border: 1px solid var(--border-color, #d1d5db);
}
.prj-btn-secondary:hover { background: #f8fafc; color:#111827; }

/* ============ PAGE HEADER ============ */

.projects-page-header {
  max-width: 1280px;
  margin: 0 auto 1rem auto;
  padding: 1rem 1rem 0;
  color: #1e293b;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.projects-page-header .left {
  width: 100%;
}

.title-row {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.page-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}
.breadcrumb-mini {
  font-size: .8rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.breadcrumb-mini a {
  color: #475569;
  text-decoration: none;
}
.breadcrumb-mini a:hover {
  text-decoration: underline;
}

/* top row: actions + search */
.actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1rem;
  gap: .75rem 1rem;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.btn-solid-primary {
  background: #1e3a8a;
  border: 1px solid #1e3a8a;
  color: #fff;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.2rem;
  padding: .6rem .9rem;
  box-shadow: 0 8px 20px rgba(30,58,138,.25);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-solid-primary:hover {
  background: #253fa3;
  text-decoration: none;
  color: #fff;
}

.btn-outline-neutral {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.2rem;
  padding: .6rem .8rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.btn-outline-neutral:hover {
  background: #f8fafc;
  text-decoration: none;
  color: #0f172a;
}
.map-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.search-wrap {
  flex: 1;
  min-width: 220px;
  max-width: 360px;
}
.search-input {
  width: 100%;
  font-size: .9rem;
  line-height: 1.3rem;
  padding: .6rem .75rem;
  border-radius: .5rem;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.search-input:focus {
  outline: 2px solid rgba(30,58,138,.15);
  border-color: #1e3a8a;
}

/* filters row */
.filters-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  align-items: flex-start;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: .4rem .7rem .4rem .5rem;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
}
.chip.is-active {
  border-color: #1e3a8a;
  background: rgba(30,58,138,.07);
  color: #1e3a8a;
  font-weight: 600;
}
.chip-count {
  min-width: 1.25rem;
  min-height: 1.25rem;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.25rem;
  color: #0f172a;
  background: #e2e8f0;
  border-radius: 999px;
  text-align: center;
  padding: 0 .4rem;
}
.chip-working { background: #fff3c5; color: #92400e; }     /* yellow-ish */
.chip-attention { background: #fee2e2; color: #b91c1c; }   /* red-ish   */
.chip-approved { background: #d1fae5; color: #065f46; }   /* green-ish */
.chip-closed { background: #e2e8f0; color: #475569; }     /* gray-ish  */

.open-contracts-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  background: #1e3a8a;
  color: #fff;
  border-radius: .5rem;
  padding: .6rem .8rem;
  box-shadow: 0 10px 20px rgba(30,58,138,.25);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1rem;
}
.open-contracts-amount {
  font-weight: 600;
}
.open-contracts-label {
  opacity: .85;
}

/* ============ TABLE ============ */

.projects-table-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: .5rem 1rem 2rem;
  overflow-x: auto;
}

.table-projects {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  color: #0f172a;
  min-width: 980px;
}
.table-projects thead th {
  text-align: left;
  font-size: .7rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .03em;
  color: #64748b;
  border-bottom: 2px solid #cbd5e1;
  padding: .5rem .75rem;
  white-space: nowrap;
}
.table-projects tbody tr.project-row {
  border-bottom: 1px solid #e2e8f0;
}
.table-projects tbody td {
  vertical-align: middle;
  padding: .75rem .75rem;
  line-height: 1.3rem;
  color: #0f172a;
}

/* col sizing helpers */
.col-num { width: 48px; }
.col-project { min-width: 260px; }
.col-city { width: 110px; }
.col-qty { width: 90px; }
.col-progress { width: 120px; }
.col-status { width: 170px; }
.col-noc { width: 100px; }
.col-value { width: 110px; text-align:right; }
.col-permitnum { width: 110px; }
.col-view { width: 40px; text-align:center; }

/* project # badge with colored left border */
.num-badge {
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-left-width: 4px;
  border-radius: .5rem;
  padding: .4rem .5rem;
  font-size: .8rem;
  line-height: 1rem;
  min-width: 2.25rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

/* project info block */
.project-link {
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
  line-height: 1.4;
}
.project-link:hover {
  text-decoration: underline;
}
.proj-secondline {
  font-size: .8rem;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.dot-sep {
  color: #94a3b8;
}
.proj-contact {
  font-weight: 500;
  color: #334155;
}
.proj-scope {
  font-weight: 400;
  color: #475569;
}

/* qty chips */
.qty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.qty-chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  padding: .3rem .5rem;
  font-size: .75rem;
  line-height: 1rem;
  color: #334155;
  font-weight: 500;
  min-width: 2.5rem;
  justify-content: center;
}
.qty-label {
  font-weight: 600;
  color: #475569;
}
.qty-val {
  color: #0f172a;
  font-weight: 600;
}

/* progress bar */
.progress-outer {
  width: 100%;
  height: .9rem;
  background: #f1f5f9;
  border-radius: .4rem;
  border: 1px solid #cbd5e1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
}
.progress-inner {
  height: 100%;
  min-width: .9rem;
  border-radius: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 600;
  color: #0f172a;
  text-shadow: 0 1px 1px rgba(255,255,255,.75);
}

/* permit status pill / select */
.permit-status-select-wrap {
  --permit-bg: #f1f5f9;
  --permit-border: #cbd5e1;
  position: relative;
  background: var(--permit-bg);
  border: 1px solid var(--permit-border);
  border-radius: .5rem;
  min-height: 2rem;
  padding: 0 .5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.permit-select {
  appearance: none;
  border: none;
  background: transparent;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1rem;
  padding: .4rem 1.5rem .4rem .25rem; /* leave space before caret */
  width: 100%;
  color: #0f172a;
  cursor: pointer;
}
.permit-select:focus {
  outline: none;
}
.permit-caret {
  pointer-events: none;
  position: absolute;
  right: .5rem;
  font-size: .8rem;
  line-height: 1rem;
  color: #475569;
}

/* noc pill */
.noc-pill {
  font-size: .7rem;
  font-weight: 600;
  line-height: 1rem;
  background: #e0f2fe;
  color: #075985;
  padding: .3rem .5rem;
  border-radius: .5rem;
  border: 1px solid #bae6fd;
  display: inline-block;
}

/* view link */
.view-icon {
  font-size: 1.5rem;
}
.view-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* responsive tweaks */
@media(max-width: 700px){
  .filters-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .open-contracts-pill {
    order: -1;
  }
}
:root{
  --sidebar:480px; --bg:#fff; --panel:#f8fafc; --ink:#111827; --ink-dim:#475569; --border:#cbd5e1;
  --accent:#2c5484; --shadow:0 12px 30px rgba(0,0,0,.14);
}
* {box-sizing:border-box}
body {margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;background:var(--bg);color:var(--ink)}
.app {display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);height:100vh;transition:grid-template-columns .25s ease}
aside {padding:14px;background:var(--panel);border-right:1px solid var(--border);overflow:auto;position:relative}

.sidehead {display:flex;align-items:center;justify-content:space-between;gap:10px}
.sidehead h1 {font-size:16px;margin:0}
.head-actions {display:flex;gap:8px;align-items:center}
.hint {color:var(--ink-dim);font-size:12px;line-height:1.3;margin:8px 0 12px}
h2 {font-size:12px;margin:14px 0 6px;color:var(--ink-dim);text-transform:uppercase;letter-spacing:.06em}

.section {border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden;margin-bottom:10px}
.section .head {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;cursor:pointer;user-select:none}
.section .head h3 {margin:0;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#475569}
.chev {transition:transform .2s ease}
.section.collapsed .chev {transform:rotate(-90deg)}
.section .body {max-height:760px;overflow:hidden;transition:max-height .25s ease}
.section.collapsed .body {max-height:0}

.marklist,.labellist {display:grid;gap:6px;padding:10px}
.item,.label-item {display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:8px;background:#fff;border:1px solid var(--border);font-size:12px;color:#111827;width:100%;min-width:0}
.item .left,.label-item .left {display:flex;align-items:center;gap:8px;flex:1;min-width:0;cursor:pointer}
.item .txt,.label-item .txt {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:200px}
.dot {width:10px;height:10px;border-radius:999px;flex:0 0 10px}
.dot.window {background:#f59e0b}
.dot.door {background:#f97316}

#previewStageWrapper { height: 320px; }
#stage-container { width: 100%; height: 100%; }

.action-btn {
  flex:0 0 auto;background:#fff;border:1px solid var(--border);color:#111827;
  border-radius:999px;width:28px;height:24px;display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;cursor:pointer;transition:transform .05s,box-shadow .05s;line-height:0;
}
.action-btn i {font-size:14px;line-height:0}
.action-btn:active {transform:translateY(1px);box-shadow:inset 0 2px 3px #0001}
.reset-btn {display:none}

.restore-badges {display:flex;flex-wrap:wrap;gap:6px;padding:10px}
.badge {display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#1e3a8a;cursor:pointer;border:1px solid #c7d2fe;font-size:12px}
.badge i {font-size:14px}

.item.highlight.window {outline:2px solid #f59e0b;box-shadow:0 0 0 3px #f59e0b33}
.item.highlight.door {outline:2px solid #f97316;box-shadow:0 0 0 3px #f9731633}
.label-item.highlight {outline:2px solid #2c5484;box-shadow:0 0 0 4px #2c548455}
.item.placed {border-color:#10b981}

.field {display:grid;grid-template-columns:170px 1fr;gap:8px;margin:8px 10px;align-items:center}
.field label {color:#475569;font-size:12px}
input[type="text"],input[type="number"],select {background:#fff;border:1px solid var(--border);color:#111827;padding:8px 10px;border-radius:8px;outline:none;width:100%}
input[type="range"] {accent-color:var(--accent);width:100%}

.toggle-row {display:flex;align-items:center;gap:8px;padding:8px 10px}
.toggle {display:inline-flex;align-items:center;gap:10px}
.toggle .toggle-label {font-size:12px;color:#475569}
.switch {position:relative;width:44px;height:24px;flex:0 0 44px}
.switch input {position:absolute;inset:0;opacity:0}
.switch .track {position:absolute;inset:0;background:#cbd5e1;border-radius:999px;transition:.18s ease all}
.switch .thumb {position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:.18s ease transform}
.switch input:checked + .track {background:#2c5484}
.switch input:checked + .track .thumb {transform:translateX(20px)}

button {background:var(--accent);color:#fff;border:none;padding:8px 10px;border-radius:8px;font-weight:700;cursor:pointer}

.stage-wrap {position:relative;height:100vh;overflow:hidden}
#stage {width:100%;height:100%;touch-action:none;background:#fff}

.zoombar {position:absolute;right:12px;top:12px;display:flex;flex-direction:column;gap:8px;z-index:3}
.zoombar button {background:#ffffffee;color:#111827;border:1px solid var(--border);border-radius:10px;padding:8px 12px;font-weight:800}
.legend {position:absolute;left:12px;top:12px;transform:translateY(56px);background:#ffffffee;border:1px solid var(--border);
  padding:8px 10px;border-radius:10px;font-size:12px;color:#111;z-index:2;max-width:360px
}

.sdg-sidebar-hidden .app {grid-template-columns:0 1fr}
.sdg-sidebar-hidden aside {transform:translateX(-100%)}
.sdg-sidebar-shown .app {grid-template-columns:var(--sidebar) 1fr}
.sdg-sidebar-shown aside {transform:none}

.compass-overlay {
  position:absolute; z-index:6; width:280px; background:#ffffffee; border:1px solid var(--border);
  border-radius:12px; box-shadow:var(--shadow); padding:10px 10px 12px; display:none; backdrop-filter:blur(6px);
}
.co-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.co-head strong {font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#475569}
.co-close {border:1px solid var(--border);background:#fff;color:#111;border-radius:10px;padding:2px 10px;font-weight:900}
.co-row {display:grid;grid-template-columns:92px 1fr 56px;gap:8px;align-items:center;margin-top:8px}
.co-row label {font-size:12px;color:#475569}
.co-row span {font-size:12px;color:#111827;text-align:right}
.co-actions {display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.co-actions button {background:#fff;color:#111;border:1px solid var(--border);border-radius:10px;padding:6px 10px;font-weight:900}

.print-fab {
  position:absolute; right:14px; bottom:14px; z-index:7;
  display:flex; align-items:flex-end; gap:10px;
}
.fab-btn {
  width:54px; height:54px; border-radius:999px; border:1px solid #0b1f3a22;
  background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 16px 40px rgba(0,0,0,.22); cursor:pointer;
}
.fab-btn i {font-size:22px}
.fab-panel {
  width:320px; border-radius:16px; background:#ffffffee; border:1px solid var(--border); box-shadow:var(--shadow);
  overflow:hidden; transform-origin:bottom right; transform:scale(.92); opacity:0; pointer-events:none;
  transition:transform .18s ease, opacity .18s ease;
  backdrop-filter:blur(8px);
}
.fab-panel.open {transform:scale(1); opacity:1; pointer-events:auto;}
.fab-head {display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border)}
.fab-head strong {font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#475569}
.fab-close {background:#fff;border:1px solid var(--border);color:#111;border-radius:10px;padding:2px 10px;font-weight:900}
.fab-body {padding:10px 12px;display:grid;gap:8px}
.fab-row {display:flex;gap:8px;align-items:center}
.fab-row .name {flex:1;font-size:13px;font-weight:900;color:#111827}
.mini {
  background:#fff;color:#111;border:1px solid var(--border);border-radius:12px;padding:8px 10px;font-weight:900;
  display:inline-flex;align-items:center;gap:8px;cursor:pointer;
}
.mini i {font-size:16px}
.mini.primary {background:var(--accent);color:#fff;border-color:#0000}
.mini:active {transform:translateY(1px)}
.fab-sub {font-size:12px;color:#475569;margin-top:-2px}

.series-preview {width:100%;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:8px;}
.series-preview canvas {width:100%;height:auto;display:block;border-radius:8px;}
.series-preview .konva-wrap {width:100%;height:320px;border-radius:8px;overflow:hidden}
.series-preview .konva-wrap > div {width:100%!important;height:100%!important}

.hr-missing {font-size:12px;color:#b45309;background:#fffbeb;border:1px solid #fcd34d;padding:8px 10px;border-radius:10px;margin-top:8px}
#logoimage {
    height: 40px;
}

.link {
 font-size: small;
}

@media only screen and (max-width: 600px) {
    
    #logoimage {
        height: 25px;
    }
}

.glazing-dashboard {
  padding: 10px;
}

.tool-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.tool-card-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
}

.tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tool-grid.wide .tool-tile {
  min-width: 130px;
}

.tool-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  min-width: 110px;
  transition: all 0.2s ease;
}

.tool-tile:hover {
  background: #eef2ff;
  transform: translateY(-2px);
}

.tool-icon {
  max-height: 48px;
  margin-bottom: 6px;
}

.tool-tile.single {
  max-width: 160px;
}

.tool-tile.price .badge,
.tool-tile.free .badge {
  margin-top: 6px;
}

.tool-note {
  margin-top: 10px;
  font-size: 0.9rem;
}
.role-select {
    background-color: #2c5484;
    color: white;
    border-radius: 8px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/*  
 body
 {
     margin: 0;
     padding: 0;
     width: 100vw;
     text-align: center;
     background-color: #e8e8e8!important;
 }
 

 body > div.bg-dark {
     margin:0px;
     padding: 20px;
     width: 100vw;
     background-color: #212529;
     text-align: center;
 }


 #logo {
    width: 75px;
 }

 .main-container {
     text-align:center;
 } */
 
 /**
* Template Name: NiceAdmin
* Updated: Nov 17 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Open Sans", sans-serif;
    background: #f6f9ff;
    color: #444444;
  }
  
  a {
    color: #4154f1;
    text-decoration: none;
  }
  
  a:hover {
    color: #717ff5;
    text-decoration: none;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Nunito", sans-serif;
  }

  .merch {
    width:150px;
  }
  .card {
    text-align: center;
    padding: 25px;
    height: 305px;
  }
  .merchprice {
    float: right;
  }
  
  /*--------------------------------------------------------------
  # Main
  --------------------------------------------------------------*/
  #main {
    margin-top: 0px;
    padding: 20px 30px;
    transition: all 0.3s;
  }
  
  @media (max-width: 1199px) {
    #main {
      padding: 20px;
    }
  }
  
  /*--------------------------------------------------------------
  # Page Title
  --------------------------------------------------------------*/
  .pagetitle {
    margin-bottom: 10px;
  }
  
  .pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
  }
  
  /* app/assets/stylesheets/application.css or similar */
.border-flash {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.6); /* red ring */
  transition: box-shadow 0.15s;
}

  /*--------------------------------------------------------------
  # Back to top button
  --------------------------------------------------------------*/
  .back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #2c5484;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
  }
  
  .back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
  }
  
  .back-to-top:hover {
    background: #6776f4;
    color: #fff;
  }
  
  .back-to-top.active {
    visibility: visible;
    opacity: 1;
  }
  
  /*--------------------------------------------------------------
  # Override some default Bootstrap stylings
  --------------------------------------------------------------*/
  /* Dropdown menus */
  .dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
  }
  
  .dropdown-menu .dropdown-header,
  .dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
  }
  
  .dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
  }
  
  .dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
  }
  
  .dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
  }
  
  .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  
  .dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  
  .dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
  }
  
  @media (min-width: 768px) {
    .dropdown-menu-arrow::before {
      content: "";
      width: 13px;
      height: 13px;
      background: #fff;
      position: absolute;
      top: -7px;
      right: 20px;
      transform: rotate(45deg);
      border-top: 1px solid #eaedf1;
      border-left: 1px solid #eaedf1;
    }
  }
  
  @keyframes dropdown-animate {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  
    0% {
      opacity: 0;
    }
  }
  
  /* Light Backgrounds */
  .bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
  }
  
  .bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
  }
  
  .bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
  }
  
  .bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
  }
  
  .bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
  }
  
  .bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
  }
  
  .bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
  }
  
  /* Card */
  .card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  }
  
  .card-header,
  .card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
  }
  
  .card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
  }
  
  .card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
  }
  
  .card-body {
    padding: 0 20px 20px 20px;
  }
  
  .card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
  }
  
  /* Alerts */
  .alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
  }
  
  /* Close Button */
  .btn-close {
    background-size: 25%;
  }
  
  .btn-close:focus {
    outline: 0;
    box-shadow: none;
  }
  
  /* Accordion */
  .accordion-item {
    border: 1px solid #ebeef4;
  }
  
  .accordion-button:focus {
    outline: 0;
    box-shadow: none;
  }
  
  .accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
  }
  
  .accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
  }
  
  .accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
  }
  
  .accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
  }
  
  /* Breadcrumbs */
  .breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
  }
  
  .breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
  }
  
  .breadcrumb a:hover {
    color: #51678f;
  }
  
  .breadcrumb .breadcrumb-item::before {
    color: #899bbd;
  }
  
  .breadcrumb .active {
    color: #51678f;
    font-weight: 600;
  }
  
  /* Bordered Tabs */
  .nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
  }
  
  .nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
  }
  
  .nav-tabs-bordered .nav-link:hover,
  .nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
  }
  
  .nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
  }
  
  /*--------------------------------------------------------------
  # Header
  --------------------------------------------------------------*/
  .logo {
    line-height: 1;
  }
  
  @media (min-width: 1200px) {
    .logo {
      width: 280px;
    }
  }
  
  .logo img {
    max-height: 40px;
    margin-right: 6px;
  }
  
  .logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
  }
  
  .header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
  }
  
  .header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
  }
  
  .header .search-bar {
    min-width: 360px;
    padding: 0 20px;
  }
  
  @media (max-width: 1199px) {
    .header .search-bar {
      position: fixed;
      top: 50px;
      left: 0;
      right: 0;
      padding: 20px;
      box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
      background: white;
      z-index: 9999;
      transition: 0.3s;
      visibility: hidden;
      opacity: 0;
    }
  
    .header .search-bar-show {
      top: 60px;
      visibility: visible;
      opacity: 1;
    }
  }
  
  .header .search-form {
    width: 100%;
  }
  
  .header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
  }
  
  .header .search-form input:focus,
  .header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
  }
  
  .header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
  }
  
  .header .search-form button i {
    color: #012970;
  }
  
  /*--------------------------------------------------------------
  # Header Nav
  --------------------------------------------------------------*/
  .header-nav ul {
    list-style: none;
  }
  
  .header-nav>ul {
    margin: 0;
    padding: 0;
  }
  
  .header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
  }
  
  .header-nav .nav-profile {
    color: #012970;
  }
  
  .header-nav .nav-profile img {
    max-height: 36px;
  }
  
  .header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
  }
  
  .header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
  }
  
  .header-nav .notifications {
    inset: 8px -15px auto auto !important;
  }
  
  .header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  .header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
  }
  
  .header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  
  .header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
  }
  
  .header-nav .messages {
    inset: 8px -15px auto auto !important;
  }
  
  .header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  .header-nav .messages .message-item a {
    display: flex;
  }
  
  .header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
  }
  
  .header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
  }
  
  .header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  
  .header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
  }
  
  .header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
  }
  
  .header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
  }
  
  .header-nav .profile .dropdown-header span {
    font-size: 14px;
  }
  
  .header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  
  .header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  
  .header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
  }
  
  /*--------------------------------------------------------------
  # Sidebar
  --------------------------------------------------------------*/
  .sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
  }
  
  @media (max-width: 1199px) {
    .sidebar {
      left: -300px;
    }
  }
  
  .sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
  }
  
  .sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
  }
  
  @media (min-width: 1200px) {
  
    #main,
    #footer {
      margin-left: 300px;
    }
  }
  
  @media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
      left: 0;
    }
  }
  
  @media (min-width: 1200px) {
  
    .toggle-sidebar #main,
    .toggle-sidebar #footer {
      margin-left: 0;
    }
  
    .toggle-sidebar .sidebar {
      left: -300px;
    }
  }
  
  .sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav .nav-item {
    margin-bottom: 5px;
  }
  
  .sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
  }
  
  .sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4154f1;
    transition: 0.3;
    background: #f6f9ff;
    padding: 10px 15px;
    border-radius: 4px;
  }
  
  .sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
  }
  
  .sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
  }
  
  .sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
  }
  
  .sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
  }
  
  .sidebar-nav .nav-link:hover i {
    color: #4154f1;
  }
  
  .sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
  }
  
  .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
  }
  
  .sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
  }
  
  .sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
  }
  
  .sidebar-nav .nav-content a:hover,
  .sidebar-nav .nav-content a.active {
    color: #4154f1;
  }
  
  .sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
  }
  
  /*--------------------------------------------------------------
  # Dashboard
  --------------------------------------------------------------*/
  /* Filter dropdown */
  .dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
  }
  
  .dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
  }
  
  .dashboard .filter .icon:hover,
  .dashboard .filter .icon:focus {
    color: #4154f1;
  }
  
  .dashboard .filter .dropdown-header {
    padding: 8px 15px;
  }
  
  .dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
  }
  
  .dashboard .filter .dropdown-item {
    padding: 8px 15px;
  }
  
  /* Info Cards */
  .dashboard .info-card {
    padding-bottom: 10px;
  }
  
  .dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
  }
  
  .dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
  }
  
  .dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
  }
  
  .dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
  }
  
  .dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
  }
  
  /* Activity */
  .dashboard .activity {
    font-size: 14px;
  }
  
  .dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
  }
  
  .dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
  }
  
  .dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
  }
  
  .dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
  }
  
  .dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
  }
  
  .dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
  }
  
  /* News & Updates */
  .dashboard .news .post-item+.post-item {
    margin-top: 15px;
  }
  
  .dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
  }
  
  .dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
  }
  
  .dashboard .news h4 a:hover {
    color: #4154f1;
  }
  
  .dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
  }
  
  /* Recent Sales */
  .dashboard .recent-sales {
    font-size: 14px;
  }
  
  .dashboard .recent-sales .table thead {
    background: #f6f6fe;
  }
  
  .dashboard .recent-sales .table thead th {
    border: 0;
  }
  
  .dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
  }
  
  .dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
  }
  
  /* Top Selling */
  .dashboard .top-selling {
    font-size: 14px;
  }
  
  .dashboard .top-selling .table thead {
    background: #f6f6fe;
  }
  
  .dashboard .top-selling .table thead th {
    border: 0;
  }
  
  .dashboard .top-selling .table tbody td {
    vertical-align: middle;
  }
  
  .dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
  }
  
  /*--------------------------------------------------------------
  # Icons list page
  --------------------------------------------------------------*/
  .iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
  }
  
  .iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
  }
  
  .iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
  }
  
  .iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
  }
  
  /*--------------------------------------------------------------
  # Profie Page
  --------------------------------------------------------------*/
  .profile .profile-card img {
    max-width: 120px;
  }
  
  .profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
  }
  
  .profile .profile-card h3 {
    font-size: 18px;
  }
  
  .profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .profile .profile-card .social-links a:hover {
    color: #012970;
  }
  
  .profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
  }
  
  .profile .profile-overview .card-title {
    color: #012970;
  }
  
  .profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
  }
  
  .profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
  }
  
  .profile .profile-edit img {
    max-width: 120px;
  }
  
  /*--------------------------------------------------------------
  # F.A.Q Page
  --------------------------------------------------------------*/
  .faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
  }
  
  .faq .basic p {
    color: #6980aa;
  }
  
  /*--------------------------------------------------------------
  # Contact
  --------------------------------------------------------------*/
  .contact .info-box {
    padding: 28px 30px;
  }
  
  .contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
  }
  
  .contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
  }
  
  .contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }
  
  .contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }
  
  .contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
  }
  
  .contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
  }
  
  .contact .php-email-form input,
  .contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
  }
  
  .contact .php-email-form input:focus,
  .contact .php-email-form textarea:focus {
    border-color: #4154f1;
  }
  
  .contact .php-email-form input {
    padding: 10px 15px;
  }
  
  .contact .php-email-form textarea {
    padding: 12px 15px;
  }
  
  .contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
  }
  
  .contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
  }
  
  @keyframes animate-loading {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  /*--------------------------------------------------------------
  # Error 404
  --------------------------------------------------------------*/
  .error-404 {
    padding: 30px;
  }
  
  .error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
  }
  
  .error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
  }
  
  .error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
  }
  
  .error-404 .btn:hover {
    background: #3e4f6f;
  }
  
  @media (min-width: 992px) {
    .error-404 img {
      max-width: 50%;
    }
  }
  
  /*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/
  .footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
  }
  
  .footer .copyright {
    text-align: center;
    color: #012970;
  }
  
  .footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
  }

  @media only screen and (max-width: 600px) {
    .cardstyle {
      width: 48% !important;
    }
    
    }

    #header > nav > ul > li.nav-item.dropdown.pe-3 > ul > strong > li:nth-child(8) > a > span > form > button {
      padding:0;
    }
    #header > nav > ul > li.nav-item.dropdown.pe-3 > ul > li:nth-child(9) > a > span > form > button {
      padding:0;
    }
    #header > nav > ul > li.nav-item.dropdown.pe-3 > ul > strong > li:nth-child(8) > a > i {
      margin-right:7px;
    }

/*# sourceMappingURL=application.css-45cbf69613e7250122863cafcca80ef67388df8f92b34f64051621ca4c9cacbd.map */
