html {
  scroll-behavior: smooth;
}

body {
  background: var(--body-bg);
  font-family: 'bc-novatica-cyr', sans-serif;
}

.modal-header {
  padding: 1rem;
  border-bottom: 0;
}

.modal-content {
  padding: 1rem;
  border: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  border-radius: calc(2 * var(--border-radius));
}

/* Forms */
.input-group-text {
  font-size: 0.9rem;
}

.form-control-range {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;

  /*  slider progress trick  */
  overflow: hidden;

  /* creating a custom design */
  accent-color: var(--primary);
  background: var(--gray-200);
  border-radius: var(--border-radius);
  height: 0.5rem;
  margin: 0.75rem 0;
}

/* Track: webkit browsers */
.form-control-range::-webkit-slider-runnable-track,
.form-control-range::-moz-range-track {
  background: var(--gray-200);
}

/* Thumb: webkit */
.form-control-range::-webkit-slider-thumb {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;

  /* creating a custom design */
  height: 0.75rem;
  width: 0.75rem;
  background-color: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);

  /*  slider progress trick  */
  box-shadow: -2007px 0 0 2000px var(--primary-300);
}

.form-control-range::-moz-range-thumb {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;

  /* creating a custom design */
  height: 0.75rem;
  width: 0.75rem;
  background-color: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);

  /*  slider progress trick  */
  box-shadow: -2007px 0 0 2000px var(--primary-300);
}

/* Footer */
.footer {
  margin: 4rem 0 0 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--white);
}

.footer {
  color: var(--gray-700);
}

.footer a:not(.dropdown-item),
.footer a:hover:not(.dropdown-item) {
  color: var(--gray-700);
}

.footer button,
.footer button:hover {
  color: var(--gray-700) !important;
}

.footer-logo {
  max-height: 2.5rem;
  height: 2.5rem;
}

.footer-heading {
  color: var(--black) !important;
}

/* Filters */
.filters-dropdown {
  width: 18rem;
  max-height: 30rem;
  overflow-y: auto;
}

/* Custom breadcrumbs */
.custom-breadcrumbs {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.custom-breadcrumbs > li {
  margin-right: 0.5rem;
}

.custom-breadcrumbs > li > a {
  color: var(--gray);
}

.custom-breadcrumbs > li > svg {
  color: var(--gray-400);
  margin-left: 0.5rem;
}

.custom-breadcrumbs > li.active {
}

/* Helper classes */
.list-style-none {
  list-style: none;
  padding: 0;
}

img {
  vertical-align: inherit !important;
}

.icon-favicon {
  width: 1rem;
  height: auto;
}

.icon-favicon-small {
  width: 0.75rem;
  height: auto;
}

.btn:hover {
  border-color: transparent !important;
}

/* Dropdown */
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  border-radius: var(--border-radius);
}

.dropdown-item svg {
  color: var(--gray-600);
}

.dropdown-item:active svg,
.dropdown-item.active svg {
  color: var(--white);
}

.navbar-main {
  padding: 0.75rem 1rem;
  min-height: 0 !important;
  z-index: 1;
  border-bottom: 1px solid var(--gray-200);
}

.navbar-main .navbar-nav > li > a {
  padding: 1rem 0 !important;
}

@media (min-width: 992px) {
  .navbar-main .navbar-nav > li > a {
    padding: 1rem !important;
  }
}

.navbar-logo {
  max-height: 2.5rem;
  height: 2.5rem;
}

.navbar-logo-mini {
  max-height: 1.25rem;
  height: 1.25rem;
}

.navbar-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.navbar-custom-toggler {
  padding: 0.5rem 0.8rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border-radius: var(--border-radius);

  color: var(--gray-700);
  border-color: var(--gray-300);
}

.campaign-avatar {
  width: 50px;
  height: 50px;
}

