.crm_dashboard {
  .viewTabs {
    margin-bottom: 1rem;
    position: sticky;
    top: 53px;
    background: #fff;
    z-index: 99;
    padding: 0px 0 0 0;
  }

  .viewTabs ul {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #d9d9d9 !important;
    display: flex;
    padding-left: 1rem;
  }

  .viewTabs ul li {
    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;
  }

  .viewTabs ul li.active {
    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;
  }

  .userImg {
    display: flex;
    align-items: center;
  }

  .userImg span {
    margin-left: 0.5rem;
    /*width: 600px;*/
    /* overflow-x: hidden;
    overflow-y: hidden; */
    word-wrap: break-word;
    line-height: 16px;
  }

  #custom-textarea-email {
    .custom-textarea {
      height: 50vh;
      border: 1px solid var(--bs-breadcrumb-border);
      border-radius: 0;
    }
  }

  .actionRow {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
  }

  .leadRow {
    margin-right: 1.5rem;
  }

  .addNote {
    margin-right: 1.5rem;
    /* width: 600px; */
    /* overflow-x: hidden; */
    /* overflow-y: auto; */
    /* height: 80px; */
    word-wrap: break-word;
    line-height: 16px;
  }

  .actionButton img {
    width: 14px;
    margin: 0rem 0.5rem 0 0;
  }

  .userName {
    color: #456abb;
  }

  .customTextA label {
    display: none;
  }

  .attBtn {
    display: flex;
    align-items: center;
    transition: all 0.4s;
  }

  .attBtn img {
    width: 7px;
  }

  .attBtn:hover img {
    filter: brightness(0) invert(1);
    transition: all 0.4s;
  }

  .tableContainer table {
    width: 100%;
  }

  .tableContainer table th {
    font-weight: 600;
  }

  .tableContainer table th,
  .tableContainer table td {
    border-bottom: 1px solid #d9d9d9;
    padding: 0.5rem 0;
  }

  .status {
    border-radius: 50px;
    padding: 0.15rem 0.5rem;
    padding-left: 1.5rem;
    min-width: 150px;
  }

  .statusCol .active {
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: 0.8rem;
    text-align: center;
    display: inline-block;
    min-width: 80px;
  }

  .statusCol .active a {
    color: #000;
  }

  .gr {
    border: 2px solid green;
  }

  .statusCol .rd {
    border: 2px solid #f19494;
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: 0.8rem;
    text-align: center;
    display: inline-block;
  }

  .statusCol .active a {
    color: #000;
  }

  .mailLink {
    display: block;
  }

  .ViewLeadPageOuter {
    display: block;
    width: 100%;
  }

  .viewHeader {
    background: #d9e7f6;
    padding: 0.5rem 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .flex-div {
    display: flex;
  }

  .userProfileBlock {
    display: flex;
  }

  .userProfileBlock p {
    font-weight: 600;
  }

  .tag {
    margin-top: 0.35rem;
  }

  .tag img {
    width: 14px;
    height: auto;
  }

  .tag small {
    font-size: 13px;
  }

  .rightAction {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .rightAction button {
    transition: all 0.4s;
  }

  .rightAction button.actbtn {
    color: #fff;
    background-color: #365397;
    border-color: #365397;
  }

  .userimg {
    background-color: #fff;
    padding: 0.2rem;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-align: center;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .userimg img {
    max-width: 100%;
    height: auto;
  }

  .arwButton button {
    border: none;
    background: none;
    opacity: 0.5;
  }

  .arwButton button:hover {
    opacity: 1;
  }

  .arwButton button.current {
    opacity: 1;
  }

  .emialTabRow {
    /* background: #f9fefd;
    border-bottom: 1px solid #d9d9d9;
    padding-top: 0.6rem; */
  }

  .emialTabRow ul {
    width: 100%;
    padding: 0;
    margin: 0;
    /* border-bottom: 1px solid #d9d9d9; */
    display: flex;
    /* padding-left: 1rem; */
  }

  .emialTabRow ul li {
    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;
  }

  .emialTabRow ul li.active {
    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;
  }

  .scrollTo {
    position: relative;
    top: -105px;
  }

  .cName p {
    font-size: 16px;
  }

  .cName span {
    font-size: 13px;
  }

  .activityBlock {
    background: #f1f6fb;
  }

  .activityHeader {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
  }

  .activityHeader img,
  .activityHeader p {
    margin-right: 0.85rem;
    font-weight: 500;
  }

  .activityHeader span.labelTask {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 500;
    border-radius: 4px;
    background: #ffe8e8;
  }

  .activityHeader span.disable {
    background: #d9d9d9;
  }

  .activityBody {
    padding: 1rem;
  }

  .activityContent {
    border-bottom: 1px solid #d1d1d1;
    min-height: 150px;
  }

  .activityRow {
    display: flex;
    justify-content: space-between;
  }

  .flp p {
    color: #456abb;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.2rem;
  }

  .flp small {
    font-size: 14px;
  }

  .userActivity span {
    font-weight: 500;
  }

  .activityRow2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
  }

  .otherInfo {
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .otherInfoRow {
    display: flex;
    align-items: center;
    margin: 0.55rem 0;
  }

  .otherInfoRow label {
    width: 80px;
  }

  .whiteb {
    background: #fff;
  }

  .High {
    background: #ffd1d1;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
  }

  .emialTabRow {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 0px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .nav-tabs .nav-link.active {
      color: #456abb;
    }

    .nav-tabs::before {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;
    }

    .nav-tabs .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456abb;
      transition: width 0.3s ease-in-out;
    }

    .nav-tabs .nav-link.active::after {
      width: 100%;
    }

    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }

    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }
  }

  .viewTabs {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 0px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .nav-tabs .nav-link.active {
      color: #456abb;
    }

    .nav-tabs::before {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;
    }

    .nav-tabs .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456abb;
      transition: width 0.3s ease-in-out;
    }

    .nav-tabs .nav-link.active::after {
      width: 100%;
    }

    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }

    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }
  }

  #overviewBlock .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    box-shadow: none;
  }

  #overviewBlock .accordion-button {
    padding: 0;
    outline: none;
    border: none;
    box-shadow: none;
  }

  img.action-img2 {
    position: relative;
    top: -1px;
  }

  .css-t3ipsp-control {
    border-radius: 5px !important;
    min-width: 195px !important;
    border: 1px solid #0056b3 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.3) !important;
    transition: all 0.3s ease;
  }

  .css-rpx13n-control {
    border: 1px solid #0056b3 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.3) !important;
  }

  .action-menu {
    display: flex;
    gap: 6px;
    cursor: pointer;
    /* margin-left: 15px; */
    align-items: center;
  }

  .emailOpt {
    position: relative;
    top: 12px;
  }

  .dealsView .card {
    background: white;
    border-radius: 0px;
    padding: 1rem 0 0 0;
    box-shadow: none;

    border-right: 1px solid #d9d9d9;
    height: 100%;
    margin-bottom: 0;
  }

  .dealsView .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #d9d9d9;

    padding: 0 1rem 1rem 1rem;
  }

  .deal-item {
    padding: 0 1rem 1rem 1rem;
  }

  .deal-amount {
    display: inline-block;
    background: #de6c79;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
  }

  .deal-title {
    display: block;
    margin: 8px 0;
    color: #666;
  }

  .deal-date {
    color: #999;
    font-size: 14px;
  }

  .action-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  /* .action-tag {
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
      margin-right: 10px;
    }

    .action-tag.red {
      background: #DE6C79;
      color: white;
    }

    .action-tag.orange {
      background: #ED9F39;
      color: white;
    } */

  .contact-card {
    display: flex;
    align-items: flex-start;
  }

  .contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .contact-info {
    flex: 1;
  }

  .contact-name {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .contact-detail {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
  }

  .contact-detail img {
    width: 14px;
    height: auto;
    margin-right: 8px;
    opacity: 1;
  }

  .ribbon {
    padding: 0.22rem 8px;
    border-radius: 4px 0px 0px 4px;
    font-size: 12px;
    margin-right: 1rem;

    position: relative;
    color: #fff;
  }

  .ribbon::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 0;
    width: 0;
    height: 0;

    border-right: 10px solid transparent;
  }

  .ribbon.red::after {
    border-top: 10px solid #de6c79;
    border-bottom: 10px solid #de6c79;
  }

  .ribbon.orange::after {
    border-top: 10px solid #ed9f39;
    border-bottom: 10px solid #ed9f39;
  }

  .ribbon.red {
    background: #de6c79;
    color: white;
  }

  .ribbon.orange {
    background: #ed9f39;
    color: white;
  }

  .crm_dashboard .flex_dropdown .css-13cymwt-control:hover {
    border-color: #365397;
    border-color: #5b86e3;
    border-radius: 40px;
    border-radius: 40px;
    cursor: pointer;
    cursor: pointer;
    box-shadow: none;
    box-shadow: none;
  }

  .crm_dashboard .css-t3ipsp-control {
    box-shadow: none !important;

    border-radius: 40px !important;

    min-width: 195px !important;
  }

  .crm_dashboard .css-t3ipsp-control:hover {
    box-shadow: none !important;

    border-color: unset;

    border-radius: 40px !important;

    min-width: 195px !important;
  }

  .crm_dashboard .css-1nmdiq5-menu {
    background: #fff;
    z-index: 9999 !important;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
  }

  .crm_dashboard .css-1n6sfyn-MenuList {
    font-size: 0.85rem;
  }

  .crm_dashboard .css-3w2yfm-ValueContainer {
    overflow-y: auto !important;
    min-height: calc(100vh - (462px + 221px));
    scrollbar-width: thin;
  }

  .crm_dashboard .card-body {
    text-align: center;
    padding-top: 12px;
    padding-top: 12px;
    background: #fff;
    background: #fff;
  }

  /*************New*************/
  /* ************************************************************************CRM LEADS PAGE START***************************************** */

  .tt_filtersearch {
    position: relative;
    width: 100%;
    max-width: 300px;
    font-size: 0.9rem;
  }

  .searchfield {
    width: 100%;
    padding: 7px 40px 7px 15px;
    border-radius: 40px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    outline: none;
  }

  .searchfield:hover,
  .searchfield:focus {
    border-color: #086cc3;
  }

  .searchicon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url(../images/search.png);
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .text-bld label {
    font-weight: 500;

    span {
      font-weight: bold;
    }
  }

  .img-sec {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 14px;
  }

  .addlead_container {
    width: 100%;
    background: #fff;
  }

  .addleadcard {
    /* margin-bottom: 18px; */
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    /* width: 92vh; */

    background: #fff;
  }

  .addleadcard .flexinput_container {
    gap: 10px;
  }

  .addlead-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #d1cfcf;
  }

  .addlead-header label {
    font-weight: bold;
  }

  .leadcontent {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    padding: 14px;
  }

  #flex-clumn {
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .userprofile_img {
    .image-upload-container {
      display: flex;
      align-items: center;
      position: relative;
    }

    .image-preview {
      width: 70px;
      height: 70px;
      border-radius: 5px;
      /* border: 2px solid #ddd; */
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background-color: #f0f0f0;
      cursor: pointer;
      transition: transform 0.3s ease-in-out;
      padding: 8px;
      margin: 12px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      /* box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1); */
    }

    .image-preview.uploaded {
      animation: scaleIn 0.3s ease-in-out forwards;
    }

    .upload-placeholder {
      font-size: 0.7rem;
      color: #7f7f7f;
      text-align: center;
      cursor: pointer;
    }

    .preview-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer;
      border-radius: 5px;
    }

    /* Image Name Styling */
    .image-name {
      font-size: 0.9rem;
      color: #000;
      margin: 8px 12px;
      animation: highlightFadeIn 0.4s ease forwards;
      font-weight: bold;
    }

    /* Highlight Animation */
    @keyframes highlightFadeIn {
      0% {
        opacity: 0;
        transform: translateY(5px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Scale-in Animation */
    @keyframes scaleIn {
      0% {
        transform: scale(0.9);
        opacity: 0.8;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* Menu Styling */
    .menu {
      transform: translateX(-50%);
      border-radius: 8px;
      padding: 5px 10px;
      display: flex;
      gap: 10px;
      opacity: 0;
      transform: translateY(10px);
      animation: fadeIn 0.3s ease forwards;
      margin-left: 25px;
    }

    /* Fade-in Animation for Menu */
    @keyframes fadeIn {
      0% {
        opacity: 0;
        transform: translateY(10px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .menu-button {
      background-color: #4a90e2;
      color: white;
      border: none;
      border-radius: 5px;
      padding: 5px 10px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .menu-button:hover {
      background-color: #357abd;
    }
  }

  .editimage {
    background-color: #365397;
    border: none;
    border-radius: 50%;
    padding: 6px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    position: absolute;
    bottom: -24px;
    left: -129px;
  }

  #timelogdropdown {
    .dropdown-item {
      font-size: 0.8rem;
      /* padding: .25rem .8rem; */
      padding: 8px 15px;
      border-bottom: 1px solid #efeeff;
    }

    .dropdown-menu {
      border: 1px solid #efeeff;
    }

    .dropdown-menu a:hover {
      background-color: #efeeff;
      color: #222;
    }
  }

  /* ************************************************************************ CRM LEADS PAGE END***************************************** */

  .viewFormContainer {
    display: flex;
    flex-wrap: nowrap;
    margin: 1rem;
    flex-direction: column;
  }

  .leftBlock {
    border: none;

    /* box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1); */

    /* background: #d9e7f6; */
    /* background: #f1f1f1; */
    background: #eef2fa;
    width: auto;

    /* min-height: 80px;
    max-height: max-content; */

    position: sticky;
    /* width: calc(100vw - 488px); */

    top: 120px;
    z-index: 986;
  }

  .leftBlock h2 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
  }

  .leftBlock ul {
    padding: 0.5rem;
    margin: 0;
    display: flex;
    /* border-top: 1px solid #D9D9D9; */
  }

  .leftBlock ul li {
    margin-right: .5rem;
    padding: 0.45rem 0.4rem;
    background: #efeeff;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s;
    min-width: 80px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
  }

  .leftBlock ul li:hover,
  .leftBlock ul li.activeList {
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg,
        rgba(40, 22, 141, 1) 0%,
        rgba(96, 18, 120, 1) 100%);
    color: #fff;
  }

  .leftBlock ul li:hover a,
  .leftBlock ul li.activeList a {
    color: #fff;
  }

  .leftBlock ul li:hover button,
  .leftBlock ul li.activeList button {
    color: #fff;
  }

  .leftBlock ul li a {
    color: #000;
    font-weight: 400;
    padding: 0 5px;
  }

  .action-img2 {
    width: 13px;
    height: auto;
  }

  .rightBlock {
    width: auto;
    padding: 1rem;
  }

  .viewFormContainer .rightBlock .addlead_container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .viewTabs {
    margin-bottom: 1rem;
    position: sticky;
    /* top: 53px; */
    top: 109px;
    background: #fff;
    z-index: 99;
    padding: 0px 0 0 0;
  }

  .viewTabs ul {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #d9d9d9 !important;
    display: flex;
    padding-left: 1rem;
  }

  .viewTabs ul li {
    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;
  }

  .viewTabs ul li.active {
    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;
  }

  .userImg {
    display: flex;
    align-items: center;
  }

  .userImg span {
    margin-left: 0.5rem;
    line-break: anywhere;
  }

  .custom-textarea {
    height: 30px;
  }

  .actionRow {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
  }

  .leadRow {
    /* margin-right: 1.5rem; */
    margin-right: 0rem;
  }

  .addNote {
    /* margin-right: 1.5rem; */
    margin-right: 0rem;
    font-size: 0.838rem;
    line-height: 1.2rem;
    line-break: anywhere;
  }

  .actionButton img {
    width: 14px;
    margin: 0rem 0rem 0 0.5rem;
    opacity: 0.5;
  }

  .actionButton img:hover {
    opacity: 1;
  }

  .userName {
    color: #456abb;
  }

  .customTextA label {
    display: none;
  }

  .attBtn {
    display: flex;
    align-items: center;
    transition: all 0.4s;
  }

  .attBtn img {
    width: 7px;
  }

  .attBtn:hover img {
    filter: brightness(0) invert(1);
    transition: all 0.4s;
  }

  .tableContainer table {
    width: 100%;
  }

  .tableContainer table th {
    font-weight: 600;
  }

  .tableContainer table th,
  .tableContainer table td {
    border-bottom: 1px solid #d9d9d9;
    padding: 0.5rem 1rem;
  }

  .status {
    border-radius: 50px;
    padding: 0.15rem 0.5rem;
    padding-left: 1.5rem;
    min-width: 150px;
  }

  .statusCol .active {
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: 0.8rem;
    text-align: center;
    display: inline-block;
    min-width: 80px;
  }

  .statusCol .active a {
    color: #000;
  }

  .gr {
    border: 2px solid green;
  }

  .statusCol .rd {
    border: 2px solid #f19494;
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: 0.8rem;
    text-align: center;
    display: inline-block;
  }

  .statusCol .active a {
    color: #000;
  }

  .mailLink {
    display: block;
  }

  .ViewLeadPageOuter {
    display: block;
    width: 100%;
  }

  .viewHeader {
    background: #d9e7f6;
    padding: 0.35rem 0.8rem 0.35rem 0.8rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .flex-div {
    display: flex;
  }

  .userProfileBlock {
    display: flex;
    align-items: center;
    padding-right: 1rem;
    width: 50%;
    flex: 1;
  }
  .userProfileBlock div:nth-child(2){
    flex:1;
    width: 84%;
  }
.userProfileBlock  .userimg{
 
    width: 40px;
    height: 40px;
  }

  .userProfileBlock  .userimg img{
    flex: 1;
    width: 100%;
    height: auto;
    background: linear-gradient(90deg, #f4e6ff 0%, #dbeaff 100%);
    border-radius: 8px;
  }
  .userProfileBlock p {
    font-weight: 600;
    display: block;
    text-overflow: ellipsis;
    display: block;
    width: 99%;
    overflow: hidden;
    white-space: nowrap;

  }

  .tag {
    margin-top: 0.35rem;
  }

  .tag img {
    /* width: 14px;
    height: auto; */
    height: 16px;
  }

  .tag small {
    font-size: 13px;
  }

  .rightAction {
    display: flex;
    align-items: center;
    justify-content: flex-end;

  }

  .rightAction button {
    margin-left: 10px;
  }


  .rightAction button {
    transition: all 0.4s;
  }

  .rightAction button.actbtn {
    color: #fff;
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg,
        rgba(40, 22, 141, 1) 0%,
        rgba(96, 18, 120, 1) 100%);
    border-color: rgb(40, 22, 141);
  }

  .rightAction button.actbtn:hover {
    color: #fff;
    background: linear-gradient(90deg,
        rgba(40, 22, 141, 1) 0%,
        rgba(40, 22, 141, 1) 100%);
  }

  .userimg {
    background-color: #fff;
    padding: 0rem;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-align: center;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
  }

  .userimg img {
    max-width: 100%;
    height: auto;
  }

  .arwButton button {
    border: none;
    background: none;
    opacity: 0.5;
  }

  .arwButton button:hover {
    opacity: 1;
  }

  .arwButton button.current {
    opacity: 1;
  }

  .emialTabRow {
    /* background: #f9fefd; */
    background: transparent;
    /* border-bottom: 1px solid #d9d9d9; */
    padding-top: 0.6rem;
  }

  .emialTabRow ul {
    width: 100%;
    padding: 0;
    margin: 0;
    /* border-bottom: 1px solid #d9d9d9; */
    display: flex;
    /* padding-left: 1rem; */
  }

  .emialTabRow ul li {
    text-align: center;

    color: #000;
    border-bottom: 0px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: .35rem;
    background: #fdfcfe;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
  }

  .emialTabRow ul li.active {
    color: #fff;

    background: #efeeff
  }

  .scrollTo {
    position: relative;
    top: 231px;
  }

  .cName p {
    font-size: 16px;
  }

  .cName span {
    font-size: 13px;
  }

  .activityBlock {
    background: #f1f6fb;
  }

  .activityHeader {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
  }

  .activityHeader img,
  .activityHeader p {
    margin-right: 0.85rem;
    font-weight: 500;
  }

  .activityHeader span.labelTask {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 500;
    border-radius: 4px;
    background: #ffe8e8;
  }

  .activityHeader span.disable {
    background: #d9d9d9;
  }

  .activityBody {
    padding: 1rem;
  }

  .activityContent {
    border-bottom: 1px solid #d1d1d1;
    min-height: 150px;
  }

  .activityRow {
    display: flex;
    justify-content: space-between;
  }

  .flp p {
    color: #456abb;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.2rem;
  }

  .flp small {
    font-size: 14px;
  }

  .userActivity span {
    font-weight: 500;
  }

  .activityRow2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
  }

  .otherInfo {
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .otherInfoRow {
    display: flex;
    align-items: center;
    margin: 0.55rem 0;
  }

  .otherInfoRow label {
    width: 80px;
  }

  .whiteb {
    background: #fff;
  }

  .High {
    background: #ffd1d1;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
  }

  .emialTabRow {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: .8rem;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
      background: none;
      margin-bottom: 1px;
    }

    .nav-tabs .nav-link.active {
      color: #456abb;
    }

    .nav-tabs::before {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;
    }

    .nav-tabs .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456abb;
      transition: width 0.3s ease-in-out;
    }

    .nav-tabs .nav-link.active::after {
      width: 100%;
    }

    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }

    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }
  }

  .viewTabs {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 0px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .nav-tabs .nav-link.active {
      color: #456abb;
    }

    .nav-tabs::before {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;
    }

    .nav-tabs .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456abb;
      transition: width 0.3s ease-in-out;
    }

    .nav-tabs .nav-link.active::after {
      width: 100%;
    }

    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }

    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }
  }

  #overviewBlock .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    box-shadow: none;
  }

  #overviewBlock .accordion-button {
    padding: 0;
    outline: none;
    border: none;
    box-shadow: none;
  }

  .addlead-header .dropdown {
    width: auto;
  }

  /*********Import Lead Pages - CRM***********/

  .dropdown-menu li:hover a {
    display: block;
    background-color: #efeeff;
    color: #222;
    width: 100%;
  }

  .importLead_main {
    width: 100%;
    margin-left: 0;
  }

  .viewHeader h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
  }

  .upload-container {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 120px;
  }

  .upload-inner {
    padding: 2rem 1.5rem;
    background: #f3f7ff;
    border-radius: 12px;
    margin: 1.2rem;

    transition: 0.2s;

    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .upload-inner h2,
  .upload-inner p {
    font-weight: 500;
  }

  .upload-inner p a {
    margin: 0 0.15rem;
  }

  .upload-container img {
    width: 60px;
    margin-bottom: 10px;
  }

  .upload-container h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
  }

  .upload-container a {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    margin: 10px 0;
  }

  .upload-container a:hover {
    text-decoration: underline;
  }

  .upload-container .footer-note {
    font-size: 14px;
    line-height: 1.5rem;
    color: #5c5c5c;
    font-weight: 500;
    margin-top: 0px;
    padding: 0rem 1.5rem;
  }

  .upload-container .uploadActions {
    margin: 20px;
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #ccc;
  }

  .upload-container button {
    margin: 1rem 0;
  }

  .upload-container .uploadActions button {
    margin: 0;
  }

  .upload-container .uploadActions button.btn-primary {
    color: #fff;
  }

  .upload-container .uploadActions button:hover {
    color: #fff;
  }

  .dropdown-toggle-split {
    border-left: 1px solid #3054a3;
  }

  .upload-container .file-input input[type="file"] {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    position: absolute;
    opacity: 0;
  }

  .file-input label {
    display: block;
    width: max-content;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .upload_succesMsg {
    padding: 2rem 1.5rem;
    background: #f3f7ff;
    border-radius: 12px;
    margin: 1.2rem;

    transition: 0.2s;

    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: centere;
  }

  .fileName p {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.25rem 1rem;
    max-width: 90%;
    background: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
  }

  .importLeadFiles {
    padding: 1.5rem;
  }

  .existingLeads {
    margin: 1rem 0;
  }

  .records_Block {
    max-width: 60%;
    margin: 1rem 0;
    border-bottom: 1px solid #d9d9d9;
  }

  .records_Block p {
    margin: 1rem 0;
    font-weight: 500;
  }

  .records_Block label {
    margin-left: 0.5rem;
  }

  .leads-Select {
    max-width: 400px;
  }

  .checkboxContainer {
    display: flex;
    margin-top: 1rem;
  }

  .checkboxContainer img {
    margin-left: 0.5rem;
  }

  .leadChecbox input {
    margin-right: 0.5rem;
    position: relative;
    top: 1px;
  }

  .fileNameBlock {
    display: flex;
    align-items: center;
  }

  .fileNameBlock img {
    margin-right: 0.5rem;
  }

  .grid-box {
    background: #fff !important;
  }

  .Timeline_CRM .audit-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .Timeline_CRM .date-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .Timeline_CRM .calendar-icon {
    color: #666;
    cursor: pointer;
  }

  .Timeline_CRM .audit-date {
    font-weight: bold;
    margin: 0px 0 20px 0;
    /* background: #f0dff9; */
    background: #f9eedf;
    width: auto;
    display: inline-block;
    padding: 0.3rem 0.55rem;
    border-radius: 50px;
  }

  .Timeline_CRM .audit-timeline {
    position: relative;
    padding-left: 15px;
  }

  .Timeline_CRM .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
  }

  .Timeline_CRM .timeline-line {
    position: absolute;
    left: 97px;
    top: 0;
    bottom: -20px;
    width: 2px;
    background-color: #eee;
  }

  .Timeline_CRM .timeline-dot {
    position: absolute;
    left: 83px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /* background-color: #dce4f6; */
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%);
    ;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Timeline_CRM .timeline-dot img {
    filter: brightness(0) invert(1);
  }

  .Timeline_CRM .time {
    width: 90px;
    color: #222;
    font-size: 0.9em;
    font-weight: 500;
  }

  .Timeline_CRM .user-name {
    color: #222;
    text-decoration: none;
    margin-right: 0px;
    margin-bottom: 0rem;
    font-weight: 400;
  }

  .Timeline_CRM .user-name span {
    color: #365397;
    font-weight: 600;
  }

  .Timeline_CRM .action {
    color: #666;
    display: block;
    font-size: 13px;
  }

  .Timeline_CRM .userNameBlock {
    margin-left: 2.5rem;
  }

  .userNameBlock {
    background: #f9f9ff;
    padding: 0;
    border-radius: 6px;
    width: 88%
  }

  .user-name {
    color: #365397;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 0.85rem;
    font-weight: 500;
    font-size: 0.938rem;
    padding: .75rem 1.2rem;

    background: #f4e6ff;
    background: linear-gradient(90deg, #f4e6ff 0%, #DBEAFF 100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .dataValueBlock {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;

  }

  .dataValueBlock h4 {
    margin-right: 0.5rem;
    font-weight: 500;

    width: 330px;
  }

  .dataChangesValue span {
    margin: 0 0.5em;
  }

  .actionTimeline {
    padding: 1rem 1.2rem;
    display: block;
  }

  .actionTimeline h3 {
    font-size: 1.2rem;
    color: #374668;
    margin: 0.5rem 0;
    font-weight: 500;
  }

  .actionTimeline h3 {
    font-size: 1rem;
    color: #222;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .oldValue {

    background: #eaeefd;
    border-radius: 4px;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1rem;
    line-break: anywhere;
    width: 40%;
    /* Remove any existing margins */
  }

  .newValue {
    /* background: #c9ebe7; */
    background: #dff5f4;
    border-radius: 4px;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1rem;
    line-break: anywhere;
    width: 40%;
    /* Remove any existing margins */
  }

  .viewFormContainer .addleadcard {
    margin: 1rem 0;
  }

  .btn-check:focus+.btn-primary,
  .btn-primary:focus {
    color: #fff;
    background-color: #365397;
    border-color: #365397;
    box-shadow: none;
  }

  .action-menu .dropdown-item {
    padding: 0;
    display: flex;
    align-items: center;
  }

  .action-menu .dropdown-menu a {
    color: #000;
    font-size: 0.85rem;
    padding: 4px 8px !important;
    line-height: normal !important;
  }

  .action-menu .dropdown-menu li:hover {
    background: #efeeff;
    color: #222;
  }

  .action-menu .dropdown-menu li:hover a {
    background: #efeeff;
    color: #222 !important;
  }

  .action-menu .dropdown-toggle::after {
    display: none;
  }

  /* .action-menu .dropdown-toggle img{
  position: relative;
    top: 2px;
} */

  .action-menu .dropdown {
    position: absolute;
    left: 75px;
  }

  .action-menu .dropdown-menu {
    position: absolute;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
    border: none;
  }

  .action-menu .dropdown-menu.show>.openSubMenu {
    display: block;
  }

  .action-menu .dropdown-submenu {
    display: none;
    position: absolute;
    height: 190px;
    max-height: 190px;
    /* left: 0px; */
    top: 26px;
    background: #fff;
    padding: 0rem 0rem 0 0;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transform: translateX(0);
    overflow-y: auto;
  }

  .action-menu .dropdown-submenu li a {
    padding: 0px 12px !important;
    color: #333;
    display: block;
    width: 100%;
  }

  .action-menu .dropdown-submenu li:hover a {
    background: #3054a3;
    color: #fff;
    display: block;
  }

  /* .openSubMenu{
  display: block;
} */

  .action-menu .openSubMenu {
    display: block;
    transform: translateX(122px);
  }

  #list-example li.active {
    background: #f1f9ff;
  }

  .dropdown-menu li:hover a {
    background: #efeeff;
    color: #222 !important;
  }

  /* ***************************************************sticky button header in view lead *********************************** */

  .viewHeader {
    position: sticky;
    top: 53px;
    z-index: 988;
  }

  /* .viewshadow {
    box-shadow: 0 5px 15px rgb(0 0 0 / 6%), 0 5px 15px rgb(0 0 0 / 10%);
  } */

  .spacing_bt {
    gap: 20px;
  }

  .dollarField {
    position: relative;
  }

  .dollarValue {
    position: absolute;
    left: 0.2rem;
    top: 2.18rem;
  }

  .dollarValue+span {
    position: absolute;
    left: 1rem;
    top: 2.18rem;
  }

  .dollarField {
    .formik-input {
      padding-left: 10px;
    }
  }

  .rightAction select {
    border-radius: 50px;
  }

  .rightheader {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
  }

  .rightheader h2 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0rem 0rem 0.5rem 0;
  }

  .rightheader p {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .viewHeader h1 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.55rem 0rem;
  }

  .whiteBlock {
    /* margin-bottom: 18px; */
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    /* width: 92vh; */
    background: #fff;
    min-height: calc(100vh - 176px);
  }

  .tblheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;

  }

  .alltemaplateHeder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4e6ff !important;
    background: linear-gradient(90deg, #f4e6ff 0%, #DBEAFF 100%) !important;
    padding: .5rem 1rem;
    margin-bottom: 1rem;
  }

  .alltemaplateHeder .tempNo {
    background: #fff;
  }

  .settingTable {
    padding: 0rem 1rem 1rem 1rem;
  }

  .settingTable table {
    border: 1px solid #e5e5e5;
  }

  .settingTable table thead th {
    background: #EFEEFF;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.8rem 0.5rem;
  }

  .settingTable .table-hover>tbody>tr:hover {
    background: #f1f9ff;
  }
