/* language selection issue*/
.customBtn-selected {
  background-color: var(--digitv2-lightTheme-primary);
}

/* login  screen  issue*/

.primary-label-btn {
  color: var(--digitv2-lightTheme-primary) !important;
}

/* landing  screen  issue*/

.employeeCard {
  .complaint-links-container .header .logo {
    background-color: var(--digitv2-lightTheme-primary);
  }

  .complaint-links-container .body {
    &.link {
      color: var(--digitv2-lightTheme-primary);
    }
    .inbox-total {
      background-color: var(--digitv2-lightTheme-primary);
    }
  }
}

.employee .topbar .right .user-img-txt {
  background-color: var(--digitv2-lightTheme-primary);
}
/* button component   issue*/

.action-bar-wrap {
  padding: 1rem 2rem;
  .submit-bar {
    background-color: var(--digitv2-lightTheme-primary);
  }
}
.submit-bar {
  background-color: var(--digitv2-lightTheme-primary);
}
.link-label {
  color: var(--digitv2-lightTheme-primary) !important;
}
.jk-digit-secondary-btn {
  color: var(--digitv2-lightTheme-primary);
  border-color: var(--digitv2-lightTheme-primary);

  svg {
    fill: var(--digitv2-lightTheme-primary);

    path {
      fill: var(--digitv2-lightTheme-primary);
    }
  }
}
.error-boundary .error-container button {
  background-color: var(--digitv2-lightTheme-primary);
}

/* inbox  screen  issue*/

.inbox-search-wrapper {
  .search-tabs-container .search-tab-head-selected {
    color: var(--digitv2-lightTheme-primary);
    border-color: var(--digitv2-lightTheme-primary);
  }
  .submit-bar {
    background-color: var(--digitv2-lightTheme-primary);
  }
  .search-component-table .link {
    color: var(--digitv2-lightTheme-primary);
  }
  .link-label {
    color: var(--digitv2-lightTheme-primary) !important;
  }
}
.drag-drop-container .drag-drop-text .browse-text {
  color: var(--digitv2-lightTheme-primary);
}
/* toast new componnet css added */

@keyframes slideInFromBottom {
  from {
    bottom: -3rem;
  }
  to {
    bottom: 4rem;
  }
}

.toast-success.animate {
  animation: slideInFromBottom 0.5s ease forwards;
}

@media screen and (max-width: 768px) {
  .topbar {
    background: #0b4b66 !important;
    color: #fff;
  }
}
header {
  @include typography-text-heading-xl;
  margin-bottom: 0rem;
}
.digit-button-secondary {
  .icon-label-container {
    h2 {
      color: var(--digitv2-lightTheme-primary);
    }
  }
}

.card-container-delivery {
  .additional-elements-column {
    .icon-label-container {
      .digit-button-label {
        margin-top: 0.125rem;
      }
    }
  }
}

/*.digit-popup-wrap {
  background: rgba(0, 0, 0, 0.7);
  @apply flex  fixed w-full h-full overflow-auto top-0 left-0 min-h-screen;
  z-index: 10000;
  max-width: 100% !important;
  max-height: 100% !important;
}

@screen dt {
  .digit-popup-wrap {
    background: rgba(0, 0, 0, 0.7);
    @apply min-h-screen;
  }
}

.digit-popup-close-icon {
  @apply flex justify-end;
}*/

.employee {
  .digit-employeeSidebar {
    .sidebar {
      z-index: 999;
    }
  }
}

.horizontal-nav {
  background-color: transparent !important;
}
.horizontal-nav .sidebar-list.active .menu-label {
  color: var(--digitv2-lightTheme-primary);
}
.horizontal-nav .sidebar-list.active {
  border-bottom: 3px solid #c84c0e;
}
.stepper-wrapper {
  width: max-content;
}
.stepper-label {
  width: max-content;
}

.digit-popup-children-wrap {
  .parent-group {
    .digit-tag-container {
      max-width: 100%;
    }
  }
}
.digit-card-label {
  width: 30%;
}
.selecting-boundaries-pop {
  min-height: 50%;
}
.employee .digit-employeeSidebar .digit-sidebar {
  z-index: 999;
}
.employee .digit-topbar {
  z-index: 9999;
}
.digit-popup-overlay .digit-popup-wrapper {
  z-index: 10000;
}
.action-bar-wrap .actionBarClass {
  z-index: 10;
}
.campaign-flow-stepper {
  margin-left: -5.625rem;
  margin-right: -6.875rem;
}
.wbh-header-container {
  margin: 0rem;
}
.digit-description {
  display: contents !important;
}
.create-campaign-disable {
  opacity: 0.5;
  background: #c5c5c5 !important;
}
.date-field-container {
  .digit-new-date-format {
    z-index: 0;
  }
}