.notification-avatar {
  background: var(--gray-100);
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-container {
  position: relative;
  margin: auto;
  height: 275px;
  width: 100%;
}

@media print {
  .chart-container canvas {
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    width: auto !important;
  }
}

/* Dropdown */
.dropdown-item:hover,
.dropdown-item:focus {
  border-radius: var(--border-radius);
}

.dropdown-item svg {
  color: var(--gray-600);
}

.dropdown-item:active svg {
  color: var(--white);
}

/* Nav pills custom */
.nav-custom .nav-link {
  transition: all 0.3s ease-in-out;
  color: var(--gray-600);
  border-bottom: 3px solid var(--gray-300);
}

.nav-custom .nav-link.active {
  color: var(--primary-900);
  border-color: var(--primary-900);
}

.nav-custom .nav-link:hover {
  color: var(--primary-900);
  border-color: var(--primary-900);
}

/* Nav pills custom 2 */
.nav-custom2 .nav-link {
  background: var(--gray-200);
  margin-bottom: 1rem;
}

/* Index */
.index-cover-container {
  width: 100%;
  position: absolute;
  overflow: hidden;
  z-index: -1;
}

.index-cover {
}

.index-container {
  width: 100%;
  padding: 0;
  background: unset;
}

.index-header {
  font-size: 3rem;
  font-weight: bold;
}

@media (min-width: 920px) {
  .index-header {
    font-size: 3.5rem;
    font-weight: bold;
  }

  .index-container {
    width: 100%;
    padding: 6rem 0 6rem 0;
    background: unset;
  }

  .index-background-container {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    z-index: -2;
  }

  .index-background-image {
    position: absolute;
    border-radius: 2.5%;
    right: 0;
    transform: translate(58%, -18%) rotate(-20deg);
    height: 700px;
    width: 700px;
    background-color: #292cc4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%238e46d4'/%3E%3Cstop offset='1' stop-color='%23292cc4'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='750' x2='1550' y2='750'%3E%3Cstop offset='0' stop-color='%235c39cc'/%3E%3Cstop offset='1' stop-color='%23292cc4'/%3E%3C/linearGradient%3E%3Cpath id='s' fill='url(%23b)' d='M1549.2 51.6c-5.4 99.1-20.2 197.6-44.2 293.6c-24.1 96-57.4 189.4-99.3 278.6c-41.9 89.2-92.4 174.1-150.3 253.3c-58 79.2-123.4 152.6-195.1 219c-71.7 66.4-149.6 125.8-232.2 177.2c-82.7 51.4-170.1 94.7-260.7 129.1c-90.6 34.4-184.4 60-279.5 76.3C192.6 1495 96.1 1502 0 1500c96.1-2.1 191.8-13.3 285.4-33.6c93.6-20.2 185-49.5 272.5-87.2c87.6-37.7 171.3-83.8 249.6-137.3c78.4-53.5 151.5-114.5 217.9-181.7c66.5-67.2 126.4-140.7 178.6-218.9c52.3-78.3 96.9-161.4 133-247.9c36.1-86.5 63.8-176.2 82.6-267.6c18.8-91.4 28.6-184.4 29.6-277.4c0.3-27.6 23.2-48.7 50.8-48.4s49.5 21.8 49.2 49.5c0 0.7 0 1.3-0.1 2L1549.2 51.6z'/%3E%3Cg id='g'%3E%3Cuse href='%23s' transform='scale(0.12) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.2) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.25) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(0.3) rotate(-20)'/%3E%3Cuse href='%23s' transform='scale(0.4) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(0.5) rotate(20)'/%3E%3Cuse href='%23s' transform='scale(0.6) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.7) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.835) rotate(-40)'/%3E%3Cuse href='%23s' transform='scale(0.9) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(1.05) rotate(25)'/%3E%3Cuse href='%23s' transform='scale(1.2) rotate(8)'/%3E%3Cuse href='%23s' transform='scale(1.333) rotate(-60)'/%3E%3Cuse href='%23s' transform='scale(1.45) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(1.6) rotate(10)'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(80 0)'%3E%3Cg %3E%3Ccircle fill='url(%23a)' r='3000'/%3E%3Cg opacity='0.5'%3E%3Ccircle fill='url(%23a)' r='2000'/%3E%3Ccircle fill='url(%23a)' r='1800'/%3E%3Ccircle fill='url(%23a)' r='1700'/%3E%3Ccircle fill='url(%23a)' r='1651'/%3E%3Ccircle fill='url(%23a)' r='1450'/%3E%3Ccircle fill='url(%23a)' r='1250'/%3E%3Ccircle fill='url(%23a)' r='1175'/%3E%3Ccircle fill='url(%23a)' r='900'/%3E%3Ccircle fill='url(%23a)' r='750'/%3E%3Ccircle fill='url(%23a)' r='500'/%3E%3Ccircle fill='url(%23a)' r='380'/%3E%3Ccircle fill='url(%23a)' r='250'/%3E%3C/g%3E%3Cg transform='rotate(-25.2 0 0)'%3E%3Cuse href='%23g' transform='rotate(10)'/%3E%3Cuse href='%23g' transform='rotate(120)'/%3E%3Cuse href='%23g' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle fill-opacity='0' fill='url(%23a)' r='3000'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
  }

  [dir='rtl'] .index-background-image {
    right: initial;
    left: -30%;
  }

  .index-cover {
    transform: translate(55%, 5%) rotate(0) scale(0.7);
  }

  [dir='rtl'] .index-cover {
    transform: translate(-55%, 5%) rotate(0) scale(0.7);
  }
}

@media (min-width: 1200px) {
  .index-background-image {
    transform: translate(27.5%, -18%) rotate(-20deg);
  }

  .index-cover {
    transform: translate(42%, 5%) rotate(0) scale(0.7);
  }

  [dir='rtl'] .index-cover {
    transform: translate(-55%, 5%) rotate(0) scale(0.7);
  }
}

@media (min-width: 1400px) {
  .index-background-image {
    transform: translate(20%, -18%) rotate(-20deg);
    height: 725px;
    width: 800px;
  }
}

.index-subheader {
  font-size: 1.3rem;
}

.index-button {
  padding: 1.15rem 3.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: calc(2 * var(--border-radius));
}

.index-icon-container {
  background: var(--primary-100);
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  border-radius: calc(2 * var(--border-radius));
}

.index-brand-icon-container {
  background: var(--primary-100);
  width: 75px;
  height: 75px;
  min-width: 75px;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  border-radius: calc(3 * var(--border-radius));
  transform: rotate(45deg);
}

.index-brand-icon-container svg {
  width: 35px;
  height: auto;
  transform: rotate(-45deg);
  transition: all 0.3s ease-in-out;
}

.index-brand-icon-container:hover {
  transform: rotate(0);
}

.index-brand-icon-container:hover svg {
  transform: rotate(0);
}

.index-register-container {
  background: var(--primary-900);
  padding: 5rem 0;
  color: var(--primary-200);
}

.index-register-container p {
  color: var(--gray-200);
}

/* Index testimonial */
.index-testimonial-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  transform: translateY(-70%);
  border: 4px solid var(--white);
  position: absolute;
  left: 50%;
  margin-left: -52px;
}

/* Index FAQ */
.index-faq svg {
  transition: all 0.15s;
  color: var(--primary-800);
}

/* Notification create */
@media (min-width: 992px) {
  .notification-create-preview-normal {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
  }

  .notification-create-preview-bar {
    position: fixed;
    bottom: 0;
    z-index: 100;
    width: 100%;
  }
}