.table thead{
  position: sticky;
  top:0;
}
  .table> :not(caption)>*>* {
    /* padding: 0.5rem 0.5rem; */

    box-shadow: none;
  }

  .searchBoxTable {
    min-width: 300px;
  }

  button.moreBtn {
    margin-left: 10px;
    background: none;
    border: none;
    color: #3054a3;
    cursor: pointer;
    background: none;
    border: none;
  }

  .vAlign {
    position: relative;
  }

  .vAlign img {
    position: relative;
    top: 4px;
    cursor: pointer;
  }

  .dropdown {
    /* position: relative; */
  }

  .menuBtn {
    margin-left: 10px;
    background: none;
    border: none;
    color: #0039c6;
    cursor: pointer;
    background: none;
    border: none;
    display: "inline-block";
  }

  .dropMenu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 150px;
    min-height: 62px;
  }

  ul.dropMenu li {
    list-style: none;
  }

  ul.dropMenu li a {
    color: #333;
    padding: 0.35rem 0.5rem;
    display: block;
    border-bottom: 1px solid #f2f2f2;
  }

  ul.dropMenu li a:hover {
    background: #456abb;
    color: #fff;
  }

  /*****************Genric Classes for POPUP*****************/

  .addProfileTA textarea {
    height: 120px;
  }

  .userNamecls {
    display: flex;
    align-items: center;
  }

  .userNamecls img {
    width: 30px;
    height: auto;
    margin-right: 0.5rem;
    border-radius: 30px;
  }

  .settingTable table td {
    vertical-align: middle;
  }

  /* .popup-content-block .settingTable{
   overflow: auto;

    max-height: calc(100vh - (200px + 200px));
} */

  .popup-content-block .settingTable table th {
    position: sticky;
    top: 0;
  }

  .permissionRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
    padding: 0.5rem 0;
  }

  .permissionAction {
    display: flex;
    align-items: center;
  }

  .permissionAction .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin: 0 0.5rem;
  }

  .permissionAction .form-check-input {
    margin-top: 0;
  }

  .permissionAction label {
    margin-left: 0.5rem;
  }

  .permissionRow p {
    color: #000;
    width: 150px;
  }

  .permissionControl .form-check-input:checked {
    background-color: #45bb87 !important;
    border-color: #45bb87 !important;
  }

  .permissionRow .form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none;
  }

  .settingTable table td {
    vertical-align: middle;
  }

  .dateblk {
    display: block;
    font-size: 0.8rem;
  }

  .txtbold {
    font-weight: 600;
  }

  .linkEl {
    font-weight: 600;
    color: #0039c6;
  }

  .flexDiv {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .flexDiv img {
    position: relative;
    top: 0.4rem;
    margin-right: 0.55rem;
  }

  .tempHdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tempHdr .dropdown p {
    font-weight: 600;
    font-size: 1.2rem;
  }

  .tempHdr .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    min-width: 175px;
    transition: none;
  }

  .tblheader h3 {
    display: flex;
    align-items: center;
    font-weight: 600;
  }

  .tempNo {
    background: #efeeff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    border-radius: 6px;
  }

  .templateBlk {
    padding: 0 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .tmpBox {
    max-width: 180px;
    width: 170px;
    height: 240px;
    margin-right: 1rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .tmpBox p {
    font-weight: 500;
    padding-top: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .tempLoader {
    font-weight: 400;
    color: #ccc;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
  }


  .templateBlkInner {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    /* padding: 0.6rem; */
    width: 100%;
    height: 88%;
    position: relative;
  }

  .templateBlkInner img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }

  .templateBlkInner:hover .hoverDiv {
    visibility: visible;
    transform: translateY(0px);
    opacity: 1;
    transition:
      transform 0.8s ease,
      opacity 0.8s ease;
  }

  .hoverDiv {
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%);
    padding: 0.5rem;
    text-align: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
    visibility: hidden;
    transform: translateY(10px);
    opacity: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition:
      transform 0.8s ease,
      opacity 0.8s ease;
  }

  .selBtn {
    background: #fff;
    padding: 0.25rem;
    border: 1px solid #fff;
    color: #000;
    transition: all 0.4s;
  }

  /* .selBtn:hover{
  background: #456abb;
  padding: .25rem;
  border: 1px solid #456abb;
  color: #fff;
} */

  .tempHdr .dropdown-menu.show {
    width: 200px;
  }

  .tempHdr .dropdown-menu li a:hover {
    background-color: #456abb;
    color: #fff !important;
  }

  #EditPopup {
    .popup-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background-color: rgba(0, 0, 0, 0.5); */
      background-color: transparent;
      display: flex;
      justify-content: flex-end;
      align-items: flex-end;
      z-index: 1000;
      padding-top: 120px;
    }

    /* Popup content */
    .popup-content {
      background: white;
      /* border-radius: 10px 0px 0px 0px; */
      border-radius: 0;
      width: 767px;
      max-width: 767px;
      box-shadow: -5px 0px 8px 0px rgba(0, 0, 0, 0.05);
      animation: slideIn 0.3s ease-out;
      overflow: unset;
      display: flex;
      flex-direction: column;
      position: relative;
      height: calc(100vh - (70px + 69px));
      border-left: 1px solid #d9d9d9;
      margin-bottom: 18px;
    }

    /* Popup Header */
    .popup-header {
      padding: 1rem;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 10px 0px 0 0;
    }

    .popup-title {
      margin: 0;
      font-size: 1rem;
      font-weight: bold;
    }

    .view-close {
      border: none;
      outline: none;
      background: transparent;
      transition: all 0.3s ease;
      padding: 0;
    }

    .view-close:hover svg path {
      fill: #365397;
    }

    /* Popup Body */
    .popup-body {
      padding: 1rem;
      font-size: 1rem;
      color: #6c757d;
      position: relative;
      overflow-y: auto;
    }

    /* Popup Footer */
    .popup-footer {
      padding: 1rem;
      border-top: 1px solid #e9ecef;
      display: flex;
      justify-content: flex-end;
      gap: 0.5rem;
      position: absolute;
      bottom: 0;
      width: 100%;
      background: #fff;
    }

    .popup-footer .btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }

    .popup-content-block {
      max-height: calc(100vh - (200px + 200px));
      overflow-x: hidden;
      overflow-y: auto;
    }
  }

  check:checked+.btn-outline-primary:focus {
    box-shadow: none;
  }

  .btn-check:active+.btn-outline-primary,
  .btn-check:checked+.btn-outline-primary,
  .btn-outline-primary.active,
  .btn-outline-primary.dropdown-toggle.show,
  .btn-outline-primary:active {
    color: #fff;
    background-color: #456abb;
    border-color: #456abb;
  }

  .btnTxt {
    font-weight: 600;
    min-width: 50px;
  }

  .btnTxt:hover {
    background: #e2f0ff;
    border-radius: 50px;
  }

  .btnImg {
    display: flex;
    align-items: center;
  }

  .editTemplateHdr {
    display: flex;
    align-items: center;
  }

  .flDiv {
    display: flex;
    align-items: center;
  }

  .editTemplateHdr .btn-group .btn {
    min-width: 105px;
    padding: 0.25rem 1rem 0.35rem 1rem !important;
  }

  .editTemplateHdr .btn-group .btn-check:checked+.btn-outline-primary img {
    filter: brightness(0) invert(1);
    position: relative;
    top: 3px;
  }

  .editTemplateHdr .btn-group .btn-outline-primary img {
    filter: brightness(1) invert(0);
    position: relative;
    top: 3px;
  }

  .editTemplateHdr .btn-group .btn-outline-primary:hover img {
    filter: brightness(0) invert(1);
  }

  .btn-check:active+.btn-outline-primary:focus,
  .btn-check:checked+.btn-outline-primary:focus,
  .btn-outline-primary.active:focus,
  .btn-outline-primary.dropdown-toggle.show:focus,
  .btn-outline-primary:active:focus {
    box-shadow: none;
  }

  .tempView {
    margin-top: 1.5rem;
  }

  .tempView img {
    width: 100%;
  }

  .editTemplateHdr .btn-check:active+.btn-outline-primary:focus,
  .btn-check:checked+.btn-outline-primary:focus,
  .btn-outline-primary.active:focus,
  .btn-outline-primary.dropdown-toggle.show:focus,
  .btn-outline-primary:active:focus {
    box-shadow: none !important;
  }

  .editTemplateHdr .btn-check:focus+.btn-outline-primary,
  .btn-outline-primary:focus {
    box-shadow: none;
  }

  .editTemplateHdr .btn-check:focus+.btn,
  .btn:focus {
    outline: 0;
    box-shadow: none;
  }

  .radioBtnContainer {
    margin-top: 0.3rem;
  }

  .radioBtnContainer .form-check-input {
    margin-top: 0;
  }

  .selTempName {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .selTempNameChip {
    background: #ebf2ff;
    padding: 0.35rem 0.8rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin: 0.5rem 0.5rem 0.5rem 0;
  }

  .selTempNameChip img {
    margin-left: 0.5rem;
  }

  label {
    color: #333;
  }

  .textBold span {
    font-weight: bold;
  }

  .custHeight {
    min-height: 400px;
  }

  .custHeightMassMail {
    min-height: 370px;
  }

  /* Hide the default checkbox */
  .custom-checkbox input[type="checkbox"] {
    display: none;
  }

  /* Create a custom checkmark */
  .custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  .custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    position: relative;
    margin-right: 0px;
    background-image: url(../images/startdef.svg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    border-width: 0;
    top: 4px;
  }

  /* Add a tick mark for the checked state */
  .custom-checkbox input[type="checkbox"]:checked+.checkmark {
    border: none;
    background-color: transparent;
    background-image: url(../images/startSel.svg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    border-width: 0;
  }

  .custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    background-image: url(../images/startSel.svg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    border-width: 0;
  }

  .previewLink {
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s;
    background: none;
    border: none;
  }

  .settingTable .table-hover>tbody>tr:hover .previewLink {
    visibility: visible;
    opacity: 1;
  }

  .custWd {
    min-width: 220px;
  }

  .custHgtpreview {
    max-height: calc(100vh - 205px) !important;
  }

  .tempViewMobile {
    background: url(../images/mobileView.png) no-repeat 50% 50% / 100% auto;
    width: 567px;
    height: 1151px;
    position: relative;
    margin: 0 auto;
  }

  .tempViewMobile img {
    position: absolute;
    position: absolute;
    width: 87%;
    height: auto;
    top: 100px;
    left: 37px;
  }

  .editTemplateHdr .btn-group {
    margin-left: 0.15rem;
  }

  /********************Template Builder Start*****************/

  .templateBuilderOuter {
    width: 100%;
  }

  .formContainer {
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%);
    padding: 1rem;
    /* box-shadow: 0px 2px 5px rgba(1, 41, 112, 0.1); */
  }



  .inputContainer input {
    border: none;
    padding: 0 0.5rem;
    background: transparent;
    color: #fff;
  }

  .inputContainer .formik-input,
  .formik-div input {
    min-height: 26px;
  }

  .inputContainer input::placeholder {
    color: #8c95a9;
  }

  .inputContainer .formik-input:focus {
    box-shadow: none;
    background: #4e2d99;
    border: none;
    color: #fff;
  }

  .inputContainer .css-13cymwt-control {
    border: none;
    background: #EFEEFF;
    min-height: 26px;
    height: 30px;
    border-color: transparent;
    border-radius: 6px;
  }

  .inputContainer .css-19bb58m input,
  .inputContainer .css-19bb58m input::placeholder {
    color: #444444;
  }

  .inputContainer .css-hlgwow {
    padding: 0 0.8rem;
    height: 100%;
  }

  .inputContainer .css-1u9des2-indicatorSeparator {
    display: none;
  }

  .inputContainer .css-1xc3v61-indicatorContainer {
    padding: 0 0.5rem 0 0;
    color: #6c757d;
  }

  .inputContainer .css-19bb58m:focus-visible {
    border: 0px;
  }

  .inputContainer .css-t3ipsp-control {
    border: none !important;
    background: #fff;
    height: 30px !important;
    min-height: 26px;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 6px !important;
  }

  .inputContainer .css-t3ipsp-control .css-1wy0on6 div {
    padding: 0 0.5rem 0 0 !important;
    color: #6c757d;
  }

  .inputContainer .css-t3ipsp-control .css-1u9des2-indicatorSeparator {
    display: none;
  }

  .inputContainer .css-1jqq78o-placeholder {
    grid-area: 1 / 1 / 2 / 3;
    color: #444;
    margin-left: 2px;
    margin-right: 2px;
    box-sizing: border-box;
  }

  .inputContainer-chk {
    background: #d2e4f8;
    border-radius: 6px;
    padding: 0.18rem 0.8rem;
  }

  .inputContainer-chk .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }

  .inputContainer-chk .form-check-input {
    margin-top: 0;
    margin-left: 0;
  }

  .inputContainer-chk .form-check-input:focus {
    box-shadow: none;
  }

  .inputContainer-chk .form-switch {
    padding-left: 0;
  }

  .inputContainer-chk .form-check label {
    margin-left: 0.5rem;
    white-space: nowrap;
  }

  .noLabel label {
    display: none;
  }

  .btnCT .btn {
    padding: 0.29rem 1rem;
    font-size: 1rem;
    min-width: 92px;
    transition: none;
    white-space: nowrap;
    background: #3a5afe;
    color: #fff;
    transition: all .4s;
  }

  .btnCT .btn-outline-primary:hover {
    background: #fff !important;
    color: #3a5afe !important;
  }

  .tName input {
    font-weight: 500 !important;
  }

  .tName .formik-div input::placeholder {
    font-weight: 500 !important;
  }

  .editor div {
    min-height: calc(100vh - 86.5px);
  }

  .newTemp {
    margin-left: 0;
  }

  .bdrLeft {
    border-left: 1px solid #8c95a9;
  }

  .backButton {
    background: none;
    border: none;
    text-align: center;
    color: #fff;
    transition: all 0.4s ease;
  }

  .backButton:hover {
    transform: translateX(-3px);
  }

  .backButton:hover .bi {
    transition: all 0.4s ease;
  }

  .backButton i {
    font-size: 1.5rem;
  }

  .backButton span {
    font-size: 0.938rem;
  }

  /********************Template Builder End*****************/
 
  .btn-sel:hover{
    background: #fff !important;
  border-color: #456abb; 
    background: none;
    border-color: none;
    box-shadow:0 1px 6px 2px rgba(0, 0, 0, 0.08);
    
    text-decoration: none;
    color: #456abb !important;
  }

  .btn-sel {
   background: #fff !important;
  border-color: #456abb; 
    background: none;
    border-color: none;
    box-shadow:0 1px 6px 2px rgba(0, 0, 0, 0.08);
    
    text-decoration: none;
    color: #456abb !important;
  }

  .galleryText {
    border: 1px solid #f1f1f1;
    padding: 0;
    margin: 1rem 0;
    border-radius: 6px;
  }

  .txtDetail {
    padding: 1rem 1rem;
    min-height: 200px;
  }

  .galleryText h2 {
    font-size: 1rem;
    font-weight: 500;
    /* color: #086cc3; */

    margin-bottom: 0.5rem;
    line-height: 1.4;
  }

  .galleryText p {
    font-size: 0.938rem;
    font-weight: 400;
    color: #222;
    padding: 0.5rem 0;
    line-height: 1.4;
  }

  .galleryText span {
    background: #b6ded6;
    text-align: center;
    border-radius: 50px;
    padding: 0.15rem 1rem;
    display: inline-block;
    margin: 0.25rem 0;
    font-size: 0.838rem;
  }

  .galleryText p.small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #222;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .small b {
    font-weight: 500;
    padding-right: 0.25rem;
    color: #74c887;
  }

  .moduleDisplay {
    background: #f7f5fa;
    text-align: left;
    padding: 0.5rem 1rem;
    color: #456abb;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .templateTypeHd {
    background: #f4e6ff !important;
    background: linear-gradient(90deg, #f4e6ff 0%, #DBEAFF 100%) !important;
    padding: 0 1.2rem;
    border-radius: 6px;
  }

  .templateTypeHd h2 {
    font-weight: 600;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
  }

  .templateTypeHd .tempNo {
    background: #fff;
    border-radius: 4px;
    padding: 0.15rem 0.25rem;
    display: block;
    width: auto;
    height: auto;
  }

  .novalue,
  p.novalue {
    color: #d9d9d9;
    font-weight: 400;
  }

  .flexDivhd {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .btnTrash {
    border: none;
    background: none;
    font-size: 0.9rem;
    color: #456abb;
    padding: 0;
    min-width: auto;
  }

  .btnTrash:hover {
    color: #374668;
  }

  /***View Page CSS Start****/

  .viewHeader {
    background: #fff;
    border-bottom: 1px solid #d9d9d9;
  }

  .ViewLeadPageOuter {
    /* background: #f1f1f1; */
    background: #eef2fa;
  }

  .viewFormContainer {
    margin: 0;
    /* background: #d9e7f6; */
    /* background: #f1f1f1; */
    background: #eef2fa;
    padding: 0rem;
    position: relative;
    /* top: 106px; */
    top: 0px;
    /* margin-right: 340px; */
    height: fit-content;
    overflow-x: clip;

  }

  .leftBlock {
    /* top: 107px; */
    top: 0px;
    padding: 0.8rem 1rem;
    margin: 0rem;
  }

  .leftBlock ul {
    padding: 0.5rem;
    background: #fff;
    border-radius: 6px;
  }

  .rightBlock {
    padding: 0;
    margin: 0rem 1rem;
    position: relative;
    /* z-index: 99; */
  }

  .rightBlock .viewTabs {
    background: #d9e7f6;
    padding: 0px 0 0 0;
    top: 11.9rem;
    border-radius: 0px;
    border-top: 1px solid #d9e7f6;
  }

  .rightBlock .accordion {
    background: transparent;
  }

  .addleadcard {
    box-shadow: none !important;
    border: 5px;
  }

  .accordion-header:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .addleadcard .addlead-header {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  #overviewBlock .addlead-header {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  .rightBlock .viewTabs .nav-tabs {
    background: #fff;
    border-radius: 4px;
  }

  .tab-content {
    background: none;
  }

  .accordion {
    background: #fff;
  }

  .addlead_container {
    background: transparent;
  }

  .addlead-header label {
    /* color: #365397; */
    color: #000;
  }

  .emialTabRow {
    padding-top: 0;
    /* background: #edf6ff; */
  }

  .emialTabRow {
    .nav-tabs .nav-link.active {
      color: #456abb;
      /* background: rgb(40, 22, 141);
    background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%); */
    }

    .nav-tabs .nav-link {
      font-size: 0.838rem;
    }
  }

  .viewTabs {
    border-radius: 4px;
  }

  .addlead-header {
    background: #fdfcfe;
    border-top: 1px solid #e5e7eb;
  }

  #headingOne {
    background: none;
    border-bottom: 0px solid #e5e7eb;
  }

  #headingOne button {
    font-weight: 600;
    font-size: 1.2rem;
  }

  #main_header {
    padding: 5px .85rem 5px 1.25rem;
    min-height: 24px;
  }

  .breadcrumb {

    a,
    span {
      font-size: 0.838rem;
    }
  }

  .leadback_pg {
    padding: 10px 27px;
  }

  .viewHeader {
    position: sticky;
    top: 38px;
    z-index: 988;
    border-top: 1px solid #ccdced;
  }

  .pd_card {
    padding: 0.8rem 1rem;
  }

  .leadcontent #tab1 table th:first-child {
    width: 3%;
  }

  .rightBlock .whiteBlock {
    margin: 0rem 0 1rem 0;
  }

  .dashboard_container {
    height: calc(100vh - (38px));
  }

  .ViewLeadPageOuter {
    height: 100%;
  }

  .collapse_card .addleadcard .addlead-header {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  .collapse_card .addleadcard .addlead-header:first-child {
    border-top: 0;
  }

.Timeline_CRM {
    min-height: calc(100vh - 260px);
    max-height: max-content;
    overflow: auto;
  }

  .noDataAvailable {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: calc(100vh - 410px); */
    min-height: calc(100vh - 260px);
    max-height: max-content;
  }



  .noDataAvailable p {
    font-weight: 500;
  }

  .noDataAvailable img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
  }

  .noDataCont {
    text-align: center;
  }

  .ViewLeadPageOuter .viewHeader {
    /* position: fixed;
    width: calc(100vw - 80px); */
    /* min-height: 70px */

    position: sticky;
  }

  #main_header {
    /* position: fixed;
    width: calc(100vw - 82px); */
    position: sticky;
    z-index: 989;
  }

  .dash-container {
    padding: 0 0.8rem 1rem 1.2rem;
    position: relative;
    top: 0px;
  }

  #CRM_pageSection .ag-grid-container {
    height: calc(100vh - (0px + 110px)) !important;
  }

  .home-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    top: 0px;
    /* background: #f1f1f1; */
    background: #eef2fa;
  }

  .active {
    border: 0px solid #0ebc6b;
  }

  td .active a {
    color: #0ebc6b;
  }

  .dotsactive {
    background-color: #0ebc6b;
  }

  /***View Page CSS End****/

  .crmsidemenu {
    z-index: 99991;
  }

  .showcontent input {
    padding: 0.5rem 0.8rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    border: 1px solid #cccccc;
  }

  .showcontent input:focus-visible {
    border: 0px solid #ccc;
    outline: none;
  }

  .convert_container,
  .importLeadFiles {
    position: relative;
    top: 0px;
    padding: 1rem;
  }

  /* .addlead_container .collapse_card{
  position: relative;
  top: 40px;
} */
  .totalaction-count {
    margin: 1rem 0;
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .backButton {
    cursor: pointer;
  }

  .timelog-btn:hover {
    /* background: #365397; */
    background: linear-gradient(90deg,
        rgba(40, 22, 141, 1) 0%,
        rgba(40, 22, 141, 1) 100%);
  }

  .refresh-btn {
    width: 15px;
    min-width: 15px;
    padding: 9px 15px 9px 15px;
    height: auto;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d1cfcf;
    transition: background-color .4s;
  }

  .refresh-btn:hover img {
    filter: brightness(0) invert(1);

  }

  .refresh-btn:hover {
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%);

    border-color: rgb(40, 22, 141);
  }

  .refresh-btn img {
    width: 12px;
    margin-right: 0;
    /* filter: brightness(0) invert(1); */
  }

  .refresh-btn {
    text-align: center;
  }

  .btn {
    line-height: 1.4;
  }

  .manage_tg_container {
    background: #e2eefb;
    padding: 0.65rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
  }

  .manage_tg_container svg {
    margin-right: 0.35rem;
  }

  .manage_tg_container p {
    font-size: 14px;
    color: #456abb;
  }

  .comingSoon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 300px)
  }

  .comingSoon img {
    width: 100px;
    height: auto;
  }

  .comingSoon h2 {
    font-size: 26px;
    font-weight: 600;
    padding-top: 1rem;
    color: #d1cfcf;
  }

  .rightContent .cutome_ag_theme {
    height: calc(100vh - 310px);
    overflow: auto;
  }

  .whiteBlock .galleryView {
    height: calc(100vh - 310px);
    overflow-y: auto;
    padding-right: 15px;
  }

  .soon {
    font-size: 0.8rem;
  }

  /************Pagination Class*************/
  .ag-status-bar-center,
  .ag-status-bar-center div {
    background: transparent !important;
    font-weight: 400;
  }

  .ag-status-bar-center select {
    padding: 0.25rem 1rem 0.25rem 0.5rem;
    margin-left: 0.5rem;
    border: 1px solid #f2f2f2;
    background: transparent url(../images/arrow-down.svg) no-repeat 80% 50% / 10px auto;
    border-radius: 4px;
    -webkit-appearance: none;
  }

  .ag-status-bar-center div p {
    padding: 0 1rem;
    margin: 0;
  }

  .ag-status-bar-center div button {
    border: none;
    background: none;
    display: flex;
    align-items: center;
    line-height: 0.5rem;
  }

  .modal::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: 989;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
  }
}

