:root {
  --rl-border-radius: 8px;
  --rl-primary-color: #519af2;
  --rl-secondary-color: #202537;
  --rl-soft-bg: #e9eeff;
  --rl-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  --rl-border-thin: solid 1px #00000010;
}

.container {
  max-width: 1280px;
}

#dashboard-header img {
  width: 150px;
  height: auto;
}

#dashboard-nav ul {
  list-style: none;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  padding: 0;
  position: absolute;
  z-index: 99;
  background: #fff;
  border-radius: var(--rl-border-radius);
  overflow: hidden;
  top: 100%;
  margin-top: 10px;
  border: var(--rl-border-thin);
  box-shadow: var(--rl-box-shadow);
  transition: all 100ms;
}

.dropdown-menu:not(.active) {
  transform: translate(0, 10px);
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0;
}

ul.dropdown-menu .nav-link {
  background: #fff;
  display: block;
  min-width: 150px;
}

ul.dropdown-menu .nav-item.dropdown {
  position: relative;
}

#dashboard-nav .nav-link {
  color: #545454;
  padding: 8px 16px;
  border-radius: var(--rl-border-radius);
  transition: all 200ms;
}

#dashboard-nav .nav-link.active,
#dashboard-nav .nav-link:hover {
  background-color: var(--rl-primary-color);
  color: #fff;
}

.private #dashboard-root {
  background: #f5f7ff;
  min-height: 70dvh;
}

.public #dashboard-root {
  padding: 50px 0;
}

.login-bg {
  background: var(--rl-secondary-color);
  background-image: url(../img/bg-login.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-login-register {
  background-color: #ffffff;
  border-radius: var(--rl-border-radius);
  padding: 42px;
}

.rl-form .password-group {
  display: flex;
  justify-content: center;
  border-radius: var(--rl-border-radius);
  box-shadow: var(--rl-box-shadow);
  border: solid 1px #00000010;
}

.rl-form .password-group input {
  border: unset;
  box-shadow: unset;
}

.rl-form .password-group .input-group-text {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
  cursor: pointer;
}

.alert.alert-warning {
  text-align: center;
  padding: 15px;
  border: solid 1px rgb(255, 230, 156);
  margin-bottom: 2rem;
  color: rgb(102, 77, 3);
  background-color: rgb(255, 243, 205);
  border-radius: var(--rl-border-radius);
}

#dashboard-footer {
  background: var(--rl-secondary-color);
  padding: 64px 0 32px;
}

#dashboard-footer img {
  width: 210px;
  height: auto;
}

#dashboard-footer hr {
  border-color: #ffffff15;
  margin: 48px 0;
}

#dashboard-footer .back-to-root {
  display: inline-block;
  padding: 16px 24px;
  color: rgb(255, 255, 255);
  background-color: rgb(44, 50, 71);
  border-radius: var(--rl-border-radius);
  line-height: 1;
}

#dashboard-footer * {
  color: #fff;
}

.text-primary {
  color: var(--rl-primary-color);
}

.rl-outer-card {
  border-radius: var(--rl-border-radius);
  border: 1px solid #fff;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.page-nav-title h3 {
  color: var(--rl-secondary-color);
  margin: 0;
  display: block;
  font-size: 24px;
  padding: 0 0 32px;
  text-align: center;
  margin-bottom: 16px;
  border-bottom: solid 1px #ececef;
}

#company-thumbnail {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: var(--rl-border-radius);
}

.profile-nav-title {
  padding: 0 16px 32px;
  border-bottom: solid 1px #ececef;
}

.profile-nav-title h3 {
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
  font-size: 16px;
  border-bottom: unset;
}

.rl-outer-card hr {
  margin: 0;
  border: solid 1px #00000010;
}

.rl-outer-card .page-nav {
  list-style: none;
  padding: 32px 0;
}

.rl-outer-card .page-nav-link {
  padding: 16px 20px;
  display: block;
  color: #545454;
  border-right: solid 2px transparent;
}

.rl-outer-card .page-nav-link:hover,
.rl-outer-card .page-nav-link.active {
  background: var(--rl-soft-bg);
  border-color: var(--rl-primary-color);
  color: var(--rl-secondary-color);
  font-weight: 600;
}

.rl-outer-card .page-content {
  padding: 32px;
  border-left: solid 1px #ececef;
}

.rl-outer-card .rl-card {
  padding: 32px;
  background: #fff;
  border-radius: var(--rl-border-radius);
  margin-bottom: 32px;
}

.rl-outer-card .rl-card .card-title h4 {
  color: var(--rl-secondary-color);
  margin-top: 0;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: solid 1px #ececef;
  font-size: 20px;
}

.rl-outer-card .rl-card .card-title i {
  color: var(--rl-primary-color);
}