.notification-preview {
  height: min-content;
  position: sticky;
  top: 1rem;
}

/* Header container */
.header {
  background: var(--white);
  padding: 4rem 0;
  margin-bottom: 1rem;
}

[data-theme-style='dark'] .header {
  background: var(--gray-100);
}

.user-avatar {
  border-radius: 50%;
  max-width: 80px;
  max-height: 80px;
}

/* Others */
.container-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.container-disabled-simple {
  pointer-events: none;
}

/* Animate dropdown menu */
.dropdown .dropdown-menu {
  animation-name: opacityIn;
  animation-duration: 0.3s;
}

@keyframes opacityIn {
  from {
    opacity: 0.3;
  }

  to {
    opacity: 1;
  }
}

/* Tables */
.table-custom-container {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
}

.table-custom {
  margin-bottom: 0;
}

.table-custom thead th {
  border-top: 0;
  border-bottom: 0;
  background: var(--gray-100);
}

[data-theme-style='dark'] .table-custom thead th {
  background: var(--white);
  color: var(--gray-800);
}

.table-custom th {
  padding: 1.25rem 1rem;
}

.table-custom td {
  padding: 1.75rem 1rem;
  background: var(--white);
  vertical-align: middle;
  border: 0;
}

.table-custom tbody tr td {
  transition: all 0.3s ease-in-out;
}

[data-theme-style='dark'] .table-custom tbody tr td {
  border-color: var(--gray-100);
}

.table-custom tbody tr:hover td {
  /*background: var(--gray-100);*/
}

/* Custom PRE container */
.pre-custom {
  background: var(--gray-300);
  padding: 2rem;
  font-size: 0.75rem;
}

/* Helpers */
.zoomer {
  transition: transform 0.3s ease-in-out;
}

.zoomer:hover {
  transform: scale(1.02);
}

/* Headers */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

/* Pricing */
.pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  margin: 0 auto 3rem;
}

.pricing-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 1 350px;
  padding: 24px;
}

.pricing-item.most-popular {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
}

.badge.white {
  background-color: white !important;
  border: 1px solid var(--gray-400);
  width: fit-content;
}

.pricing-feature-list {
  text-align: left;
}

.pricing-palden .pricing-item {
  border-radius: calc(2 * var(--border-radius));
}

.pricing-palden .pricing-deco-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
}

.pricing-palden .deco-layer {
  transition: transform 0.5s;
}

.pricing-palden .pricing-item:hover .deco-layer--1 {
  transform: translate3d(15px, 0, 0);
}

.pricing-palden .pricing-item:hover .deco-layer--2 {
  transform: translate3d(-15px, 0, 0);
}

.pricing-palden .icon {
  font-size: 2.5rem;
}

.pricing-palden .pricing-currency {
  font-size: 0.9rem;
  vertical-align: top;
}

.pricing-palden .pricing__sentence {
  font-weight: bold;
  margin: 0 0 1em 0;
  padding: 0 0 0.5em;
}

.pricing-palden .pricing-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-palden .pricing-feature {
  padding: 0.5rem 0;
  gap: 16px;
}

/* Custom Radio Boxes */
.custom-radio-box {
  cursor: pointer;
}

.custom-radio-box .custom-radio-box-main-text {
  font-size: 1.15rem;
  font-weight: bold;
}

.custom-radio-box .custom-radio-box-main-icon {
  font-size: 1.25rem;
}

.custom-radio-box input[type='radio'] + div {
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--gray-200);
  background: var(--white);
}

.custom-radio-box input[type='radio']:checked + div {
  border: 2px solid var(--primary);
}

.custom-radio-box input[type='radio']:hover + div {
  border: 2px solid var(--primary);
}

