:root {
    /* Core brand palette */
    --orange-primary: #ff5400;
    --blue-primary: #2c3a5c;
    --blue-primary-hover: #4f5b77;
    --blue-primary-pressed: #727c92;
    --blue-secondary-hover: #edf3fa;
    --blue-secondary-pressed: #d1e0f2;
    --medium-grey: #6b7280;
    --light-grey: rgba(0, 0, 0, 0.2);
    --red-danger: #dc3545;
    --red-hover: #dc262624;
    --link-blue: #177ae5;
}

.page-spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(2px);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.status-dot.green {
  background-color: #14ae5c;
}

.status-dot.yellow {
  background-color: #e8b931;
}

.red {
  color: #ec221f;
}

html,
body {
  font-family: "Inter", sans-serif !important;
}

/* Override syncfusion default font */
.e-control,
[class^="e-"] *:not([class*="e-icon"]) {
  font-family: "Inter", sans-serif !important;
}

.e-breadcrumb .e-breadcrumb-item a.e-breadcrumb-text {
  text-decoration: none;
  color: var(--link-blue);
}

body.no-scroll {
  overflow: hidden;
}

h1:focus {
  outline: none;
}

.content {
  padding-top: 1.1rem;
  background-color: #fafcfe;
  height: 100vh;
}

@media (min-width: 1090px) {
  .content {
    display: grid;
  }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  justify-self: center;
  max-width: 2000px;
  width: 100%;
}

.content-shadow-box {
  box-shadow: 0px 0px 4px 1px rgba(12, 12, 13, 0.1),
    0px 4px 4px 0px rgba(12, 12, 13, -0.95);
  border-radius: 10px;
  padding: 30px;
  background-color: white;
}

.content-no-shadow-box {
  border-radius: 4px;
  padding: 10px;
  background-color: white;
  border: 1px solid var(--light-grey);
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  font-size: 12px;
  color: var(--red-danger);
  display: flex;
  align-items: center;
  gap: 5px;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem auto;
}

.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.loading-progress circle:last-child {
  stroke: #1b6ec2;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

code {
  color: #c02d76;
}

.e-dropdown-btn .e-btn-icon,
.e-dropdown-btn.e-btn .e-btn-icon {
  padding-top: 2px;
}

.e-dropdown-popup .e-dropdown-menu .e-item.danger {
  color: var(--red-danger);
}

.e-dropdown-popup .e-dropdown-menu .e-item.danger:hover {
  background: var(--red-hover);
}

.febtn .e-btn-icon {
  padding-top: 2px;
}

/* Custom Nav Bar */
.top-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: #fff;
}

.top-wrapper .logo img {
  height: 80px;
}

.top-wrapper .search-container {
  flex: 1;
  max-width: 500px;
}

.top-wrapper .search-container .e-input-group {
  width: 100%;
}

/*Button Group*/
.top-wrapper .e-btn,
.top-wrapper .e-css.e-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  color: black;
  border: none;
}

.top-wrapper .e-btn-group:not(.e-outline),
.top-wrapper .e-css.e-btn-group:not(.e-outline) {
  box-shadow: none;
  gap: 10px;
}

*.e-btn-group {
  box-shadow: none !important;
  overflow-x: scroll;
  padding: 0px 10px;
  -ms-overflow-style: none; /* IE/Edge legacy */
  scrollbar-width: none; /* Firefox */
}

.e-btn-group::-webkit-scrollbar {
  /* Chrome/Safari/Edge */
  display: none;
}

/*End Button Group*/
.navbar {
  position: fixed !important;
  width: 100%;
  border-bottom: 1px solid var(--orange-primary);
  background: white;
  z-index: 9999;
}

.wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 3rem;
  box-sizing: border-box;
  height: 40px;
  position: relative;
}