.rl-form label {
  display: block;
  font-weight: 600;
  color: var(--rl-secondary-color);
  font-size: 14px;
  margin-bottom: 8px;
}

.rl-form .input-container {
  margin-bottom: 24px;
}

.rl-form .input-simple {
  border-color: #00000010;
  padding: 7px 20px;
  display: block;
  min-height: 60px;
  border-radius: var(--rl-border-radius);
  box-shadow: var(--rl-box-shadow);
}

.rl-form .input-merged,
.rl-form .input-merged-after {
  display: flex;
  justify-content: center;
  box-shadow: var(--rl-box-shadow);
  border-radius: var(--rl-border-radius);
}

.rl-form .input-merged .input-simple {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: unset;
  box-shadow: unset;
}

.rl-form .input-merged-after .input-simple {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: unset;
  box-shadow: unset;
}

.rl-form .input-merged .merged {
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--rl-border-thin);
  border-right: 0;
  border-top-left-radius: var(--rl-border-radius);
  border-bottom-left-radius: var(--rl-border-radius);
  padding: 7px 0 7px 20px;
  opacity: 0.5;
}

.rl-form .input-merged-after .merged {
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--rl-border-thin);
  border-left: 0;
  border-top-right-radius: var(--rl-border-radius);
  border-bottom-right-radius: var(--rl-border-radius);
  padding: 7px 20px 7px 0;
  opacity: 0.5;
}

.rl-button {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: var(--rl-border-radius);
  background-color: var(--rl-primary-color);
  color: #fff;
  border-color: var(--primary-color);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none !important;
  display: inline-block;
}

.rl-button.soft {
  background-color: var(--rl-soft-bg);
  color: var(--rl-secondary-color);
}

.rl-button.soft i {
  color: var(--rl-primary-color);
}

.rl-button:hover,
.rl-button:focus {
  box-shadow: inset 0 0 50px rgb(0 0 0 / 20%);
  background-color: var(--rl-primary-color);
}

.rl-button.loading {
  color: hsla(0, 0%, 100%, 0.05) !important;
  opacity: 1 !important;
  pointer-events: none !important;
  position: relative;
}

.rl-button.loading::after {
  -webkit-animation: spin 0.5s linear infinite;
  animation: spin 0.5s linear infinite;
  border: 2px solid var(--rl-primary-color);
  border-radius: 32px;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
  content: "";
  display: block;
  height: 16px;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
}

.rl-button-secondary {
  display: inline-block;
  padding: 12px 24px;
  line-height: 1;
  border: var(--rl-border-thin);
  border-radius: var(--rl-border-radius);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none !important;
  display: inline-block;
  color: var(--rl-secondary-color);
}

.rl-button-secondary i {
  color: var(--rl-primary-color);
}

.rl-button-sm {
  padding: 12px 12px;
  font-size: 14px;
  line-height: 14px;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1turn);
  }
}

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

.file-input-label {
  font-weight: normal;
  padding: 10px;
  border-radius: var(--rl-border-radius);
  box-shadow: var(--rl-box-shadow);
}

.file-input-label label {
  background: #f5f8ff;
  border: dashed 1px var(--rl-primary-color);
  cursor: pointer;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  border-radius: var(--rl-border-radius);
  font-weight: normal;
}

.file-input-label input {
  display: none;
}

.delete-photo {
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
}

#avatar-preview img {
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 100%;
}

#backgroundImage-preview img {
  aspect-ratio: 4/3;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: var(--rl-border-radius);
}

.rl-form .color-input-label {
  font-weight: normal;
  padding: 10px;
  border-radius: 8px;
  box-shadow: var(--rl-box-shadow);
  border: var(--rl-border-thin);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1em;
  text-transform: uppercase;
}

.rl-form .color-input-label input {
  border: unset;
  padding: 0;
  background: unset;
  height: 2em;
  width: 2em;
  border-radius: 10px;
}

.link-item {
  background: #f5f8ff;
  border-radius: var(--rl-border-radius);
  padding: 1em;
  margin-bottom: 1em;
}

.link-item .link-header.d-flex {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: solid 1px #e6e8ef;
}

.link-item input,
.link-item textarea {
  background-color: #ffffff;
  border-color: #00000010;
  border-radius: var(--rl-border-radius);
}

.sortable-handle {
  cursor: -webkit-grab;
  cursor: grab;
}

.delete-line {
  cursor: pointer;
}

.input-container.merged {
  display: flex;
  justify-content: center;
  border: var(--rl-border-thin);
  border-radius: var(--rl-border-radius);
  overflow: hidden;
}

.input-container.merged * {
  border: unset;
  border-radius: unset;
}