/* Round circles */
.round-circle-md {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.round-circle-lg {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* Badge colors */
.badge {
  padding: 0.45em 0.9em;
}

.badge-primary {
  color: var(--primary-700);
  background: var(--primary-100);
}

[data-theme-style='dark'] .badge-primary {
  background: var(--primary-800);
  color: var(--primary-100);
}

.badge-secondary {
  color: hsl(208, 7%, 35%);
  background-color: hsl(208, 7%, 85%);
}

[data-theme-style='dark'] .badge-secondary {
  background-color: hsl(208, 7%, 35%);
  color: hsl(208, 7%, 85%);
}

.badge-success {
  color: hsla(134, 50%, 30%, 1);
  background-color: hsla(134, 50%, 85%, 1);
}

[data-theme-style='dark'] .badge-success {
  background-color: hsla(134, 50%, 30%, 1);
  color: hsla(134, 50%, 85%, 1);
}

.badge-danger {
  color: hsla(354, 70%, 35%, 1);
  background-color: hsla(354, 70%, 85%, 1);
}

[data-theme-style='dark'] .badge-danger {
  background-color: hsla(354, 70%, 35%, 1);
  color: hsla(354, 70%, 85%, 1);
}

.badge-warning {
  background-color: hsla(45, 100%, 85%, 1);
  color: hsla(40, 80%, 30%, 1);
}

[data-theme-style='dark'] .badge-warning {
  background-color: hsla(50, 20%, 20%, 1);
  color: hsla(45, 100%, 85%, 1);
}

.badge-info {
  color: hsla(188, 60%, 30%, 1);
  background-color: hsla(188, 78%, 85%, 1);
}

[data-theme-style='dark'] .badge-info {
  background-color: hsla(188, 60%, 30%, 1);
  color: hsla(188, 78%, 85%, 1);
}

.badge-light {
  color: hsla(210, 15%, 35%, 1);
  background-color: hsl(210, 17%, 95%);
}

[data-theme-style='dark'] .badge-light {
  background-color: hsla(210, 15%, 35%, 1);
  color: hsl(210, 17%, 95%);
}

.badge-dark {
  color: hsla(210, 10%, 90%, 1);
  background-color: hsla(210, 10%, 20%, 1);
}

[data-theme-style='dark'] .badge-dark {
  background-color: hsla(210, 10%, 90%, 1);
  color: hsla(210, 10%, 20%, 1);
}

/* Invoice css */
.invoice-table th {
  border-top: 0 !important;
}

.invoice-table td {
  vertical-align: baseline !important;
}

@media print {
  .invoice-logo {
    filter: grayscale(100%);
  }
}

/* Base animation */
.altum-animate {
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
}

.altum-animate-fill-both {
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.altum-animate-fill-none {
  -webkit-animation-fill-mode: none;
  animation-fill-mode: none;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.altum-animate-fade-in {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/* Custom switch fix */
.custom-switch {
  z-index: 0;
}

/* Custom button */

.btn-custom {
  padding: 0.5rem 1.5rem;
  color: var(--gray-600);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  background: var(--white);
}

.btn-custom:hover {
  color: var(--gray-700);
}

.btn-custom.active {
  color: var(--primary-100);
  background: var(--primary);
}

/* Blog */
.blog-post-image {
  max-height: 20rem;
  object-fit: cover;
}

.blog-post-image-small {
  height: 13rem;
  max-height: 13rem;
  object-fit: cover;
}

/* File input */
.altum-file-input {
  padding: 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.altum-file-input:hover {
  border-color: var(--gray-300);
}

.altum-file-input::file-selector-button {
  border: 0;
  padding: 0.4rem 0.75rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  margin-right: 1rem;
}

/* File input preview */
.altum-file-input-preview {
  max-width: 100%;
  max-height: 68px;
  min-height: 68px;
  object-fit: cover;
}

.sticky {
  position: sticky !important;
  top: 1rem;
  height: min-content;
}

/* Icons on links animations */
a svg {
  transition: transform 0.15s;
}

a:hover svg {
  transform: scale(1.1);
}

a:active svg {
  transform: scale(0.9);
}

/* Helper zoom class for icons */
.icon-zoom-animation svg {
  transition: transform 0.15s;
}

.icon-zoom-animation:hover svg {
  transform: scale(1.1);
}

/* Self zoom */
.zoom-animation {
  transition: transform 0.15s;
}

.zoom-animation:hover {
  transform: scale(1.05);
}

.zoom-animation:active {
  transform: scale(0.95);
}

.zoom-animation-subtle {
  transition: transform 0.3s;
}

.zoom-animation-subtle:hover {
  transform: scale(1.025);
}

.zoom-animation-subtle:active {
  transform: scale(0.98);
}

/* Color picker */
@media print {
  .pcr-app {
    display: none;
  }
}

.pcr-button {
  border: 1px solid white !important;
  outline: 1px solid var(--gray-300) !important;
  height: calc(
    var(--input-padding-y) + var(--input-padding-x) + var(--input-font-size) +
      calc(var(--input-font-size) / 2.75)
  ) !important;
  border-radius: var(--border-radius) !important;
  width: 100% !important;
}

.pcr-button::before,
.pcr-button::after {
  border-radius: var(--border-radius) !important;
}

/* Width fit content */
.w-fit-content {
  width: fit-content !important;
}

/* Ajax loading overlay */
.loading-overlay {
  padding: 1.25rem;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 100;
  opacity: 0.8;
}

[data-theme-style='dark'] .loading-overlay {
  background: var(--gray-50);
}

/* Shiki code highlighter */
.shiki {
  overflow: auto;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.shiki code {
  background: initial !important;
}

/* Btn group */
.btn-group-custom {
  border: 1px solid var(--gray-100);
  padding: 0.5rem 0;
  border-radius: var(--border-radius);
}

.btn-group-custom .btn {
  margin: 0 0.5rem;
  border-radius: var(--border-radius) !important;
  background: var(--gray-100);
}

.btn-group-custom .btn.active {
  background: var(--dark);
  color: var(--white);
}

/* Custom scrollbar */
body * {
  scrollbar-color: var(--gray-200) var(--white) !important;
  scrollbar-width: thin !important;
}

body *::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 10px;
  width: 6px;
  height: 6px;
}

body *::-webkit-scrollbar,
body *::-webkit-scrollbar-track {
  background: var(--white);
  border-radius: 10px;
  width: 6px;
  height: 6px;
}

/* Notification bell */
.internal-notification-icon {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px var(--danger);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}

/* Teams */
.team-delegate-access-wrapper {
  margin: 0.75rem;
  border-radius: 0.5rem;
  position: absolute;
  right: 0px;
  z-index: 5;
  /* Hiding and using dropdown */
  display: none;
}

/* Show for admins centered at the top */
.team-delegate-access-wrapper.admin {
  display: block;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  bottom: 0;
}

@media (min-width: 992px) {
  .team-delegate-access-wrapper {
    border-radius: 5rem;
  }
}

/* Announcements */
.announcement-wrapper {
  margin: 0.75rem;
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  animation: ac-fade-in-down 0.3s ease-in 0.6s forwards;
}

@media (min-width: 992px) {
  .announcement-wrapper {
    border-radius: 5rem;
  }
}

@keyframes ac-fade-in-down {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* PWA */
.pwa-wrapper {
  position: fixed;
  bottom: 0;
  width: calc(100% - 1.5rem);
  z-index: 1000;
}

.btn:hover {
  border-color: transparent !important;
}

.rounded-2x {
  border-radius: calc(2 * var(--border-radius));
}

.rounded-3x {
  border-radius: calc(3 * var(--border-radius));
}

/* CSS for new upvert styles */
#app {
  display: flex;
  min-height: 100vh;
  min-width: 100vw;
  overflow-x: hidden;
}

#main {
  flex: 1 1 0%;
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  padding: 24px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
}

/* Sidebar styles */

#react-container-sidebar {
  width: 250px;
  display: flex;
  max-height: 100vh;
  flex-grow: 0;
  flex-shrink: 0;
}

/* Media query for md and smaller screen sizes */
@media (max-width: 768px) {
  #react-container-sidebar {
    width: auto;
    border-right: none;
  }
}

.nav-link:hover .nav-link-inner {
  background-color: var(--gray-100);
}

#upvert-sidebar .nav-link-inner,
#upvert-avatar-overlay .nav-link-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 8px;
}

#upvert-sidebar .nav-link svg,
#upvert-avatar-overlay .nav-link svg {
  height: 20px;
  width: 20px;
}

.upvert-menu .nav-item {
  cursor: pointer;
}

.upvert-menu .nav-link-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 8px;
}