.toggler {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.item {
  position: relative;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.item .drop-down {
  font-size: 12px;
}

.item .house {
  font-size: 16px;
  padding-right: 5px;
}

.link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.5rem;
  color: #333;
  text-decoration: none;
  border-bottom: none;
  text-wrap: nowrap;
  font-weight: 500;
  font-size: 16px;
}

.link.active {
  font-weight: 700;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.sub-link {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}

.sub-link.active {
  background: #f0f0f0;
  border-radius: 5px;
}

.nav-button-group-mobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dropdown-toggle {
  display: flex;
  gap: 5px;
  justify-content: space-between;
}

.dropdown-toggle::after {
  content: none !important;
}

.menu-heading {
  font-size: 12px;
  color: #00000080;
  text-transform: uppercase;
  margin-bottom: 4px;
  padding: 4px 6px;
  font-weight: 400;
  text-wrap: nowrap;
}

.recent-row {
    text-decoration: none !important;
    min-width: 0;
}

.create-lead-container {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  width: 400px;
}

.btn-create-lead {
  width: 400px !important;
}

/*desktop styles*/
@media (min-width: 1090px) {
  .app-main {
    padding: 160px 24px 0px 24px;
    margin-bottom: 100px;
  }

  .nav-button-group-mobile {
    display: none;
  }

  .toggler {
    display: none !important;
  }

  .link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 4px;
    background: var(--orange-primary);
  }

  .dropdown-menu.grid-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 1rem;
    gap: 15px;
    min-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .dropdown:hover .dropdown-menu.grid-menu {
    display: grid;
  }

  .dropdown-menu.grid-menu .sub-link {
    padding: 4px 6px;
  }

  .dropdown-toggle.mobile {
    display: none;
  }
}

/*ipad styles*/
@media (min-width: 768px) and (max-width: 1089px) {
  .top-wrapper {
    padding: 1rem 1rem;
    justify-content: center;
    position: relative;
  }

  .top-wrapper .logo {
    position: absolute;
    left: 1rem;
  }

  .top-wrapper .search-container {
    width: 100%;
    max-width: 500px;
  }

  .menu.open {
    margin-top: 0px !important;
  }
}

/*mobile and ipad styles*/
@media (max-width: 1090px) {
  .app-main {
    padding: 140px 16px 0px 16px;
    margin-bottom: 80px;
  }

  .content-shadow-box{
      padding: 16px;
  }

  .top-wrapper {
    flex-direction: row;
    gap: 20px;
    padding: 1rem 1rem;
  }

  .wrapper {
    padding: 0 1rem;
    height: 40px;
  }

  .top-wrapper .search-container {
    width: 100%;
  }

  .toggler {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--orange-primary);
    z-index: 1001;
  }

  .menu.open {
    display: flex;
    margin-top: 8px;
    overflow-y: auto;
  }

  .top-wrapper .logo img {
    height: 40px;
  }

  .item {
    margin: 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
  }

  .menu > li.item:last-of-type {
    border-bottom: 1px solid var(--orange-primary);
  }

  .link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    white-space: normal;
    padding: 0.5rem 1rem;
  }

  .item .drop-down,
  .item .house {
    display: inline-block !important;
    visibility: visible;
  }

  .dropdown,
  .dropdown-container {
    position: static !important;
    width: 100%;
  }

  .dropdown-menu {
    display: none;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0px !important;
  }

  .dropdown-menu li {
    list-style: none;
    padding-left: 1rem;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .dropdown-menu.no-show {
    display: none !important;
  }

  .nav-button-group {
    display: none;
  }

  .sub-link {
    display: block;
    padding: 5px 2px;
    white-space: nowrap;
    color: #333;
    text-decoration: none;
  }

  .link.active {
    color: var(--orange-primary) !important;
  }

  .create-lead-container {
    display: none;
  }

  .lead-dropdown.fe-divider {
    display: none;
  }

  .menu-heading {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-bottom: 0px;
  }

  .dropdown-toggle.desktop {
    display: none !important;
  }
}
/* End Custom Nav Bar */

/* Buttons */
.button-group {
  display: flex;
  gap: 10px;
}
.febtn {
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  min-width: 100px;
  font-size: 14px;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  display: flex;
  gap: 5px;
  padding: 5px 15px;
  align-items: center;
  justify-content: center;
}

.drop-down-button {
  margin-left: auto;
}

.febtn .e-btn-icon {
  font-size: 14px !important;
}

.febtn-primary {
  color: white;
  background-color: var(--blue-primary);
}

.febtn-primary:hover {
  background-color: var(--blue-primary-hover);
  color: white;
}

.febtn-primary:active {
  background-color: var(--blue-primary-pressed);
}

.febtn-secondary {
  color: var(--blue-primary) !important;
  border: 1px solid var(--blue-primary);
  background-color: white !important;
}

.febtn-secondary.selected {
  background-color: var(--blue-secondary-hover) !important;
  color: var(--blue-primary) !important;
}

.febtn-secondary:hover {
  background-color: var(--blue-secondary-hover) !important;
  color: var(--blue-primary);
  border: 1px solid var(--blue-primary);
}

.febtn-secondary:focus {
  color: var(--blue-primary);
  border: 1px solid var(--blue-primary);
  box-shadow: none !important;
}

.febtn-secondary:active {
  background-color: var(--blue-secondary-pressed) !important;
  box-shadow: none !important;
}