.preview-container iframe {
  height: 500px;
  width: 100%;
  overflow-y: hidden;
  overflow-x: auto;
  border-radius: 20px;
}

.preview-container {
  background: #fff;
  padding: 1em;
  border-radius: 20px;
  position: relative;
}

.preview-container img {
  position: absolute;
  top: 1em;
  left: 0;
  right: 0;
  margin: auto;
}

.profile-instructions {
  background: #eff3ff;
  padding: 32px;
  border-radius: var(--rl-border-radius);
}

#placeId {
  display: flex;
  justify-content: center;
  border-radius: var(--rl-border-radius);
  overflow: hidden;
  border: solid 1px #efefef;
}

#placeId strong {
  background: var(--rl-soft-bg);
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  padding: 5px 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  font-size: 0.85em;
}

#placeId span {
  border: unset;
  background: #fff;
  padding: 5px 10px;
  max-width: unset;
}

.gallery-image-card {
  border-radius: var(--rl-border-radius);
  border: var(--rl-border-thin);
  padding: 16px;
}

.gallery-image-card .no-photo {
  border: dashed 1px var(--rl-primary-color);
  background: #f5f8ff;
  border-radius: var(--rl-border-radius);
  aspect-ratio: 4/3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  padding: 1em;
  flex-flow: column;
  cursor: pointer;
}

.gallery-image-card label {
  margin: 0;
}

.gallery-image-card .image-preview {
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  display: block;
}

.delete-gallery-photo {
  position: absolute;
  display: inline-block;
  width: 2em;
  height: 2em;
  background: rgb(220 53 69);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--rl-border-radius);
  color: #fff;
  cursor: pointer;
}

.input-pre-icon {
  display: flex;
  border: var(--rl-border-thin);
  border-radius: var(--rl-border-radius);
  overflow: hidden;
  box-shadow: var(--rl-box-shadow);
}

.input-pre-icon input {
  border: unset;
  box-shadow: unset !important;
  min-height: unset !important;
}

.input-pre-icon .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--rl-soft-bg);
  color: var(--rl-primary-color);
  padding: 10px;
}

.card-campaign {
  margin-bottom: 30px;
  box-shadow: var(--rl-box-shadow);
  border-radius: var(--rl-border-radius);
  border: var(--rl-border-thin);
  padding: 16px;
}

span.campaign-status {
  line-height: 1;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 80%;
}

span.campaign-status.status-active {
  background: #dbf4e5;
  color: #39ae66;
}

span.campaign-status.status-closed {
  background: #f4dbdb;
  color: #ae3939;
}

span.campaign-status.status-new {
  background: #f4f4f4;
  color: #333;
}

.ranklevel-dashboard-dialog::-webkit-backdrop {
  background: #000000c4;
}

.ranklevel-dashboard-dialog::backdrop {
  background: #000000c4;
}

.ranklevel-dashboard-dialog {
  border-radius: var(--rl-border-radius);
  border: unset;
  padding: 32px;
  max-width: 400px;
  width: 90%;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: solid 1px rgb(239 239 239);
}

.dialog-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--rl-secondary-color);
  line-height: 1;
}

.dismiss-dialog:not(.rl-button-secondary) {
  border: unset;
  padding: 0 5px;
  cursor: pointer;
  color: var(--rl-secondary-color);
}

.general-icon-card {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75em;
  box-shadow: var(--rl-box-shadow);
  border: var(--rl-border-thin);
  padding: 1em;
  border-radius: var(--rl-border-radius);
}

.general-icon-card .icon {
  color: var(--rl-primary-color);
  background: var(--rl-soft-bg);
  aspect-ratio: 1;
  width: 2em;
  border-radius: var(--rl-border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.campaignExtraCustomerData {
  list-style: none;
  margin: 0;
  padding: 0;
}

.switch-toggle {
  margin-bottom: 5px;
  position: relative;
}

.switch-toggle input {
  height: 0;
  width: 0;
  position: absolute;
  top: 8px;
}

.switch-toggle label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.switch-toggle .toggle {
  display: flex;
  width: 40px;
  height: 20px;
  border: solid 1px #d9d9d9;
  border-radius: var(--rl-border-radius);
  justify-content: center;
  align-items: center;
}

.switch-toggle .toggle-state {
  height: 15px;
  width: 15px;
  background: #d9d9d9;
  border-radius: var(--rl-border-radius);
  transform: translateX(-10px);
  transition: 150ms;
}

.switch-toggle input:checked ~ label .toggle-state {
  transform: translateX(10px);
  background: var(--rl-primary-color);
}

.rl-table {
  margin: 0;
}

.rl-table th,
.rl-table td {
  border: unset;
  border-bottom: solid 1px #00000020;
  padding: 15px 5px !important;
  text-align: left !important;
  background-color: #fff !important;
  vertical-align: middle;
}

#customer-answers .feedback {
  display: block;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 200px;
  overflow: hidden;
}

.company-card {
  border: var(--rl-border-thin);
  border-radius: var(--rl-border-radius);
  display: block;
  overflow: hidden;
}

.company-card img {
  aspect-ratio: 16/9;
  -o-object-fit: cover;
  object-fit: cover;
}

.tab-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.tab-nav > li {
  flex: 1;
}

.tab-nav a {
  display: flex;
  border-bottom: solid 2px #e3e6ef;
  padding: 0 16px 16px;
  color: #333;
  justify-content: center;
  align-items: center;
  gap: 0.85em;
}

.tab-nav a.active {
  border-color: var(--rl-primary-color);
}

.tab:not(.active) {
  display: none;
}

.insight-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-flow: column;
  gap: 1em;
}