.employee-app-wrapper {
  &.digit-home-app-wrapper {
    .ground-container {
      &.digit-home-ground {
        margin-left: 0.75rem;
        margin-bottom: 2rem;
      }
    }
  }
}

.digit-landing-page-card {
  border-radius: 0.25rem;
}
.campaign-product-wrapper {
  .digit-popup-footer {
    background-color: #fff;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 9;
  }
}

.pagination{
  background-color: #ffffff;
}

.digit-action-bar-wrap{
  &.dateUpdateAction{
    span{
      button{
          margin-left: 3rem;
          min-width: 12.5rem;
      }
    }
    &.single-button{
      .spanWrapper{
        margin-left: auto;
      }
    }
  }
}

.digit-card-component{
  &.digit-landing-page-card{
    border-radius: 12px !important;
  }
}

.digit-custom-checkbox{
  &.digit-custom-checkbox-emp{
    border-radius: 4px !important;
  }
}

.digit-custom-checkbox{
  border-radius: 4px !important;
}

.digit-popup-wrapper{
  border-radius: 12px !important;
}

.digit-multiselectdropodwn-custom-checkbox{
  border-radius: 4px !important;
}

.digit-multiselectdropodwn-custom-checkbox-selectAll{
  border-radius: 4px !important;
}

.page-padding-fix {
  &.add-product-screen{
    .label-field-pair {
      margin-top: -16px !important;
    }
  }
}

.view-composer-header-section{
  .card-sub-header{
    font-family: "Roboto";
  }
}

.digit-multiselectdropdown-server,
.digit-dropdown-options-card {
  border-radius: var(--digitv2-borderRadius-radius1);
}

.checklist-create {
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
    max-width: 27.5rem;
  }

  @media (max-aspect-ratio: 9/16) {
    max-width: 100%;
    width: 100%;
  }

  @media (min-aspect-ratio: 3/4) {
    max-width: 37.5rem;
  }
}
.digit-inbox-search-wrapper {
  .digit-inbox-search-component-wrapper {
    .digit-sections-parent {
      &.search {
        .digit-section {
          border-radius: 12px;
        }
      }
    }
  }
}

.digit-panelcard-wrap{
  border-radius: 12px !important;
}

.digit-toast-success {
  margin-bottom: -1.25rem;
}

.digit-toast-success {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  position: fixed;
  left: 50%;
  bottom: 4.5rem;
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 10000;

  .toast-label {
    line-height: 1.5;
    word-break: break-word;
    height: auto;
    white-space: unset;
  }
}

.digit-toast-success.animate {
  transform: translate(-50%, 0);
  opacity: 1;
}

.manage-bills-table,
.bill-details-table {
  .rdt_Table input[type="checkbox"] {
    cursor: pointer;
  }

  .rdt_Table input[type="checkbox"]:checked {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 1rem;
    height: 1rem;
    border: 0.125rem solid #c84c0e !important;
    border-radius: 0.125rem;
    background: #ffffff !important;
    display: grid;
    place-content: center;
  }

  .rdt_Table input[type="checkbox"]:checked::after {
    content: "";
    width: 0.3rem;
    height: 0.55rem;
    border: solid #c84c0e;
    border-width: 0 0.125rem 0.125rem 0;
    transform: rotate(45deg) scale(1);
    transform-origin: center;
    margin-top: -0.05rem;
  }
}

.worker-details-popup .digit-popup-heading {
  color: #0b4b66;
}

.digit-button-teritiary.large .icon-label-container h2.digit-button-label{
  line-height: normal;
  height: unset;
}

.digit-button-secondary.large .icon-label-container h2.digit-button-label{
  line-height: normal;
  height: unset;
}

.login-container {
  .login-form-container {
    .bannerHeader {
      .bannerLogo {
        width: 100%;
        height: 100%;
        max-width: 138px;
        max-height: 40px;
      }
    }
  }
}