.upvert-menu .nav-link svg {
  height: 20px;
  width: 20px;
}

/* Popup Builder styles */
#react-container-popup-builder {
  margin-left: -24px;
  margin-right: -24px;
  margin-top: -24px;
  overflow: hidden;
  flex-direction: column;
}

.shadow-right {
  box-shadow: rgba(27, 27, 32, 0.1) 2px 0px 4px 0px;
}

.popup-builder-tab {
  color: var(--gray-600);
  transition: color 0.3s;
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
}

.popup-builder-tab:hover {
  color: var(--black);
}

.popup-builder-tab.active {
  color: var(--black);
  background-color: var(--gray-200);
}

.popup-builder-menu {
  min-width: 320px;
  max-width: 320px;
  padding: 24px;
  padding-top: 12px;
  overflow-y: scroll;
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.position-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  cursor: pointer;
  margin: 0;
}

.position-item input[type='radio'] {
  display: none;
}

.popup-builder-columns-selector input[type='radio'] {
  display: none;
}

.outer-box {
  width: 80px;
  height: 80px;
  border: 1px solid var(--gray-300);
  display: flex;
  transition: all 0.3s;
  cursor: pointer;
}

.outer-box:hover {
  border-color: var(--primary);
}

.outer-box.top {
  align-items: start;
}

.outer-box.top .inner-box {
  margin: 0;
  height: 20px;
  flex-grow: 1;
}

.outer-box.bottom {
  align-items: end;
}

.outer-box.bottom .inner-box {
  margin: 0;
  height: 20px;
  flex-grow: 1;
}

.top_left {
  justify-content: flex-start;
  align-items: flex-start;
}

.top_center {
  justify-content: center;
  align-items: flex-start;
}

.top_right {
  justify-content: flex-end;
  align-items: flex-start;
}

.middle_left {
  justify-content: flex-start;
  align-items: center;
}

.middle_center {
  justify-content: center;
  align-items: center;
}

.middle_right {
  justify-content: flex-end;
  align-items: center;
}

.bottom_left {
  justify-content: flex-start;
  align-items: flex-end;
}

.bottom_center {
  justify-content: center;
  align-items: flex-end;
}

.bottom_right {
  justify-content: flex-end;
  align-items: flex-end;
}

.inner-box {
  width: 30px;
  height: 30px;
  background-color: var(--gray-300);
  margin: 5px;
  transition: all 0.3s;
}

.position-item.selected .outer-box {
  border: 1px solid var(--primary);
}

.position-item.selected .inner-box {
  background-color: var(--primary);
}

.justify-selector {
  display: flex;
  gap: 10px;
}

.justify-option {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.justify-option input {
  display: none;
}

.option {
  transition: all 0.3s;
}

.option:hover {
  border-color: var(--primary) !important;
}

.option-selected {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.justify-option svg {
  font-size: 24px;
}

.popup-builder-section-title {
  margin-bottom: 16px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
}

.popup-preview {
  /* Base color */
  background-color: var(--gray-200);
  background-image:
    linear-gradient(
      45deg,
      rgba(200, 200, 200, 0.5) 25%,
      transparent 25%,
      transparent 75%,
      rgba(200, 200, 200, 0.5) 75%,
      rgba(200, 200, 200, 0.5) 100%
    ),
    linear-gradient(
      45deg,
      rgba(200, 200, 200, 0.5) 25%,
      transparent 25%,
      transparent 75%,
      rgba(200, 200, 200, 0.5) 75%,
      rgba(200, 200, 200, 0.5) 100%
    );
  /* Size of each square */
  background-size: 20px 20px;
  background-position:
    0px 0px,
    10px 10px;
}

.popup-preview.bottom,
.popup-preview.bottom_floating {
  align-items: end;
}

#font-picker .dropdown-menu {
  max-height: 300px;
  overflow-y: scroll;
}

.popup-builder-menu-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-builder-menu-section-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Copy of animation classes for builder */
/* Enter animations */
.upvert-builder-wrapper.on-fadeIn {
  animation: ease 0.3s upvert-fadeIn forwards !important;
}

.upvert-builder-wrapper.on-slideInUp {
  animation: ease 0.3s upvert-slideInUp forwards !important;
}

.upvert-builder-wrapper.on-slideInDown {
  animation: ease 0.3s upvert-slideInDown forwards !important;
}

.upvert-builder-wrapper.on-zoomIn {
  animation: ease 0.3s upvert-zoomIn forwards !important;
}

.upvert-builder-wrapper.on-bounceIn {
  animation: ease 0.3s upvert-bounceIn forwards !important;
}

/* Exit animations */
.upvert-builder-wrapper.off-fadeOut {
  animation: ease 0.3s upvert-fadeOut both !important;
}

.upvert-builder-wrapper.off-slideOutUp {
  animation: ease 0.3s upvert-slideOutUp both !important;
}

.upvert-builder-wrapper.off-slideOutDown {
  animation: ease 0.3s upvert-slideOutDown both !important;
}

.upvert-builder-wrapper.off-zoomOut {
  animation: ease 0.3s upvert-zoomOut forwards !important;
}

.upvert-builder-wrapper.off-bounceOut {
  animation: ease 0.3s upvert-bounceOut forwards !important;
}

/* Persistent animations */
.upvert-builder-wrapper.animation-heartbeat {
  animation-name: upvert-heartbeat !important;
  animation-duration: calc(1s * 1.3) !important;
  animation-timing-function: ease-in-out !important;
}

.upvert-builder-wrapper.animation-flash {
  animation-duration: 1s !important;
  animation-name: upvert-flash !important;
}

.upvert-builder-wrapper.animation-pulse {
  animation-name: upvert-pulse !important;
  animation-duration: 1s !important;
  animation-timing-function: ease-in-out;
}

.upvert-builder-wrapper.animation-bounce {
  animation-duration: 1s !important;
  animation-name: upvert-bounce !important;
  transform-origin: center bottom;
}

@keyframes upvert-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes upvert-fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes upvert-slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes upvert-slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes upvert-slideOutUp {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes upvert-slideOutDown {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes upvert-zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes upvert-zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}

@keyframes upvert-bounceIn {
  20%,
  40%,
  60%,
  80%,
  from,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes upvert-bounceOut {
  20% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50%,
  55% {
    opacity: 1;
    transform: scale3d(1.1, 1.1, 1.1);
  }

  to {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

@keyframes upvert-heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.15);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }
}

@keyframes upvert-bounce {
  from,
  20%,
  53%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -30px, 0) scaleY(1.1);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0) scaleY(1.05);
  }

  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0) scaleY(0.95);
  }

  90% {
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }
}