.modal-dialog {
  position: relative;
  z-index: 999;
}

/* .modal-backdrop.show {
  display: none !important;
} */

.popover.tagPopover {
  position: fixed !important;
  display: flex;
  max-width: 100%;
  /* box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1); */
  box-shadow:   0px 10px 25px 0px rgba(37, 41, 72, 0.20);
  transform: translate3d(90px, 100px, 0px) !important;
}

.popover.tagPopover .popover-arrow {
  left: -101px !important;
}

.modal-content {
  border-radius: 10px;
}

.modal-header .btn-close {
  background-image: none;
  background: rgb(40, 22, 141);
  background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%);

  border-color: rgb(40, 22, 141);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 1;
  width: 26px;
  height: 26px;
}

.modal-header .btn-close::before {
  content: "";
  background: url(../images/closeWh.svg) no-repeat 50% 50%/1em auto;
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.modal-header .btn-close:hover {
  background-color: #365397;
}

.modal-header {
  justify-content: space-between;
  background: #f4e6ff;
  background: linear-gradient(90deg, #f4e6ff 0%, #DBEAFF 100%);
  padding: 0.75rem 1.3rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px
}

.modal-footer {
  justify-content: flex-end;
  background: #fdfcfe;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 1.3rem;
}

.popup-footer {
  line-height: 1.6;
  padding: 0.75rem 1.3rem !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.popup-footer button,
.modal-footer button {
  padding: 8px 24px;
  line-height: 1.4;
}

.popup {
  top: 70px;
}

.dataChangesValue {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Adds spacing between elements */
  flex: 1 1 100%;
  width: 100%;
}

.dataChangesValue span:not(.oldValue):not(.newValue) {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.oldValue {
  background: #d0e7fe;
  border-radius: 50px;
  padding: 0.12rem 0.5rem;
  font-size: 0.9rem;
  margin: 0;
  min-width: auto;
  max-width: 250px;
  /* Remove any existing margins */
}

.newValue {
  background: #c9ebe7;
  border-radius: 50px;
  padding: 0.12rem 0.5rem;
  font-size: 0.9rem;
  margin: 0;
  min-width: auto;
  max-width: 250px;
  /* Remove any existing margins */
}

/******* New Classes for Inof Pages ********/
.infoBox {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.selectWd {
  width: 100%;
}

.addleadcard-view .flexinput_container {
  border: none;
}

.leadDetailInfo .input-container #noOfEmployees.formik-input,
.leadDetailInfo .input-container input#noOfEmployees {
  min-height: 10px;
}

.leadDetailInfo .input-container {
  margin: 0.35rem 0;
  font-size: .9rem !important;
}

.leadDetailInfo .css-16xfy0z-control {
  min-height: 22px;
}

.leadDetailInfo .input-container .textBoxField,
.leadDetailInfo .input-container .dollarField,
.leadDetailInfo .input-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex: 0 0 100%;
}

.leadDetailInfo .input-container a,
.leadDetailInfo .input-container .text,
.leadDetailInfo .input-container .textarea {
  line-height: 1.3rem;
}

.addleadcard-view .leadDetailInfo .LinkDes .textBoxField {
  align-items: flex-start;
}

.leadDetailInfo .input-container label {
  font-size: 0.9rem;

  margin: 0rem 0 0rem 0;
  color: #71717a;
  font-weight: 400;
  width: 150px;
  flex: 0 0 auto;
  line-height: 1.2rem;
}

.leadDetailInfo.notesLabel .input-container {
  align-items: start;
}

/* .leadDetailInfo.notesLabel .input-container label {
  padding-top: 0.35rem;
} */

.leadDetailInfo .input-container .css-ofedx2-container {
  width: auto;
}

.leadDetailInfo .input-container .dollarField {
  position: unset;
}

.leadDetailInfo .input-container textarea.custom-textarea {
  height: 100px;
}

.infoBox .pd_card {
  padding: 0.45rem 1rem !important;
}

.infoBox .addlead-header.pd_card {
  padding: 0.6rem 1rem !important;
}

.dlrFld {
  position: relative;
  display: flex;
  align-items: center;
}

.leadDetailInfo .input-container .dollarValue {
  margin-right: 0.35rem;
}

.leadDetailInfo .input-container .dollarValue,
.leadDetailInfo .input-container .dollarValue+span {
  position: relative;
  left: 0rem;
  top: 0rem;
}

.leadDetailInfo .input-container .input-container2 {
  gap: 0;
  padding: 0;
}

.leadDetailInfo .dlrFld {
  width: 100%;
}

/********* Container Height start********/

/****Edit Lead****/

.addleadcard .leadHt1,
.addleadcard .leadHt2 {
  min-height: 552px;
  max-height: fit-content;
}

.addleadcard .leadHt3,
.addleadcard .leadHt4 {
  min-height: 375px;
  max-height: fit-content;
}

/****View Lead****/

.addleadcard-view .leadHt1,
.addleadcard-view .leadHt2 {
  min-height: 378px;
  max-height: fit-content;
}

.addleadcard-view .leadHt3,
.addleadcard-view .leadHt4 {
  min-height: 290px;
  max-height: fit-content;
}

/********Edit Contact*********/

.addleadcard .contactHt1,
.addleadcard .contactHt2 {
  min-height: 278px;
  max-height: fit-content;
}

.addleadcard .gx-4 {
  --bs-gutter-x: 2rem;
}

/********View Contact*********/

.addleadcard-view .contactHt1,
.addleadcard-view .contactHt2 {
  min-height: 208px;
  max-height: fit-content;
}

/**********Edit Account*****/

.addleadcard .accountHt0 {
  min-height: 284px;
  max-height: fit-content;
}

.addleadcard .accountHt2 {
  min-height: 332px;
  max-height: fit-content;
}

/**********View Account*****/

.addleadcard-view .accountHt0 {
  min-height: 190px;
  max-height: fit-content;
}

.addleadcard-view .accountHtA {
  min-height: 336px;
  max-height: fit-content;
}

.addleadcard-view .accountHt2 {
  min-height: 220px;
  max-height: fit-content;
}

/**********Edit Opportunity ****/

.addleadcard .dealHt1 {
  min-height: 652px;
  max-height: fit-content;
}

/**********View Opportunity ****/

.addleadcard-view .dealHt1 {
  min-height: 486px;
  max-height: fit-content;
}

/********* Container Height end********/

.dtBox label {
  display: none;
}

.dtBox .formik-input,
.dtBox .formik-div input {
  min-height: 18px;
}

.detailContainer {
  display: flex;
  /* background: #f1f1f1; */
  background: #eef2fa;
  height: calc(100vh - 95px);
  overflow: auto;
}

.viewFormContainer {
  width: 100%;
}

.viewFormNotesOuter {
  /* width: 320px; */
  top: 11px;
  position: sticky;
  right: 0;
  height: calc(100vh - 124px);
  z-index: 986;
  background: #fff;
  margin: 0rem 1rem 1rem 0;
  border-radius: 10px;
  /* width: 520px; */
  width: 450px;
}

.rightBlock {
  height: calc(100vh - 240px);
}

.NotesContent {
  height: calc(100vh - 331px);
  overflow-y: auto;
}

.notesDes {
  /* border: 1px solid #d1d1d1; */
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: 1rem;
  width: 100%;
  background: #f9f9ff;
}

.NotesContent>.row>div.col-md-12:nth-last-child(2) {
  .notesDes {
    margin-bottom: 0;
  }
}

.noteForm {
  background: #fff;
}

.notestHDr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.submittedDate {
  color: #71717a;
  font-size: 0.838rem;
}

.notesTitle {
  color: #000;
  font-weight: 500;
  line-break: anywhere;
  line-height: 1.2rem;
}

.notesFtr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.submitedBy {
  color: #71717a;
  font-size: 0.838rem;
}

.badge-light-blue {
  background: #c4e9d5;
  color: #3d3b6d;
  font-size: 0.7rem;
  font-weight: 500;
}

#detailPageRight.rightBlock {
  height: fit-content;
}

#overview {
  display: block;
}

.leadTitle p {
  font-size: 0.85rem;
  color: #444444;
  font-weight: 400;
  margin-top: 0.25rem;
}

.popup-body-inner h2 {
  color: #000;
  margin-bottom: 1rem;
}

.leadTbl thead tr {
  background-color: #f5f7f7;
}

.leadTbl thead {
  position: sticky;
  top: -1px;
}

.leadTbl {
  border: 1px solid #ebebeb;
}

.leadTbl th,
.leadTbl td {
  padding: 0.5rem 1rem !important;
}

.leadTbl td:nth-child(2) {
  font-weight: 600;
  white-space: nowrap;
}

.dateBox {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
}

.dtBox {
  width: 100%;
}

#genricPopup {
  #leadGen .popup {
    width: 1024px;
    max-width: 1024px;
  }

  .tableContainer {
    min-height: 400px;
    max-height: 400px;
    overflow: auto;
    background: #fff;
    margin-top: 1rem;
  }
}

.btn-outline-primary:hover img {
  filter: brightness(0) invert(1);
}

.input-container .dfltText {
  width: 100%;
}



.popup-header {

  background: #f4e6ff !important;
  background: linear-gradient(90deg, #f4e6ff 0%, #DBEAFF 100%) !important;
}


table thead {
  background: #f4e6ff !important;
  background: linear-gradient(90deg, #f4e6ff 0%, #DBEAFF 100%) !important;
}

table tr th {
  background: transparent;
}

table td {
  background: #fff;
}

/*********custom Date Picker Classes*******/

.dtBox {
  position: relative;
  display: inline-block;
}

.dtBox input {
  padding-right: 40px; /* leave space for the custom icon */
  height: 40px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background-color: white;
  border-left: 1px solid #CCCCCC;
}

/* Hide the native calendar icon but keep it functional */
.dtBox input::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  right: 0;
}

/* Add custom calendar icon */
.dtBox::after {
        content: "";
        position: absolute;
        width: 38px;
        height: 38px;
        background-image: url(../images/dateIcon.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        pointer-events: none;
        right: 1px;
        top:1px
    }
/*********custom Date Picker Classes*******/