.e-dropdown-popup.febtn-secondary {
  border: none;
}

.dashed-button {
  border: dashed;
  border-color: var(--light-grey);
  border-radius: 10px;
  width: 80%;
  cursor: auto;
  justify-content: left;
  padding: 20px;
}

    .dashed-button-label {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: start;
      gap: 10px;
      font-size: 14px;
      font-weight: 500;
    }
/* Button groups*/
.e-btn-group input:checked + label.e-btn {
  background-color: var(--blue-secondary-hover) !important;
}

.action-buttons {
  display: flex;
  justify-content: end;
}
/* End Buttons*/

/* Misc Styles */
.e-dropdown-popup {
  padding: 0px;
  border: none;
}

.e-dropdown-popup ul {
  background-color: white;
}

.e-dlg-center-center {
  /*make sure pop ups go over navbar*/
  z-index: 9999 !important;
}

.multi-select {
  width: 200px;
}

.fe-divider {
  border: 0;
  border-top: 1px solid #cbd5e1;
  margin: 20px 0;
  opacity: 1;
}

.fe-divider-dark {
  border: 0;
  border-top: 1px solid black;
  margin: 10px 0;
  opacity: 1;
}

/* sub text drop down */
.e-dropdown-popup ul.e-dropdown-menu > li.e-item.has-sub {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1;
  padding: 8px;
  gap: 3px;
  font-weight: 600;
}
.e-dropdown-popup ul .e-item.has-sub {
  height: 50px;
}

.e-dropdown-popup ul.e-dropdown-menu > li.e-item.has-sub::after {
  content: attr(data-sub);
  display: block;
  font-size: 12px;
  color: #6c757d;
  margin-top: 2px;
  font-weight: 400;
}
/* sub text drop down */