@keyframes upvert-pulse {
  from {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.065, 1.065, 1.065);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes upvert-flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

#delay-dropdown-button {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  display: flex;
  align-items: center;
}

/* CSS For React bootstrap close button */
.btn-close {
  width: 1.5rem;
  height: 1.5rem;
  background-color: transparent;
  border: none;
  border-radius: 0.2rem;
  position: relative;
  cursor: pointer;
}

.btn-close::before,
.btn-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 2px;
  background-color: #000;
  transition: background-color 0.2s ease;
}

.btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hover and focus styles */
.btn-close:hover,
.btn-close:focus {
  background-color: rgba(0, 0, 0, 0.1);
  outline: none;
}

.custom-control > .custom-control-label {
  cursor: pointer;
}

.popup-builder-title:hover {
  text-decoration: underline;
}

.popup-builder-title-input {
  font-size: inherit;
  font-weight: inherit;
  border: none;
  padding: 0;
  outline: none;
  width: 100%;
  background: transparent;
  line-height: inherit;
  min-width: 100px;
}

.upvert-toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
}

.upvert-toast-container .toast {
  z-index: 1090;
  /* max-width: 350px;
	min-width: 220px; */
  color: var(--white);
  background-color: var(--dark);
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.upvert-toast-container .toast-header {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.upvert-toast-container .toast-body {
  padding: 12px;
  text-align: center;
}

.upvert-toast-container .btn-close::before {
  background-color: var(--gray-300);
}

.upvert-toast-container .btn-close::after {
  background-color: var(--gray-300);
}

div[contenteditable='true'] {
  border: 1px dashed var(--gray-400);
}

div[contenteditable='true'].selected {
  border: 2px solid var(--primary) !important;
}

.upvert-editable {
  border: 1px dashed var(--gray-400);
}

.upvert-editable.selected {
  border: 2px solid var(--primary) !important;
}

#default-preview-popup-container {
  width: 100vw;
  height: 100vh;
}

.upvert-more-button::after {
  display: none;
}

@keyframes react-loading-skeleton {
  100% {
    transform: translateX(100%);
  }
}

.react-loading-skeleton {
  --base-color: #ebebeb;
  --highlight-color: #f5f5f5;
  --animation-duration: 1.5s;
  --animation-direction: normal;
  --pseudo-element-display: block;
  /* Enable animation */

  background-color: var(--base-color);

  width: 100%;
  border-radius: 0.25rem;
  display: inline-flex;
  line-height: 1;

  position: relative;
  user-select: none;
  overflow: hidden;
}

.react-loading-skeleton::after {
  content: ' ';
  display: var(--pseudo-element-display);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-repeat: no-repeat;
  background-image: var(
    --custom-highlight-background,
    linear-gradient(
      90deg,
      var(--base-color) 0%,
      var(--highlight-color) 50%,
      var(--base-color) 100%
    )
  );
  transform: translateX(-100%);

  animation-name: react-loading-skeleton;
  animation-direction: var(--animation-direction);
  animation-duration: var(--animation-duration);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion) {
  .react-loading-skeleton {
    --pseudo-element-display: none;
    /* Disable animation */
  }
}

.upvert-modal .modal-content {
  padding: 0;
}

.upvert-copy-code-block code {
  background: none;
}

.upvert-copy-code-block pre {
  margin: 0;
}

.hover-underline:hover {
  text-decoration: underline;
}

.upvert-input {
  text-align: left;
  line-height: 27px;
}

.altumcode-email-collector-row .upvert-input {
  border: 1px solid lightgray !important;
  width: 100% !important;
  background: #fff;
  padding: 8px 12px !important;
  color: #495057;
  font-size: 14px !important;
  border-radius: 6px !important;
  flex-grow: 1 !important;
}

.altumcode-request-collector-row .upvert-input {
  border: 1px solid lightgray !important;
  background: #fff;
  padding: 6px 12px !important;
  color: #495057;
  font-size: 14px !important;
  border-radius: 6px 0 0 6px !important;
}

.altumcode-countdown-collector-row .upvert-input {
  border: 1px solid lightgray !important;
  background: #fff;
  padding: 6px 12px !important;
  color: #495057;
  font-size: 14px !important;
  border-bottom-left-radius: 6px !important;
  border-top-left-radius: 6px !important;
}

.altumcode-collector-bar-form-content .upvert-input {
  flex-grow: 0 !important;
  border: 1px solid lightgray !important;
  border-radius: 6px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background: #fff;
  padding: 8px 12px;
  color: #495057;
  font-size: 14px !important;
  height: 36px !important;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.altumcode-collector-modal-row .upvert-input {
  border: 1px solid lightgray !important;
  background: #fff;
  padding: 12px 12px !important;
  color: #495057;
  font-size: 14px !important;
  border-radius: 6px !important;
  flex-grow: 1 !important;
  margin-right: 12px !important;
  transition: 0.3s border !important;
}

.altumcode-collector-two-modal-row .upvert-input {
  border: 1px solid lightgray !important;
  background: white;
  padding: 12px 12px !important;
  color: #495057;
  font-size: 14px !important;
  border-radius: 6px !important;
  flex-grow: 1 !important;
  margin-bottom: 16px !important;
  transition: 0.3s border !important;
}

.altumcode-text-feedback-row .upvert-input {
  border: 1px solid lightgray !important;
  background: #fff;
  padding: 10px 12px !important;
  color: #495057;
  font-size: 14px !important;
  border-radius: 6px !important;
  flex-grow: 1 !important;
  margin-bottom: 12px !important;
  transition: 0.3s border !important;
}

.upvert-campaigns-table,
.upvert-statistics-table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.upvert-campaigns-table tr td:last-child {
  width: 0;
}
.upvert-campaigns-table.even-columns tr td:last-child {
  width: auto;
}

.upvert-campaigns-table thead th,
.upvert-statistics-table thead th {
  font-size: 0.9rem;
  font-weight: normal;
  background-color: var(--gray-100);
  border-bottom: none;
}

.upvert-small-stats-card:hover {
  text-decoration: underline;
  /* Add underline on hover */
}

.upvert-settings-nav-bar a {
  color: var(--gray-600);
  font-size: 14px;
}

.upvert-settings-nav-bar a:hover {
  color: var(--text-dark);
}

.upvert-settings-nav-bar div.nav-link {
  border-bottom: 2px solid transparent;
}

.upvert-settings-nav-bar div.nav-link.active {
  border-bottom-color: var(--primary);
  background-color: white;
  color: var(--primary);
  font-weight: bold;
}

#react-container-settings-page-header {
  min-height: 128px;
}

.upvert-chart-date-range-button:hover {
  border-color: inherit !important;
}

.upvert-chart-date-range-button > button {
  margin: 0;
  background-color: var(--white);
  border: none;
  color: var(--text-muted) !important;
  display: flex;
  align-items: center;
}

.upvert-chart-date-range-button > button:focus,
.upvert-chart-date-range-button > button:active {
  background-color: var(--white) !important;
  border: none !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.upvert-chart-date-range-button > button:hover {
  background-color: var(--white);
}

.upvert-statistics-campaign-button > button {
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  min-width: 100px;
}

.upvert-sidebar-teams-button > button {
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  min-width: 100px;
  width: 100%;
}

.upvert-sidebar-teams-button > button::after {
  display: none;
}

.upvert-sidebar-teams-button > .dropdown-menu {
  box-shadow:
    0 3px 6px -1px rgba(0, 0, 0, 0.12),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.upvert-statistics-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.upvert-statistics-table-body {
  display: block;
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}

.upvert-statistics-table thead,
.upvert-statistics-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.upvert-statistics-table th,
.upvert-statistics-table td {
  padding: 10px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upvert-statistics-table th {
  position: sticky;
  top: 0;
}

.upvert-personalize-button .dropdown-toggle::after {
  display: none;
}

.upvert-personalize-button .dropdown-menu {
  min-width: auto !important;
  width: auto !important;
  max-width: none;
  white-space: nowrap;
}

.upvert-personalize-button.disabled button {
  cursor: not-allowed;
}

/* Wrapper to center align label and text */
.custom-file-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Style for the label to look like a button */
.upvert-file-label {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  cursor: pointer;
  transition:
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  margin-bottom: 0;
}

.upvert-file-label:hover {
  background-color: #e9ecef;
}

.upvert-file-label:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.upvert-file-label:active {
  background-color: #e2e6ea;
  border-color: #d3d9df;
}

.upvert-file-label:disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
  opacity: 0.65;
}

/* Text showing selected file name */
.file-name-display {
  font-size: 1rem;
  color: #6c757d;
}

.nav-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#hubspot-menu-button:hover {
  transition: all 0.3s ease-in-out;
  background-color: var(--gray-100);
}

.form-select-lg {
  border-radius: var(--border-radius);
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
}

.upvert-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.text-divider {
  display: flex;
  align-items: center;
  text-align: center;
}

.text-divider::before,
.text-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--gray-300);
}