.insight-list .insight {
  background: #fff;
  border-left: solid 2px;
  border-radius: var(--rl-border-radius);
}

.insight-list .insight .insight-title,
.insight-list .insight .insight-body {
  padding: 24px;
  position: relative;
}

.insight-list .insight .insight-title {
  cursor: pointer;
}

.insight-list .insight .insight-title h6 {
  margin: 0;
}

.insight.insight-good {
  border-color: #39ae66;
}

.insight.insight-bad {
  border-color: #ff4e4e;
}

.insight.insight-regular {
  border-color: #ffbc05;
}

.insight.insight-pro {
  border-color: var(--rl-primary-color);
}

.insight-title::after {
  content: "\ea4e";
  font-family: remixicon !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  right: 24px;
  top: 20px;
}

.insight.active .insight-title::after {
  content: "\ea78";
}

.insight:not(.active) .insight-body {
  display: none;
}

.insight.insight-pro .insight-body::before {
  content: "";
  background: #ffffffab;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 99px;
  background-image: linear-gradient(to right, #ff4c4a, #ffba00, #3bae65);
}

.insight-progress {
  position: relative;
  margin-top: 40px;
}

.progress-indicator {
  position: absolute;
  top: -30px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  line-height: 1;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, 0);
}

.progress-indicator::after {
  content: "\ea4d";
  font-family: remixicon !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.insight.insight-pro .insight-progress {
  display: none;
}

.average-score-container {
  max-width: 400px;
  margin: auto;
}

.average-score {
  bottom: 50px;
  position: absolute;
  left: 0;
  right: 0;
}

.score-point {
  background: #fff;
  padding: 5px 10px;
  border-radius: var(--rl-border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25em;
}

.score-point .point {
  width: auto;
  text-align: center;
  line-height: 1.4em;
  border-radius: 3px;
  height: 1.4em;
  aspect-ratio: 1;
  display: block;
}

.list-checkmark {
  list-style: none;
  padding: 0;
}

.list-checkmark li::before {
  content: "\eb80";
  font-family: remixicon !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  position: relative;
  color: var(--rl-primary-color);
  margin-right: 10px;
}

.card-tool {
  padding: 24px;
  border-radius: var(--rl-border-radius);
  background: #fff;
  height: 100%;
}

@media (max-width: 768px) {
  #dashboard-nav:not(.active) {
    transform: translate(100%, 0);
    box-shadow: unset;
  }

  #dashboard-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999999999999999;
    background: #fff;
    padding: 2em 1em;
    height: 100dvh;
    box-shadow: -20px 1px 20px 20px #00000010;
    transition: all 200ms;
  }

  #dashboard-nav ul {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #dashboard-nav ul a {
    display: block;
    width: 100%;
    min-width: 60dvw;
  }

  #dashboard-nav ul li {
    width: 100%;
  }

  #dashboard-nav::before {
    background: red;
    width: 100%;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
  }
}

.rl-table + .dt-paging nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.rl-table + .dt-paging .dt-paging-button.first,
.rl-table + .dt-paging .dt-paging-button.last {
  display: none !important  ;
}

.rl-table + .dt-paging .dt-paging-button {
  color: #667085 !important;
  float: left;
  padding: 10px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  border: none;
  margin: 0 4px;
  border: unset;
  background: unset;
  border: 1px solid transparent;
  border-radius: var(--rl-border-radius) !important;
}

.rl-table + .dt-paging .dt-paging-button.current,
.rl-table + .dt-paging .dt-paging-button:hover {
  background-color: #e9eeff !important;
  color: #003cfe !important;
  border-color: #e9eeff !important;
}

.lead-counter {
  display: inline-block;
  line-height: 1;
  padding: 5px;
  background: var(--rl-primary-color);
  border-radius: var(--rl-border-radius);
  color: #fff !important;
}

.integration-step:not(.active),
#form-whatsapp-messenger > button {
  display: none;
}