.info-icon{
    color: var(--link-blue);
    font-size: 15px;
}

 .e-customsize.e-checkbox-wrapper .e-frame {
            height: 10px;
            width: 12px;
            padding: 5px 0;
            line-height: 1px;
        }

        .e-customsize.e-checkbox-wrapper .e-check {
            font-size: 6px;
        }

    .e-customsize.e-checkbox-wrapper .e-label {
        line-height: 10px;
        font-size: 9px;
        display: block;
        min-width: 0;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .e-checkbox-wrapper label, .e-css.e-checkbox-wrapper label {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 2px;
        width: 100%;
        min-width: 0;
    }

.e-customsize .e-radio + label .e-label, .e-radio + label.e-small .e-label {
    font-size: 9px;
    padding-left: 20px;
    display: block;
    min-width: 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
    .e-customsize .e-radio + label::before, .e-radio + label.e-small::before {
        height: 12px;
        width: 12px;
    }
    .e-customsize .e-radio + label::after, .e-radio + label.e-small::after {
        height: 4px;
        left: 4px;
        top: 3px;
        width: 4px;
    }

.dropdown-icon-dots,
.dropdown-icon-dots.e-dropdown-btn:focus,
.dropdown-icon-dots.e-dropdown-btn.e-btn:focus,
.dropdown-icon-dots.e-btn.e-active, .e-css.e-btn.e-active {
    background: transparent;
    border: none;
    box-shadow: none !important;
}

    .dropdown-icon-dots .e-dropdown-btn .e-caret::before,
    .dropdown-icon-dots .e-dropdown-btn.e-btn .e-caret::before {
        display: none;
    }
    .dropdown-icon-dots .e-dropdown-btn, .dropdown-icon-dots.e-dropdown-btn.e-btn {
        padding: 0px;
    }
    .dropdown-icon-dots .e-dropdown-btn .e-caret, .dropdown-icon-dots.e-dropdown-btn.e-btn .e-caret {
        display: none;
    }
    .dropdown-icon-dots.e-btn:hover, .dropdown-icon-dots.e-css.e-btn:hover {
        background: inherit;
    }

.dot {
    color: var(--medium-grey);
}
    .dot.big .bi.bi-circle-fill {
        font-size: 6px;
        display: flex;
    }
    .dot.small .bi.bi-circle-fill {
        font-size: 4px;
        display: flex;
    }

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.e-toast-container.e-toast-top-center {
    z-index: 100000 !important;
}

.e-toast-container .e-toast{
    padding: 20px;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
}
    .e-toast-container .e-toast .e-toast-close-icon
    {
        margin: 0px;
    }
/* End Misc Styles */

/* Text Styles */
.sub-header-text {
    font-weight: 400 !important;
    font-size: 20px;
}

.last-saved {
    text-align: right;
    font-size: 13px;
}

.sub-header-text-bold {
  font-weight: 700 !important;
  font-size: 20px;
}

.sub-text {
  color: var(--blue-primary);
  font-weight: 200;
}

.sub-sub-text {
  color: var(--medium-grey);
  font-weight: 400;
  font-size: 13px;
}

.descriptive-text {
  color: #000000bf;
  font-size: 14px;
  font-weight: 400;
}

.felink {
  color: var(--link-blue);
  font-weight: 500;
  font-size: 13px;
  padding: 0px;
  cursor: pointer;
  text-decoration: none;
}

.felink:hover {
  text-decoration: underline;
}

.felink:active {
  color: var(--blue-primary);
}

.felink.add {
  font-weight: 400;
  margin-top: 5px;
}

.field-label {
  font-weight: 500;
  font-size: 12px;
}
.field-label-bold {
  font-weight: 700;
  font-size: 12px;
}
.field-value {
  height: 20px;
  font-size: 14px;
}
@media (max-width: 768px) {
    .sub-header-text {
        font-size: 16px;
    }
    .last-saved {
        text-align: right;
        font-size: 10px;
    }
    .sub-sub-text{
        font-size: 10px;
    }
    .dashed-button-label {
        font-size: 12px;
    }
    .felink {
        font-size: 12px;
    }
}
/* End Text Styles */

/* Container/Page Styles */
.title-container {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

.link-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.button-group-with-label-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.button-group-with-label-container .e-btn {
  padding: 4px 16px;
  border: 1px solid var(--light-grey);
}

.button-group-with-label-container .e-btn-group .e-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
}
/* End Container/Page Styles */

/* Text Box Styles */
.e-input-group {
  text-align: left !important;
}

.e-input-group.e-input-focus:not(.e-success):not(.e-warning):not(.e-error),
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(
    .e-warning
  ):not(.e-error) {
  border: 1px solid var(--blue-secondary-hover) !important;
  box-shadow: 0 0 0 4px var(--blue-secondary-pressed) !important;
}
/* End Text Box Styles */

/* Image Editor */
.image-edit-container {
  position: relative;
  display: inline-block;
}

.editable-image {
  display: block;
  max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 12px;
}

.edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.photo-thumb .image-edit-container {
  width: 100%;
  height: 100%;
  display: block;
}

.photo-thumb .editable-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
/* End Image Editor */

/* Single Line Text Field */
.e-input-group.e-control-container.e-control-wrapper.sig-line,
.e-float-input.e-control-container.e-control-wrapper.sig-line {
  border: 0 !important;
  border-bottom: 1px dashed black !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sig-line.e-input-group.e-input-focus:not(.e-success):not(.e-warning):not(
    .e-error
  ),
.sig-line.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(
    .e-warning
  ):not(.e-error) {
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px dashed black !important;
}
/* End Single Line Text Field*/

/* Template Preview */
.preview-dialog.e-dialog.e-popup {
    width: 80%;
    height: 85%;
}

.preview-dialog .e-dlg-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 768px) {
    .preview-dialog.e-dialog.e-popup {
        width: 100%;
        height: 100%;
        border-radius: 0;
        min-height: 0;
        overflow: auto;
    }
}
/* End Template Preview*/

/* Template */
.photos-grid,
.videos-grid,
.docs-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.photo-card,
.video-card,
.doc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photos-container,
.response-container,
.question-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.question-answer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.photo-s {
    --tile: 180px;
    --tilew: 250px;
}

.photo-m {
    --tile: 220px;
    --tilew: 300px;
}

.photo-l {
    --tile: 300px;
    --tilew: 400px;
}

.video-s {
    --tile: auto;
    --tilew: 250px;
    --tilev: 180px;
}

.video-m {
    --tile: auto;
    --tilew: 300px;
    --tilev: 220px;
}

.video-l {
    --tile: auto;
    --tilew: 400px;
    --tilev: 300px;
}

.photo-thumb,
.video-thumb,
.doc-thumb {
    width: var(--tilew);
    height: var(--tile);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
}
/* End Template */

/* Popups */
.estimate-dialog.e-dialog.e-popup {
    width: 60%;
}
.error-dialog.e-dialog.e-popup {
    width: 60%;
}
.save-as-template-dialog.e-popup {
    width: 40%;
}
.document-from-template-dialog.e-popup {
    width: 60%;
}

@media (max-width: 768px) {
    .estimate-dialog.e-dialog.e-popup,
    .error-dialog.e-dialog.e-popup,
    .save-as-template-dialog.e-popup,
    .document-from-template-dialog.e-popup {
        width: 100%;
        min-height: 0;
        overflow: auto;
    }
}
/* End Popups */