.text-divider span {
  padding: 0 1rem;
  margin-top: -5px;
}

.social-login-btn {
  background-color: var(--white);
  border: 1px solid var(--black);
  padding: 8px 16px;
}

.social-login-btn:hover,
.social-login-btn:active,
.social-login-btn:focus {
  background-color: var(--gray-100) !important;
  border: 1px solid var(--black) !important;
}
/* Make the login inputs slightly bigger */
.login-card input[type='text'],
.login-card input[type='password'],
.login-card input[type='email'] {
  padding: 24px 16px;
  font-size: 1rem;
}

.login-card button {
  padding: 8px 16px;
}

.statistics-top-pages-chart .progress-bar {
  background-color: var(--primary-600);
  font-size: 1rem;
  text-align: right;
  padding-right: 10px;
}

/* Custom Gap Utilities for Bootstrap 4 */
.gap-0 {
  gap: 0;
}

.gap-1 {
  gap: 0.25rem; /* 4px */
}

.gap-2 {
  gap: 0.5rem; /* 8px */
}

.gap-3 {
  gap: 1rem; /* 16px */
}

.gap-4 {
  gap: 1.5rem; /* 24px */
}

.gap-5 {
  gap: 3rem; /* 48px */
}

.channel-type-option {
  transition: all 0.3s ease-in-out;
}

.channel-type-option:hover {
  border: 1px solid var(--gray-400) !important;
}

.form-label {
  cursor: pointer;
}

/* Main popup container for popup builder */
.resizable-container > .react-draggable {
  position: relative !important;
  transform: none !important;
}

.react-loom-player-wrapper {
  width: 100% !important;
  height: 100% !important;
}

.popup-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup-preview-overlay.overlay-dark {
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-preview-overlay.overlay-blur {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-fullscreen {
  height: 100%;
  margin: 0;
  max-width: none;
  width: 100vw;
}

.modal-fullscreen .modal-content {
  border: 0;
  border-radius: 0;
  height: 100%;
}

.modal-fullscreen .modal-header {
  border-bottom: 1px solid var(--gray-300);
}

.modal-header {
  border-bottom: 1px solid var(--gray-300);
}

.modal-content {
  padding: 0;
}

.upvert-builder-element {
  outline: 1px solid var(--gray-200);
  cursor: move; /* Default cursor for dragging */
}

.upvert-builder-element.editing-text,
.upvert-builder-element.editing-text * {
  cursor: text !important; /* Override cursor when editing text */
}

.upvert-builder-element:hover {
  box-shadow: inset 0 0 0 2px var(--primary);
}

.upvert-builder-element-image:hover {
  padding: 2px !important;
}
.upvert-builder-element-image.primary-outline {
  padding: 2px !important;
}

.upvert-element-calendly-wrapper:hover {
  padding: 2px !important;
}
.upvert-builder-element.primary-outline .upvert-element-calendly-wrapper {
  padding: 2px !important;
}

.upvert-element-calendly-wrapper {
  width: 100%;
  height: 100%;
}

.button-active {
  background-color: var(--primary-100) !important;
  color: var(--primary) !important;
}

.button-hover:hover {
  background-color: var(--gray-100);
}

.button-focus:focus-within {
  background-color: var(--gray-100);
}

.primary-outline {
  box-shadow: inset 0 0 0 2px var(--primary);
}

.no-border,
.no-border:focus-visible {
  border: none !important;
}

.no-outline,
.no-outline:focus-visible {
  outline: none !important;
}

.upvert-tabs.nav-tabs .nav-link {
  color: var(--gray-600);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.upvert-tabs.nav-tabs .nav-link.active {
  color: var(--primary);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--primary);
  text-align: center;
}

.popup-builder-toolbar-button {
  height: 38px;
}

.popup-builder-toolbar-button .dropdown-toggle {
  height: 38px;
}

.show-handles .handle {
  display: block;
}

.handle {
  display: none;
  width: 10px !important;
  height: 10px !important;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ccc;
  position: absolute;
  box-shadow:
    0 0 5px 1px rgb(57 76 96 / 15%),
    0 0 0 1px rgb(53 71 90 / 20%);
}

.long-handle {
  height: 15px !important;
  width: 5px !important;
}

.long-handle-horizontal {
  height: 5px !important;
  width: 15px !important;
}

.right-handle.bottom-handle {
  transform: translate(-4px, -4px);
}

.right-handle.top-handle {
  transform: translate(-4px, 4px);
}

.left-handle.bottom-handle {
  transform: translate(4px, -4px);
}

.left-handle.top-handle {
  transform: translate(4px, 4px);
}

.long-handle-horizontal.bottom-handle,
.long-handle-horizontal.top-handle {
  left: 50% !important;
  transform: translateX(-8px);
}

.long-handle.left-handle,
.long-handle.right-handle {
  top: 50% !important;
  transform: translateY(-8px);
}

.upvert-element-column-builder:hover {
  box-shadow: inset 0 0 0 2px var(--primary) !important;
}

.inner-box.column {
  width: auto;
  height: auto;
  flex-grow: 1;
}

.spacing-table {
  padding: 24px;
}

.spacing-table td {
  padding: 12px;
}

.column-spacing-icon {
  padding: 8px;
  border-radius: 4px;
}

.column-spacing-icon:hover {
  background-color: var(--gray-100);
}

.column-spacing-icon.selected {
  color: var(--primary);
  outline: 1px solid var(--primary);
}

.upvert-element-input-builder {
  /* Div mocked as input */
  border: 1px solid lightgray !important;
  padding: 12px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
}

.upvert-add-element-card {
  transition: all 0.3s ease-in-out;
}

.upvert-add-element-card:hover {
  border-color: var(--primary) !important;
}

.element-inline-actions-button {
  transition: all 0.3s ease-in-out;
  border-radius: 4px;
}

.element-inline-actions-button:hover {
  background-color: var(--primary-900);
}

.element-inline-actions-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reviews-modal-review {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.reviews-modal-review:hover {
  border-color: var(--primary) !important;
}

.element-toolbar-icon-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
