/************reset CSS**************/
/* Modern CSS Reset */

.quoteai_dashboard_layout {
  display: flex;
  flex-direction: column;
  /* margin-bottom: 1rem; */
}

#quoteAi {
  width: 100%;
  /* background: #d1e1f7; */
  height: max-content;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;

  .QuoteDashboard {
    display: flex;
    margin-top: 3.75rem;

    /* margin-bottom: 4rem; */
  }

  /*
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}


input,
button,
textarea,
select {
    font: inherit;
}


ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}


a {
    text-decoration: none;
    color: inherit;
}


@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
} */

  /************reset CSS**************/

  body {
    background: #d1e1f7;
    font-family: "Inter", sans-serif;
    color: #05004e;
    font-size: 16px;
  }

  .main {
    width: 100%;
  }

  h2 {
    font-size: 1.2rem;
  }

  .btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    transition: all 0.4s;
    font-size: 0.8rem;
  }

  .btn-primary {
    background: rgb(40, 22, 141);
    background: linear-gradient(90deg,
        rgba(40, 22, 141, 1) 0%,
        rgba(96, 18, 120, 1) 100%);
  }

  .btn-primary:hover {
    background: linear-gradient(90deg,
        rgba(40, 22, 141, 1) 0%,
        rgba(40, 22, 141, 1) 100%);
  }

  .tabsBtn {
    background-color: #2563eb;
    color: #fff;
  }

  .tabsBtn:hover {
    background-color: #1551d4;
  }

  .btn-outline-primary {
    color: #3a5afe;
    border-color: #3a5afe;
  }

  .btn-outline-primary:hover {
    background-color: #3a5afe;
    color: #fff;
  }

  .kpiHdr .btn {
    padding: 0.28rem 1rem;
  }

  .kpiHdr {
    select {
      height: 32px;
    }
  }

  .kpiHdr button i {
    margin-right: 0.35rem;
  }

  .CircularProgressbar {
    width: 50px;
    height: 50px;
    transition: all .4s ease;
  }

  .CircularProgressbar .CircularProgressbar-path {
    stroke: #76d1b9;
  }

  .bluePrg {
    .CircularProgressbar .CircularProgressbar-path {
      stroke: #8cacf3;
    }
  }

  /*************header******************/
  header {
    background: #050f6a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem 0.8rem 1.2rem;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 99;
  }

  .flex-div {
    display: flex;
    align-items: center;
  }

  .toggle-Menu {
    display: flex;
    align-items: center;
  }

  .toggle-Menu i {
    font-size: 2rem;
    color: #fff;
    margin-right: 1.2rem;
    line-height: 0;
  }

  .hdrRight i {
    font-size: 1.2rem;
  }

  .search {
    margin: 0 1.5rem;
  }

  .notification span {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: #49b2b4;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -6px;
    right: 0;
    line-height: 0;
    font-size: 0.875rem;
  }

  .notification {
    margin: 0 1rem;
    position: relative;
    padding-right: 16px;
  }

  .pText {
    margin: 0 1.2rem;
  }

  .pName {
    font-weight: 600;
  }

  .pName,
  .pDes {
    display: block;
    line-height: 1rem;
  }

  .pDes {
    font-size: 0.8rem;
  }

  .pImg {
    position: relative;
    padding-right: 0.35rem;
  }

  .pImg::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50px;
    background: green;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
  }

  .pImg img {
    border-radius: 50px;
  }

  /********* Page Block *********/

  .pageOuterBlock {
    display: flex;
    align-items: center;
    /* margin-right: 60px; */
  }

  .whiteBoxCont {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
  }

  .mrgTop {
    margin-top: 1rem;
  }

  .topButton {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .topLeft button {
    margin-right: 1rem;
  }

  .topRight Button {
    margin-left: 1rem;
  }

  .topRight button i {
    margin-right: 0.35rem;
  }

  .lightBtn {
    background-color: #f7fbff;
    border-color: #d9d9d9;
  }

  .lightBtn:hover {
    background-color: #0b5ed7;
  }

  .kpiHdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .kpiHdr h2 {
    font-size: 1rem;
  }

  .kpiText {
    overflow: auto;
  }

  .kpiText .row {
    flex-wrap: nowrap;
  }

  .kpi-card {
    border: 0;
    border-radius: 12px;
  }

  .kpiText .card {
    height: auto;
    box-shadow: none;
    /* padding: 0.5rem; */
    margin-bottom: 0;
  }

  .kpi-card .card-subtitle {
    font-size: .78rem;
    font-weight: 500;
    color: #575050;
  }


  /*
  .kpi-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(172px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;

    margin-bottom: 0px;
    scrollbar-width: thin;
    scrollbar-color: #e5eaf5 transparent;
    overflow-x: scroll;


  } */

  .kpi-grid::-webkit-scrollbar {
    height: 6px;
  }

  .kpi-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .kpi-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #66b2ff, #007bff);
    border-radius: 10px;
  }

  .kpi-card .card-body {
    flex-wrap: nowrap;

  }

  .kpi-card .card-body {
    flex-shrink: 1;
    min-width: 0;
  }

  .kpi-grid::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
  }

  .kpi-card {
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }


  .kpi-card .card-body {
    background-color: #f6f9fc;
    border: 0;
    border-radius: 12px;
  }

  .percentage {
    margin-bottom: 0.5rem;
    display: block;
    font-size: .8rem;
    font-weight: 500;
  }

  .button-space {
    font-size: 0.7rem;
    font-weight: 500;
    min-width: 80px;

  }

  .kpi-card .card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #5e5e5e;
  }

  .sm_txt {
    font-size: .8rem;
  }

  .labelText {
    background-color: #edfbf4;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    color: #575050;
    padding: 0.15rem 1rem;
    font-size: .8rem;
  }

  .transactionDetail {
    background: #fff;
  }

  .transactiontext {
    background: #fff;
    padding: 0.9rem 1rem;
    box-shadow: 0px 5px 5px 1px rgba(0, 0, 0, 0.05);
    border-top: 3px solid;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    h3 {
      font-size: .9rem;
      font-weight: 500;
      /* margin-bottom: 0.7rem; */
    }

    h3 span {
      color: #3b82f6;
      margin-left: 0.5rem;
    }

    .labelRow {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
    }

    .labelSpan {
      background-color: #f6f9fc;
      border-radius: 6px;
      text-align: center;
      /* min-width: 100px; */
      margin-right: 0.5rem;
      padding: 0.15rem 0.5rem;
      font-weight: 500;
      font-size: .8rem;
    }

    .custom-yellow {
      color: #facd5f;
    }

    .labelSpan span a {
      color: #6f6f6f;
    }

    .labelSpan:last-child {
      margin-right: 0;
    }
  }

  .progressText {
    text-align: center;
    color: #6f6f6f;
  }

  .progressText span a {
    color: #6f6f6f;
  }

  .progressText span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .87rem;
    font-weight: 500;
  }

  .progressText span i {
    font-size: 1rem;
    color: #9b9b9b;
  }

  .green {
    color: #7bb591;
  }

  .yellow {
    color: #d8bd6a;
  }

  .red {
    color: #e96f6f;
  }

  .blue {
    color: #718ebf;
  }

  .greenBg {
    background-color: #7bb591;
  }

  .yellowBg {
    background-color: #d8bd6a;
  }

  .redBg {
    background-color: #e96f6f;
  }

  .blueBg {
    background-color: #718ebf;
  }

  .greenBdr {
    border-color: #7bb591;
  }

  .yellowBdr {
    border-color: #d8bd6a;
  }

  .redBdr {
    border-color: #e96f6f;
  }

  .blueBdr {
    border-color: #718ebf;
  }

  .statusSymbol {
    margin-top: 1rem;
  }


  .statusSymbol ul {
    display: flex;
    align-items: center;
  }

  .statusSymbol ul li {
    position: relative;
    /* padding-left: 1.2rem; */
    margin-right: .8rem;
    display: flex;
    align-items: center;
    font-size: .7rem;
  }

  /* .roundClip::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    left: 0;
    top: 0px;
  } */

  .roundClip i.custom-yellow {
    color: #facd5f;
  }

  .roundClip.greenClip::before {
    background-color: #7bb591;
  }

  .roundClip.yellowClip::before {
    background-color: #d8bd6a;
  }

  .roundClip.redClip::before {
    background-color: #e96f6f;
  }

  .roundClip.blueClip::before {
    background-color: #718ebf;
  }

  .actionBtn {
    display: flex;
    align-items: center;
  }

  .actionBtn button,
  .actionBtn select {
    margin-left: 0.85rem;
  }

  .searchBlock {
    margin-left: 1rem;
    position: relative;
  }

  .searchBlock {
    .form-control {
      height: 32px;
    }
  }

  .searchBlock i {
    position: absolute;
    right: 15px;
    top: 8px;
  }

  .form-select {
    background-color: #f9fafb;
  }

  .pageNo {
    width: 60px;
  }

  /******** Table CSS ***********/

  .tableBlock {
    overflow: auto;
  }

  .tableBlock .table> :not(caption)>*>* {
    padding: 0.65rem 0.5rem;
    box-shadow: none;
  }

  .tableBlock th {
    /* font-weight: 600; */
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #f8f8f8;
  }

  .tableBlock th,
  .tableBlock td {
    white-space: nowrap;

  }

  .tableBlock td {
    font-size: 0.8rem;
  }

  .conht {
    height: calc(100vh - 155px);
  }

  /* **************************************table dropdown view page ******************** */
  .threeDotsOption {
    .dropdown-menu {
      min-width: 180px;
      z-index: 9999 !important;
    }

    .ag-root {
      overflow: visible !important;
    }

    .ag-center-cols-clipper,
    .ag-center-cols-container {
      overflow: visible !important;
    }

    .dropdown-menu {
      z-index: 2000 !important;
    }

    .dropdown-item {
      font-weight: 500;
      color: #000;
    }

    .bi-three-dots-vertical {
      cursor: pointer;
      padding: 4px;
    }

    .dropdown-menu.custom-shadow {
      filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.15));
    }

    .icon-hover i {
      transition: color 0.3s ease;
    }

    .dropdown-item:hover i {
      color: #5864a1;
      stroke: 2;
    }

    /* Active or clicked state */
    .dropdown-item.active,
    .dropdown-item:active {
      color: #fff;
      text-decoration: none;
      background: linear-gradient(to right, #7c67ad, #5864a1) border-box;
    }

    .dropdown-item.active i,
    .dropdown-item:active i {
      color: #fff !important;
    }
  }

  /********* Right Panel ********/

  .rightMenuPanel {
    background: #fff;
    padding: 1rem;
    position: fixed;
    right: 0;
    height: 100vh;
    /* top: 65px; */
    /* top: 38px; */
    top: 38px;
    width: 60px;

  }

  .iconBlock ul li {
    margin-bottom: 1rem;
  }

  .iconBg {
    background: #f5f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    transition: all 0.4s;
    cursor: pointer;
  }

  .iconBg:hover {
    background-color: #e7f1fb;
  }

  /* **********************************Insured Information***************************************************************** */

  .pageformBloack {
    display: flex;
    align-items: center;
  }

  .formcard-container {
    display: flex;
    flex-direction: column;
  }

  .formpage-card {
    border: 1px solid #dbe4ec;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .formpage-card-header {
    background-color: #ccd3ff;
    /* Light purple */
    /* color: black; */
    color: hsl(222.2, 84%, 4.9%);
    font-weight: 500;
    /* padding: 10px 15px; */
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .form-section-group {
    .info-icon {
      font-size: 14px;
      margin-left: 5px;
      cursor: pointer;
      color: #6c757d;
    }


    .input-group-text {
      border: 1px solid #a2a2a2;
      background-color: #f6f9fc;
    }

    .form-control:focus,
    .form-select:focus {
      border-color: #6a5acd;
      box-shadow: 0 0 5px rgba(106, 90, 205, 0.5);
    }

    label {
      font-size: 0.8rem;
      font-weight: bold;
    }

  }

  .value-label-row {
    label {
      color: #333 !important;
      font-weight: 400 !important;
    }
  }

  .quoteForm-container {
    background: #ffffff;
    border-radius: 8px;

    .Back_arrow {
      color: #1d4ed8;
      /* Adjust the color to match your theme */
      cursor: pointer;
    }

    .section-title {
      font-size: 0.8rem;
      font-weight: 400;
      margin-bottom: 0.5rem;
      color: #344054;
      text-transform: uppercase;
    }

    .section-primary-text {
      font-size: .87rem;
      font-weight: 500;
      color: #151d48;
      margin-bottom: 8px;
    }

    .section-secondary-text {
      font-size: 0.8rem;
      font-weight: 500;
      color: #151d48;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .back-button {
      display: block;
      background: #f5f7f9;
      vertical-align: middle;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      padding: 6px 9px;
      border-radius: 4px;
      transition:
        background 0.3s ease-in-out,
        color 0.3s ease-in-out;
    }

    .back-arrow {
      width: 16px;
      height: 16px;
      transition: transform 0.3s ease-in-out;
    }

    .back-button:hover {
      cursor: pointer;
      background: linear-gradient(to bottom, #f5f7f9, #e3e9ee);
    }

    .back-button:hover .back-arrow {
      transform: translateX(-2px);
      /* Move left on hover */
    }
  }

  .quote_buttongroup {
    .btn-group {
      gap: 15px;
    }

    .btn {
      min-width: 80px;
    }

    /* Common Button Styles with Gradient Border & Text */
    .btn-outline-back,
    .btn-outline-next,
    .btn-outline-cancel {
      position: relative;
      background: white;
      /* White background */
      padding: 8px 18px;
      font-size: 14px;
      font-weight: 500;
      border-radius: 6px;
      transition: all 0.3s ease-in-out;
      cursor: pointer;


      border: 2px solid #5864a1;
      background-image:
        linear-gradient(white, white),

        linear-gradient(120deg, #8e7cc3, #7c67ad, #5864a1);

      background-origin: border-box;
      background-clip: padding-box, border-box;

      color: #5864a1;

      background-clip: border-box;
    }


    .btn-outline-back:hover,
    .btn-outline-next:hover,
    .btn-outline-cancel:hover {
      background: linear-gradient(322deg, rgb(44 23 167) 0%, rgb(139 50 167) 100%);
      border: 2px solid transparent;
      background-origin: border-box;
      background-clip: border-box;
      color: white;

    }



    .btn-primary-save {
      background: linear-gradient(to right, #1f1790, #641277);
      border: none;
      color: white;
      padding: 8px 20px;
      font-weight: 500;
      border-radius: 6px;
      transition: all 0.5s ease-in-out;
    }

    /* Hover Animation on Save Button */
    .btn-primary-save:hover {
      background: linear-gradient(to right, #570f6d, #171180);
    }

    .button-icon {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.2px;
    }

    .button-space {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.2px;
      padding: 8px 10px;
    }

    .button-icon:hover svg,
    .button-icon:focus svg,
    .button-icon:active svg {
      stroke: #ffffff;
      opacity: 1;
    }

    .button-icon:hover .add_Svg,
    .button-icon:focus .add_Svg,
    .button-icon:active .add_Svg {
      stroke: #ffffff;
      opacity: 1;
    }
  }

  .date-picker-panel {
    .date-picker-container {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-right: 1rem;
    }

    .date-picker-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }

    .custom-date-input {
      width: 160px;
      height: 34px;
      padding: 5px 30px 5px 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: .7rem;
    }

    .date-separator {
      font-size: .8rem;
      font-weight: 500;
      color: #666;
    }

    .react-datepicker-popper {
      z-index: 9999 !important;
    }

    /* .custom-date-input {
            padding-right: 30px;
        } */

    .calendar-icon {
      position: absolute;
      right: 10px;
      pointer-events: none;
      color: #555;
      border-left: 1px solid #ccc;
      height: 100%;
      vertical-align: middle;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-left: 8px;
    }
  }

  .card {
    height: auto;
  }

  .primary-details-section {
    margin-top: 0;
  }

  .form_action_buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .required-star {
    color: red;
    /* or any other color you prefer */
    margin-left: 4px;
    /* adjust as needed */
  }

  /* ****************************************QuoteAi Sidebar ************************************************************************ */

  /* Sidebar container */
  .sidebar-container {
    width: 335px;
    background: linear-gradient(to bottom, #1f1790, #4b158e, #611277, #7a0f60);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 12px;
  }

  /* .sidebar-pinned {
        height: calc(100vh - 110px);
        overflow-y: auto;
    } */

  .sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s ease;
  }

  /* Checked state */
  .sidebar-item.checked {
    background: linear-gradient(to right, rgba(45, 30, 144, 0), rgb(157 162 255 / 50%), rgb(193 184 240 / 80%));
    color: #fff;
  }

  .sidebar-completed:hover {
    background: linear-gradient(to right,
        rgba(34, 197, 94, 0),

        rgba(132, 225, 188, 0.5),

        rgba(74, 222, 128, 0.8));


  }

  .bg-green-500 {
    color: green;
  }

  .sidebar-progress:hover {
    background: linear-gradient(to right,
        rgba(255, 255, 0, 0),

        rgba(255, 251, 133, 0.5),

        rgba(255, 243, 128, 0.8));
  }

  .sidebar-error:hover {
    background: linear-gradient(to right,
        rgba(255, 0, 0, 0),

        rgba(255, 102, 102, 0.4),

        rgba(255, 153, 153, 0.7));
  }

  .sidebar-notstarted:hover {
    background: linear-gradient(to right,
        rgba(200, 200, 200, 0.1),
        rgba(220, 220, 220, 0.3),
        rgba(240, 240, 240, 0.5));
  }

  /* Checkbox styling */
  .sidebar-item input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
    transition:
      background 0.3s ease,
      border 0.3s ease;
  }

  /* Checked checkbox */
  .sidebar-item input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #fff;
    position: relative;
  }

  /* Checkbox tick */
  .sidebar-item input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 12px;
    color: #7c1cad;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* ****************************************QuoteAi Sidebar End************************************************************************ */

  /* ************************************************Rating Information Page ************************************************* */

  .step-header {
    font-weight: bold;
    /* margin-top: 8px; */
    margin-bottom: 8px;
    font-size: 1rem;
    color: #555;
  }

  .section-background {
    background-color: #f7fbff;
    /* Light gray background */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .form-control,
  .form-select {
    height: 38px;
    border: 1px solid #a2a2a2;
  }

  /* ************************************************Rating Information End************************************************* */
  /* ***********************************Quoted Premium ********************************************************* */

  .quoteai-details-table {
    /* Ensure overflow is handled properly */
    overflow: hidden;

    .quoteai-table {
      width: 100%;
      border-collapse: separate;
      /* Change from collapse to separate */
      border-spacing: 0;
      /* Remove extra spacing */
      border: 1px solid rgb(221, 221, 221);
      border-radius: 8px;
      /* Add border radius */
    }

    /* Apply border radius only to the first and last corners */
    .quoteai-table thead tr:first-child th:first-child {
      border-top-left-radius: 8px;
    }

    .quoteai-table thead tr:first-child th:last-child {
      border-top-right-radius: 8px;
    }

    .quoteai-table tbody tr:last-child td:first-child {
      border-bottom-left-radius: 8px;
    }

    .quoteai-table tbody tr:last-child td:last-child {
      border-bottom-right-radius: 8px;
    }

    .quoteai-table th,
    .quoteai-table td {
      border: 1px solid #ccc;
      padding: 10px;
      text-align: center;
      font-size: 14px;
    }

    /* Table header styling */
    .quoteai-table thead {
      background-color: #f8f8f8;
      color: #000;
      font-weight: bold;
    }

    /* Alternate row styling */
    .quoteai-table tbody tr:nth-child(even) {
      background-color: #f8f9fa;
    }

    .quoteai-table th {
      text-transform: uppercase;
      font-weight: 500;
      font-size: 0.92rem;
      color: hsl(215.4, 16.3%, 46.9%)
    }
  }

  .ag-theme-alpine .ag-header-cell-label {
    font-size: 0.9rem;
    font-weight: bold;
  }

  /* *******************************************Quoted premium end ************************************************ */

  .mt-gap {
    margin-top: 8px;
  }

  .scrollable-content {
    /* overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 158px); */
  }

  .panelFullHeight {
    height: calc(100vh - 79px);

    .col-with-border {
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 4px;
      margin-bottom: 1rem;
    }
  }

  .quoteai_popup .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px);
    display: block !important;
  }


  /* *******************************************Change layout Edit page ************************************************ */


  .fixedEditheader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1050;
    width: 100%;
  }



  #editQuoteAiSidebar {

    /* Sidebar container */
    .sidebar-Edit-container {
      /* width: 335px;  */
      /* background: linear-gradient(to bottom, #1f1790, #4b158e, #611277, #7a0f60); */
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      gap: 3px;
      height: calc(100vh - 79px);
      overflow-y: auto;
      /* margin-left: 12px; */
    }

    .sidebar-label {
      font-size: 10px;
      letter-spacing: .5px;
    }

    .text-red-600 {
      color: red;
      margin-right: 4px;
    }


    .sidebar-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border-radius: 4px;
      font-size: 11px;

      cursor: pointer;
      color: #1f1790;
      transition: all 0.3s ease;
      letter-spacing: 0.3px;
    }

    /* .text-red-600 {
      color: red;
      margin-right: .5rem;
    } */


    /* .checked:hover {
      background: #e8ffe9;
      color: green;

    } */




  }


  #sideDrawer {
    .offcanvas-custom {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      height: 100vh;
      background-color: #fff;
      box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
      transition: right 0.4s ease;
      z-index: 99999 !important;
    }

    .offcanvas-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #eee;
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 20;
    }

    .offcanvas-tabs {
      display: flex;
      gap: 0.5rem;
    }

    .tab-btn {
      background: none;
      border: none;
      font-weight: 500;
      font-size: 14px;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      color: #333;
      transition: background 0.2s;
    }

    .tab-btn:hover,
    .tab-btn.active {
      background: #eef1f8;
      color: #5864a1;
    }

    .offcanvas-custom.show {
      right: 60px;
    }

    .offcanvas-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      border-bottom: 1px solid #eee;
      z-index: 9999 !important;
    }

    /*
    .search-wrapper {
      position: sticky;
      top: -18px;
      background: #fff;

      padding: 10px 0;


      display: flex;
      align-items: center;
      justify-content: space-between;
    } */

    /* Container that holds the header and search */
    .headersection {
      width: 100%;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
      margin-bottom: 15px;
      flex-wrap: wrap;
      transition: all .4s ease;

      .sidebar-title {
        font-size: 18px;
        color: #333;
        white-space: nowrap;
        opacity: 1;
        transform: translateY(0);

        margin-right: 10px;
      }

      .sidebar-title.hide {
        opacity: 0;
        transform: scaleY(0);
        margin: 0;
        padding: 0;
        height: 0;
        overflow: hidden;
        pointer-events: none;
        display: none;
        transition: all 0.4s ease forwards;
      }

      .fade-in {
        animation: fadeSlideIn 0.4s ease forwards;
      }

      @keyframes fadeSlideIn {
        from {
          opacity: 0;
          transform: translateY(-5px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .search-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        flex-shrink: 1;
        flex-grow: 1;
        max-width: 193px;
        transition: all 0.4s ease;
      }

      .search-wrapper.active {
        max-width: 100%;
        width: 100%;

      }

      .search-input {
        width: 100%;
        padding: 6px 18px 6px 35px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 0.8rem;
        outline: none;
        background: #fff;
        transition: all 0.4s ease;
        /* Default border color */
        border-color: #ccc;
      }

      /* Add border and shadow when active */
      .search-wrapper.active .search-input {
        border-color: #007bff;
        /* Example color for border when active */
        box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
        /* Example box shadow effect */
      }

      .search-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        transition: all 0.4s ease;
      }
    }

    .alfred-alert {
      background-color: #f0f4ff;
      border-left: 4px solid #5864a1;
      padding: 12px;
      margin-bottom: 10px;
      border-radius: 8px;
    }

    .diary-list {
      overflow-y: auto;
      padding-right: 10px;
      height: calc(100vh - 105px);
      scrollbar-width: thin;
      scrollbar-color: #e5eaf5 transparent;
    }

    .alert-title {
      font-weight: bold;
      display: block;
      color: #5864a1;
      display: flex;
      align-items: center;
    }

    .alert-message {
      margin: 4px 0 0;
      font-size: 0.875rem;
      color: #333;
    }

    .offcanvas-body {
      padding: 1rem;
      overflow-y: auto;
      height: calc(100vh - 60px);
    }

    .alert-message {
      margin: 10px 0 0;
    }



    /* **************diary content */
    /* .search-input {
      width: 100%;
      padding: 8px 12px;
      margin-bottom: 1rem;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: .9rem;
    } */

    /* .search-input:focus {
      border-color: #8e7cc3 !important;
      outline: none !important;

      box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15) !important;

    } */

    .diary-card {
      background-color: #f6f9fc;
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1rem;
      box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
    }

    .diary-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .diary-header h6 {
      margin: 0;
      font-size: .88rem;
      font-weight: 600;
      color: #555;
    }

    .diary-id {
      font-size: 0.7rem;
      color: #4294ed;

    }

    .tag {
      background: linear-gradient(135deg, #4294ed, #005eff);
      color: #fff;
      padding: 4px 7px;
      border-radius: 12px;
      font-size: 0.55rem;
      font-weight: 400;
    }

    .diary-status {
      font-weight: 500;
      margin-top: 8px;
      margin-bottom: 0;
      font-size: .85rem;
      color: #555;
    }

    .diary-note {
      font-size: 0.85rem;
      color: #777;
    }

    .diary-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 12px;
      font-size: .8rem;
      font-weight: 500;
    }

    .diary-info {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .diary-info img {
      width: 24px;
      height: 24px;
      border-radius: 50%;
    }

    .diary-meta {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .menu-btn {
      background: none;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: #999;
      padding: 4px;
    }


  }


  .sticky-right-top {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 1020;
  }

  .sidebar-visible {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 1020;
  }

  .main-quotescroll {
    margin-top: 0;

    .button-gap {
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.2px;
      padding: 8px 10px;
    }

    label {
      color: #69666d;
      font-weight: 500;
    }
  }


  .quote-grid-style {


    /* Custom header style */
    .ag-header {
      background-color: #eff4f9 !important;


    }

    .dropdown-menu {
      z-index: 9999 !important;
    }



    .dropdown-menu {
      z-index: 9999 !important;
    }

    .ag-header-cell-label {
      font-weight: 500;
      font-size: 0.92rem;
      color: hsl(215.4, 16.3%, 46.9%) !important;
    }

    /* Table body white background */
    .ag-center-cols-container {
      background-color: #ffffff;
    }


    /* ***************** */


    .ag-root-wrapper,
    .ag-root,
    .ag-center-cols-clipper,
    .ag-center-cols-container,
    .ag-row,
    .ag-cell,
    .ag-pinned-right-cols-container {
      overflow: visible !important;
      /* position: static !important; */
    }


    /* .grid-wrapper {
      overflow: visible !important;
      position: relative !important;
    } */




    /* ****************** */



  }

  /* *******************************full work book table page *************************************** */
  .fullworkbook_dashboard {
    margin-top: 4rem;
    height: calc(100vh - 80px);
    scrollbar-width: thin;
    scrollbar-color: #e5eaf5 transparent;
  }

  .flex_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .workbookTopbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .search-filter-bar {
      display: flex;
      align-items: center;
      gap: 10px;

    }

    .search-input {
      padding: 8px 12px;
      border: 1px solid #ccc;
      border-radius: 2px;
      min-width: 250px;
    }

    /* **************** */
    #workbook_search {
      .search-container {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
      }

      .search-container input {
        background-color: transparent;
        border: 1px solid var(--bs-breadcrumb-border);
        transition: all 0.3s ease;
        color: var(--bs-body-color);
        padding: 8px 78px 8px 8px;
        outline: none;
        background: #fff;
        height: 36px;
      }

      .search-container input:hover,
      .search-container input:focus,
      .search-container input:active {
        border-color: #456abb;
      }

      .search-container input::placeholder {
        color: #999;
        transition: color 0.3s ease;
      }

      .search-container input:hover::placeholder,
      .search-container input:focus::placeholder,
      .search-container input:active::placeholder {
        color: #456abb;
      }

      .search-container input:hover~.contactsearch svg,
      .search-container input:focus~.contactsearch svg,
      .search-container input:active~.contactsearch svg {
        color: #456abb;
        font-weight: bold;
      }

      .clear-btn {
        position: absolute;
        right: 50px;
        cursor: pointer;
        font-size: 18px;
        color: #999;
        transition: color 0.3s;
        background: none;
        border: none;
      }

      .clear-btn:hover {
        color: #333;
      }



      .contactsearch {
        position: absolute;
        right: 5px;
        background: transparent;
        border: none;
        cursor: pointer !important;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .contactsearch svg {
        color: #666;
        transition: color 0.3s;
      }

      .contactsearch:hover svg {
        color: #456abb;
        font-weight: bold;
      }
    }


  }

  .navigate_bar {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    .breadcrumb {
      border-bottom: 0 !important;
      margin-bottom: 0 !important;

    }

    .header_fnt a,
    span {
      font-size: .738rem;
    }

  }



  #dashboardStats {
    .dashboard-wrapper {
      display: flex;
      /* height: 100vh; */
      position: relative;
      overflow: hidden;
    }

    .main-dashboard {
      flex: 1;
      transition: all 0.3s ease;

    }

    .kpi-grid {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(172px, 1fr);
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 10px;
      margin-bottom: 0px;
      scrollbar-width: thin;
      scrollbar-color: #e5eaf5 transparent;
      transition: all 0.4s ease;
    }

    .main-dashboard.with-sidebar {
      margin-right: 395px;
      transition: all .4s ease;
      /* width of sidebar */
    }

    .main-dashboard.with-collapsed-sidebar {
      margin-right: 60px;
      transition: all .4s ease;
    }

    .main-dashboard.with-sidebar .kpi-card .card-subtitle {
      font-size: .68rem;
    }

    .main-dashboard.with-sidebar .kpi-card .card-title {
      font-weight: 600;
      font-size: 1rem;
    }

    .main-dashboard.with-sidebar .CircularProgressbar {
      width: 30px;
      height: 30px;
      transition: all .4s ease;
    }

    .main-dashboard.with-sidebar .statusSymbol ul li {
      font-size: .67rem;
      margin-right: .2rem;
      transition: all .4s ease;
    }




    .right-sidebar {

      position: fixed;
      top: 38px;
      right: 0;
      width: 395px;
      height: 100vh;
      background-color: #fff;
      border-right: 1px solid #ddd;
      /* padding: 20px; */
      transition: all 0.3s ease;
    z-index: 988;
    }

    .my-diary-section {
      padding: 15px 0px 20px 20px;
    }

    .sidebar-title {
      font-weight: bold;
      font-size: 18px;
    }

    .sidebar-content {
      opacity: 1;
      transition: opacity 0.2s ease-in-out;
    }

    .right-sidebar.collapsed .sidebar-content {
      opacity: 0;
    }

    .sidebar-content {
      margin-right: 60px;
      animation: fadeIn 0.3s ease-in-out;
    }


    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .right-sidebar.collapsed {
      width: 0;
      padding: 0;
      overflow: hidden;
      transition: all 0.4s ease;
    }

    .fixed-button-section {
      position: fixed;
      top: 20px;
      right: 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 10;
    }
/*
    .action-btn {
      padding: 8px 12px;
      background-color: #1f2937;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.2s ease;
    } */
/*
    .action-btn:hover {
      background-color: #374151;
    } */
  }



  /* *******************************************Change layout Edit page End ************************************************ */

  /* ****************************************************View details changes ***************************************************** */
  /* Header */
  .fixedviewheader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
  }

  .sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 66px;
    z-index: 1020;
  }

  .scrollquote_content {

    margin-top: 3px;
  }

  .quoteview_header-container {
    .progress {
      height: 0.6rem;
    }

    .btn-square {
      /* width: 32px; */
      height: 39px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border-radius: 4px;
      background-color: #f5f7f9;
      border: 1px solid #f5f7f9;
      transition: background-color 0.2s ease;
      min-width: 48px;
    }

    .btn-square:hover {
      background: linear-gradient(to bottom, #f5f7f9, #e3e9ee);
    }

    .bg-total {
      color: #151d48;
      font-size: 0.9rem;
    }

    .light-green-bg {
      background: #ddf5e6;
    }

    .light-orange-bg {
      background: #ffefda;
    }

    .text-subtle {
      color: #344054;
      font-size: 0.8rem;
    }

    .digit_txt {
      font-size: 1rem;
      color: #151d48;
      font-weight: 500;
      line-height: 1.4;
    }

    .subtitle_hd {
      color: #151d48;
      font-weight: 500;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .view_heading {
      font-size: 1.2rem;
      font-weight: bold;
      color: #000;
    }

    .back-button {
      display: block;
      background: #f5f7f9;
      vertical-align: middle;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      padding: 6px 9px;
      border-radius: 4px;
      transition:
        background 0.3s ease-in-out,
        color 0.3s ease-in-out;
    }

    .back-arrow {
      width: 20px;
      height: 20px;
      transition: transform 0.3s ease-in-out;
    }

    .back-button:hover {
      cursor: pointer;
      background: linear-gradient(to bottom, #f5f7f9, #e3e9ee);
    }

    .proress_txt {
      font-size: 0.8rem;
      line-height: 30px;
      color: #71717a;
      margin: 1rem 0;
    }

    .details-block {
      display: flex;
      align-items: flex-start;
      gap: 6px;
    }

    .details-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .headerNavButtons {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .button-icon {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .button-icon:hover svg path {
      stroke: #fff;
    }

    .bg-white {
      background: #fff;
    }
  }

  /* ********************************* View cards page ******************************************** */

  .QuotesSummaryView {
    display: flex;
    margin-top: 4rem;
    margin-bottom: 4rem;

    .accordion {
      background: transparent;

      .accordion-item {
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
      }

      .accordion-header {
        background: #fff;
        font-weight: 600;
        padding: 0.5rem 1rem;
        border-radius: 8px;

        &:focus,
        &:hover,
        &:focus-visible,
        &:active {
          background-color: #fff !important;
          box-shadow: none !important;
          outline: none !important;
        }

        /* .accordion-button::after {
                    filter: brightness(0) saturate(100%) invert(22%) sepia(4%) saturate(803%) hue-rotate(169deg) brightness(95%) contrast(94%);
                } */

        /* svg {
                    fill: #344054;
                    stroke: #344054;

                    &:focus,
                    &:hover,
                    &:active {
                        fill: #344054;
                        stroke: #344054;
                    }
                } */
      }

      .accordion-body {
        background: #ffffff;
        padding: 20px;
        border-top: 1px solid #ddd;
      }

      .accordion-button {
        padding: 0;
      }

      .accordion-button:focus {
        z-index: 3;
        border-color: none !important;
        outline: 0;
        box-shadow: none !important;
      }

      .accordion-button:not(.collapsed) {
        color: #000;
        background-color: #fff !important;
        box-shadow: none !important;
      }

      .panelHeaderTitle {
        display: flex;
        align-items: center;
        gap: 9px;
      }

      .panelHeaderTitle span {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
      }

      /* ********************accordion after arrow effect ********************* */

      .accordion-button::after {
        content: "";
        display: inline-block;
        width: 35px;
        height: 35px;
        margin-left: auto;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 6px;

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23343a40' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 16px 16px;

        transition: all 0.3s ease;
      }

      /* Hover shadow effect */
      .accordion-button:hover::after {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        filter: brightness(1.03);
      }

      /* Open (active) accordion with effect */
      .accordion-button:not(.collapsed)::after {
        background-color: #e9ecef;
        filter: brightness(1.05) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
      }
    }

    .bg-quote {
      background: linear-gradient(to right, #1f1790, #641277);
    }

    .subtitle_hd {
      color: #151d48;
      font-weight: 500;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .proress_txt {
      font-size: 0.8rem;
      line-height: 30px;
      color: #71717a;
      margin: 1rem 0;
    }

    .text-subtle {
      color: #344054;
      font-size: 0.8rem;
    }

    .digit_txt {
      font-size: 0.9rem;
      color: #151d48;
      font-weight: 400;
      line-height: 1.4;
    }

    .fw-medium {
      font-weight: 500 !important;
    }

    .quote_buttongroup {
      .btn-group {
        gap: 15px;
      }

      /* Common Button Styles with Gradient Border & Text */
      .btn-outline-back,
      .btn-outline-next,
      .btn-outline-cancel {
        position: relative;
        background: white;
        /* White background */
        padding: 8px 18px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.3s ease-in-out;
        cursor: pointer;


        border: 2px solid #5864a1;
        background-image:
          linear-gradient(white, white),

          linear-gradient(120deg, #8e7cc3, #7c67ad, #5864a1);

        background-origin: border-box;
        background-clip: padding-box, border-box;

        color: #5864a1;

        background-clip: border-box;
      }


      .btn-outline-back:hover,
      .btn-outline-next:hover,
      .btn-outline-cancel:hover {
        background: linear-gradient(322deg, rgb(44 23 167) 0%, rgb(139 50 167) 100%);
        border: 2px solid transparent;
        background-origin: border-box;
        background-clip: border-box;
        color: white;

      }

      /* Save Button with Stronger Gradient */
      .btn-primary-save {
        background: linear-gradient(to right, #1f1790, #641277);
        border: none;
        color: white;
        padding: 8px 20px;
        font-weight: 600;
        line-height: 24px;
        border-radius: 6px;
        transition: all 0.5s ease-in-out;
      }

      /* Hover Animation on Save Button */
      .btn-primary-save:hover {
        background: linear-gradient(to right, #570f6d, #171180);
      }

      .button-icon {
        display: flex;
        align-items: center;
        gap: 4px;
      }
    }

    .summary_btn {
      width: 100%;
      align-items: center;
      justify-content: center;
      display: flex;
    }

    .summary_btn:hover svg path {
      stroke: #fff;
    }

    .progress {
      height: 0.4rem;

      .bg-success {
        background: #22c55e !important;
      }
    }

    .details-block {
      display: flex;
      align-items: flex-start;
      gap: 6px;
    }

    .details-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .digit_txt a {
      color: #151d48;
    }

    .light-orange-bg {
      background: #ffefda;
    }

    .light-green-bg {
      background: #ddf5e6;
    }

    .badge.light-green-bg {
      background-color: #ddf5e6 !important;
      color: #000 !important;
    }

    .badge.ice-blue {
      background-color: #e5f3f6 !important;
      color: #000 !important;
    }

    .bg-light-danger {
      background: #f5dddd;
    }

    .detail-item {
      margin-bottom: 12px;
    }

    .text-muted {
      font-size: 0.85rem;
      color: #6c757d;
    }

    .text-primary {
      color: #000;
      /* or adjust the color */
    }

    /* ****************************** */

    .custom-table {
      border-radius: 8px;
      overflow: hidden;
    }

    .table-header {
      font-size: 0.92rem;
      font-weight: 500;
      color: hsl(215.4, 16.3%, 46.9%);
      background-color: #e9eff4;

      padding: 15px;
    }

    .table-body {
      background: #fff !important;
    }

    .table-data {
      font-size: 0.9rem;
      color: #344054;
      font-weight: 400;
      padding: 15px;
    }

    .block-header {
      font-weight: 500;
      font-size: 1.0625rem;
      color: #444;
    }

    .summary_details-container {
      .card {
        background: #fff;
      }
    }

    .right-bg {
      .card {
        background: #fff;
      }
    }

    .drop-shadow {
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    }

    .badge {
      padding: 0.35em 0.65em;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 500;
      color: white;
      white-space: nowrap;
      line-height: 1;
      text-align: center;
      display: inline-block;
    }

    .badge.paid,
    .badge.yes,
    .badge.Include,
    .badge.applied {
      background-color: #22c55e !important;
      /* Blue */
    }

    .badge.denied {
      background-color: #ff7d5c !important;
      /* Red */
    }

    /* *********************** */

    .quote-row {
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 1px solid #e0e0e0;
    }

    .quote-message-col,
    .quote-amount-col {
      padding: 10px;
    }

    .section-label {
      color: #6c757d;
      font-size: 14px;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .quote-message-box {
      background-color: #f8f9fa;
      border: 1px solid #dee2e6;
      border-radius: 4px;
      padding: 15px;
    }

    .quote-message-box p {
      margin: 0;
      color: #212529;
      font-size: 14px;
      line-height: 1.5;
    }

    .quote-amount-col {
      text-align: right;
    }

    .amount-value {
      font-size: 28px;
      font-weight: 700;
      color: #212529;
    }

    @media (max-width: 767.98px) {
      .quote-amount-col {
        text-align: left;
        margin-top: 15px;
      }
    }
  }

  .form-footer-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: #f9fafb; */
    background-color: rgba(249, 250, 251, 0.8);
    /* equivalent to bg-background/80 */
    backdrop-filter: blur(4px);
    /* backdrop-blur-sm */
    -webkit-backdrop-filter: blur(4px);
    /* Safari support */
    padding: 0.5rem 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }

  .quoteHeaderBar {
    border-radius: 0;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .shadowFilter {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }

  /* ***************view details sidebar ************************ */

  #viewsidebarquoteAi {

    /* Sidebar container */
    .sidebar-view-container {
      /* width: 335px;  */
      background: #fff;
      padding: 10px;
      color: #000;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      height: calc(100vh - 134px);
      /* margin-left: 12px; */
    }

    .sidebar-pinned {
      /* height: calc(100vh - 110px); */
      overflow-y: auto;
    }

    .sidebar-item {
      display: flex;
      align-items: center;
      font-size: 11px;
      cursor: pointer;
      color: #000;
      transition: all 0.3s ease;
      letter-spacing: 0.3px;
      padding: 8px 12px;
      border-radius: 6px;
      gap: 10px;
      transition: background 0.3s ease;
    }



    .sidebar-item:hover {
      background-color: hsl(210, 40%, 96.1%);
    }

    /* Checked state */
    .sidebar-item.checked {
      background: linear-gradient(135deg, #2570c5 0%, #6e22ae 100%);
      /* background: linear-gradient(to right, rgba(45, 30, 144, 0), rgba(94, 100, 194, 0.5), rgba(127, 155, 255, 0.8)); */
      color: #fff;
    }

    /* .sidebar-item.checked {
      background-color: #f1f3f5;
    } */

    /* Checkbox styling */
    .sidebar-item input[type="checkbox"] {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 2px solid #000;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: transparent;
      cursor: pointer;
      transition:
        background 0.3s ease,
        border 0.3s ease;
    }

    /* Checked checkbox */
    .sidebar-item input[type="checkbox"]:checked {
      background-color: #fff;
      border-color: #fff;
      position: relative;
    }

    /* Checkbox tick */
    .sidebar-item input[type="checkbox"]:checked::after {
      content: "✔";
      font-size: 12px;
      color: #7c1cad;
      font-weight: bold;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}

/************Create New Quote Popup*********/

.quoteai_popup {
  .modal-dialog {
    top: 0px;
    max-width: 920px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);

    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.2));
  }

  .modal-header {
    padding: 15px 20px;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
  }

  .modal-header .btn-close {
    background: linear-gradient(to right, #1f1790, #641277);
    transition: all 0.5s ease;
    width: 30px;
    height: 30px;
  }

  .modal-header .btn-close:hover {
    background: linear-gradient(to right, #570f6d, #171180);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  .modal-title {
    font-size: 22px;
  }

  .subtitle {
    font-size: 0.8rem;
  }

  .modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.5) !important;
  }

  .business-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    height: 95px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
  }

  .business-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;

  }

  .business-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }

  .popup-icon {
    width: 20px;
    height: 20px;
  }

  .business-label {
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
  }

  .selected {
    border: 2px solid #007bff;
  }

  .modal-body {
    max-height: 477px;
    overflow-y: auto;
  }

  .grid-label {
    margin-top: 8px;
    font-weight: bold;
    font-size: 14px;
  }

  /* Background colors */

   .bg-lightgreen {
    background: linear-gradient(135deg, #edefd6, #c2d991);
  }
  .bg-blue {
    background: linear-gradient(135deg, #dceaff, #b6ccf0);
  }

  .bg-lightblue {
    background: linear-gradient(135deg, #e2e0fb, #c4c3f3);
  }

  .bg-yellow {
    background: linear-gradient(135deg, #fef3d1, #f2db9a);
  }

  .bg-purple {
    background: linear-gradient(135deg, #e8d6f1, #c8afd9);
  }

  .bg-green {
    background: linear-gradient(135deg, #d7f1df, #b1dabf);
  }

  .bg-lightgreen {
    background: linear-gradient(135deg, #e8f8d9, #c1e4aa);
  }

  .business-card {
    cursor: pointer;
  }

  .business-card:hover {
    border: none;
    cursor: pointer;
    /* transform: translateY(-3px);
    transition: all 0.3s ease-in-out; */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  /* Selected effect */
  .selected {
    border: 2px solid #5a67d8 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }

  .step-title {
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  .state-select-group {
    margin-bottom: 20px;
  }

  .form-check-input:checked {
    background-color: #3b82f6;
    /* Change to your theme color */
    border-color: #3b82f6;
  }

  .info-icon {
    cursor: pointer;
    transition:
      fill 0.3s ease-in-out,
      transform 0.2s ease-in-out;
    vertical-align: middle;
    fill: #6c757d;
    /* Default color (gray) */
  }

  .info-icon:hover {
    fill: #007bff;
    transform: scale(1.1);
  }

  .quote_buttongroup {
    .btn-group {
      gap: 15px;
    }

    .btn-outline-back,
    .btn-outline-next,
    .btn-outline-cancel {
      position: relative;
      background: white;
      /* White background */
      padding: 8px 18px;
      font-size: 14px;
      font-weight: 500;
      border-radius: 6px;
      transition: all 0.3s ease-in-out;
      cursor: pointer;


      border: 2px solid #5864a1;
      background-image:
        linear-gradient(white, white),

        linear-gradient(120deg, #8e7cc3, #7c67ad, #5864a1);

      background-origin: border-box;
      background-clip: padding-box, border-box;

      color: #5864a1;

      background-clip: border-box;
    }


    .btn-outline-back:hover,
    .btn-outline-next:hover,
    .btn-outline-cancel:hover {
      background: linear-gradient(322deg, rgb(44 23 167) 0%, rgb(139 50 167) 100%);
      border: 2px solid transparent;
      background-origin: border-box;
      background-clip: border-box;
      color: white;

    }

    /* Save Button with Stronger Gradient */
    .btn-primary-save {
      background: linear-gradient(to right, #1f1790, #641277);
      border: none;
      color: white;
      padding: 8px 20px;
      font-weight: 600;
      line-height: 24px;
      border-radius: 6px;
      transition: all 0.5s ease-in-out;
    }

    /* Hover Animation on Save Button */
    .btn-primary-save:hover {
      background: linear-gradient(to right, #570f6d, #171180);
    }
  }






}

/* .modal-backdrop.show {
  display: block !important;
} */

/* .crmsidemenu {
    z-index: 99 !important;
} */

/* ****************************Quote PopUp end*************************** */





#quoteAi{

/***************Regular Quuote View Page - Start *************/

.viewPageOuter{
  width: 100%;
  background: #eef2fa;
}

.addleadcard .quoteht1,
.addleadcard .quoteht2 {
  min-height: 605px;
  max-height: fit-content;
}
.addleadcard-view .quoteht1,
.addleadcard-view .quoteht2 {
  min-height: 410px;
  max-height: fit-content;
}

.quoteContent {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
         padding: 14px;

}

.infoBox {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.selectWd {
  width: 100%;

}

.selectWd  .css-ofedx2-container{
display: flex;
align-items: center;
}

.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 .input-container .dateBox {
    display: flex;  align-items: center;
     flex: 0 1 100%;
}
.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%;
}

.leadDetailInfo.notesLabel .blockClass {
  flex-direction: column;
}
.leadDetailInfo.notesLabel .blockClass
.textBoxField{
  flex-direction: column;
}

.btnGroup .btn{
 margin-left: .5rem;
}

.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 !important;
}


.btnSend {
  min-width: 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50px;
}

.btnSend.roundspin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.noteForm #textarea-description {
  border: 0px solid transparent;
}

.notesDesContainer {
  border: 1px solid #d1cfcf;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  position: relative;
}

.notesDesContainer .input-container {
  margin: 0;
}

.notesDesContainer .input-container textarea {
  padding: 0px 10px;
  resize: none;
  height: 70px !important;
  width: 86%;
}

.notesDesContainer .input-container .formik-input:focus {
  box-shadow: none;
}

.notesDesContainer.focused {
  box-shadow: rgba(0, 86, 179, 0.3) 0px 0px 5px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(0, 86, 179);
  border-image: initial;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.sendActionbtn {
  position: absolute;
  bottom: 10px;
  right: 10px;
}



/**********order Summary *************/
.flex-end{
    display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.orderSummary{
  /* background: #cbf7e7; */
  background: #f8f8ff;
  border-radius: 6px;
  padding: 0rem 0 0 0;

}
.summaryDes{
  /* width: 240px; */
  width: 100%;
}
.orderSummary table{
  width: 100%;
}

.summaryRow{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: .875rem;
  flex: 0 0 100%;
 padding: .5rem 1rem;



}
.summaryRow label{
  width: 100px;


}
.summaryRow p{
font-weight: 500;
}

.summaryRow .textBoxField{
  display: flex;
  align-items: center; flex: 1;
}

.summaryRow .textBoxField .dfltText{
  width: 100%;flex: 1;
}

.summaryRow .textBoxField .dfltText span{
  font-weight: 400;
}

.textRight .textBoxField .dfltText input{
  text-align: right;
  background: #fff;
}
.summaryRow.disabled .textBoxField .dfltText input{
  background:#ededf8 ;
}
.summaryHeader{
   background: rgb(40, 22, 141);
        background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%);
         padding: .5rem 1rem;
         border-top-left-radius: 6px;
               border-top-right-radius: 6px;  margin-bottom: .6rem;
}
.summaryHeader h2{
  font-size: .9rem;
  color: #fff;

}
.orderItemTable{
  background: #f2f2f2;
  border-radius: 6px;
  padding: .5rem;
}

.totalRow {
              border-bottom-left-radius: 6px;
               border-bottom-right-radius: 6px;
       /* background: rgb(40, 22, 141);
        background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(96, 18, 120, 1) 100%); */
background: #efe5fd;
        border-top: 1px solid #ccc;

        margin-top: .6rem;
        color: #000;
        padding: .5rem 1rem;

    }
.totalRow label{
      font-weight: 500;
      color: #000;
    }

  .totalRow   .textBoxField .dfltText span{
  font-weight: 500;
}



/*********edit Form Start********/

.input-container .dfltText {
    width: 100%;
}

/********edit Form end ********/

.Timeline_CRM{
   .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 */
  }
}

/***************Regular Quuote View Page - End ************/


#viewPageGrid {
  /* .ag-theme-balham .gridHeight{
  height: 86px !important;
  min-height: 100% !important;
  max-height:400px !important;
  overflow: auto;
} */

  .ag-root-wrapper.ag-layout-normal {
    /* height: auto;
    max-height: 200px; */
  }

  .ag-root-wrapper-body.ag-layout-normal {
    flex: 1 1 auto;
    height: auto;
    min-height: auto;
  }

  .ag-root.ag-layout-normal {
    height: 100%;
  }

  .ag-body {
    min-height: 73px;
    max-height: 166px;
    overflow: auto;
  }

  .ag-body .ag-body-viewport {
    min-height: 100%;
  }

  .ag-body-vertical-scroll {
    display: none !important;
  }

  .ag-overlay {
    height: 69%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 31%;
    width: 100%;
    z-index: 2;
  }

  .ag-overlay-wrapper {
    display: flex;
    flex: none;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0px;
  }

  .ag-overlay-no-rows-wrapper.ag-layout-auto-height {
    padding-top: 0;
  }
}

#editPageGrid {
  /* .ag-theme-balham .gridHeight{
  height: 86px !important;
  min-height: 100% !important;
  max-height:400px !important;
  overflow: auto;
} */

  .ag-root-wrapper.ag-layout-normal {
    height: auto;
    max-height: 296px;
  }

  .ag-root-wrapper-body.ag-layout-normal {
    flex: 1 1 auto;
    height: auto;
    min-height: auto;
  }

  .ag-root.ag-layout-normal {
    height: 100%;
  }

  .ag-body {
    min-height: 73px;
    max-height: 244px;
    overflow: auto;
  }

  .ag-body .ag-body-viewport {
    min-height: 100%;
  }

  .ag-body-vertical-scroll {
    display: none !important;
  }

  .ag-overlay {
    height: 69%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 31%;
    width: 100%;
    z-index: 2;
  }

  .ag-overlay-wrapper {
    display: flex;
    flex: none;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0px;
  }

  .ag-overlay-no-rows-wrapper.ag-layout-auto-height {
    padding-top: 0;
  }
}

#withFilter {
  .ag-root-wrapper.ag-layout-normal {
    height: auto;
    max-height: 200px;
  }

  .ag-root-wrapper-body.ag-layout-normal {
    flex: 1 1 auto;
    height: auto;
    min-height: auto;
  }

  .ag-root.ag-layout-normal {
    height: 100%;
  }

  .ag-body {
    min-height: 124px;
    max-height: 166px;
    overflow: auto;
  }

  .ag-body .ag-body-viewport {
    min-height: 100%;
  }

  .ag-body-vertical-scroll {
    display: none !important;
  }

  .ag-overlay {
    height: 69%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 31%;
    width: 100%;
    z-index: 2;
  }

  .ag-overlay-wrapper {
    display: flex;
    flex: none;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0px;
  }

  .ag-overlay-no-rows-wrapper.ag-layout-auto-height {
    padding-top: 0;
  }
}

/*********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*******/
}

.createQuotebtn span{
  padding-right: .55rem;
}

.createQuotebtn.dropdown-toggle::after{
  border-top: .4em solid;
    border-right: .4em solid transparent;
    border-bottom: 0;
    border-left: .4em solid transparent;
}
.quoteAiContainer{
  display: flex;

}

.dashboard-wrapper {
  display: flex;
  /* height: 100vh; */
  position: relative;
  overflow: hidden;
}

.main-dashboard {
  flex: 1;
  transition: all 0.3s ease;

}


.main-dashboard.with-sidebar {
  margin-right: 395px;
  transition: all .4s ease;
  /* width of sidebar */
}

.main-dashboard.with-collapsed-sidebar {
  margin-right: 60px;
  transition: all .4s ease;
}

.main-dashboard.with-sidebar .kpi-card .card-subtitle {
  font-size: .68rem;
}

.main-dashboard.with-sidebar .kpi-card .card-title {
  font-weight: 600;
  font-size: 1rem;
}

.main-dashboard.with-sidebar .CircularProgressbar {
  width: 30px;
  height: 30px;
  transition: all .4s ease;
}

.main-dashboard.with-sidebar .statusSymbol ul li {
  font-size: .67rem;
  margin-right: .2rem;
  transition: all .4s ease;
}




.right-sidebar {

  position: fixed;
  top: 38px;
  right: 0;
  width: 395px;
  height: 100vh;
  background-color: #fff;
  border-right: 1px solid #ddd;
  /* padding: 20px; */
  transition: all 0.3s ease;
  /* z-index: 1000; */
}

.my-diary-section {
  padding: 15px 0px 20px 20px;
}

.sidebar-title {
  font-weight: bold;
  font-size: 18px;
}

.sidebar-content {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.right-sidebar.collapsed .sidebar-content {
  opacity: 0;
}

.sidebar-content {
  margin-right: 60px;
  animation: fadeIn 0.3s ease-in-out;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.right-sidebar.collapsed {
  width: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.fixed-button-section {
  position: fixed;
  top: 20px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.action-btn {
  padding: 8px 12px;
  background-color: #1f2937;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.action-btn:hover {
  background-color: #374151;
}


.action-btn {
  border: 1px solid #d1cfcf;
  padding: 7px 8px 7px 8px !important;
  border-radius: 6px;
  transition: all 0.3s ease, color 0s ease;
  background: #fff;
  color: #212529;
  font-weight: 400;
}

.search-container input {
  background-color: transparent;
  border: 1px solid var(--bs-breadcrumb-border);
  transition: all 0.3s ease;
  color: var(--bs-body-color);
  padding: 0.375rem 0.375rem 0.375rem 0.75rem !important;
  outline: none;
  background: #fff;
}

.form-control, .form-select {
  height: 34px !important;
  border: 1px solid #a2a2a2;
}

#main_header-mob{

  background: #fff;
  padding: 0px ;

  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  z-index: 988;

  position: sticky;
  top: 0;
  transition: all .4s
}

.dashboard_container{
  transition: all .4s;
}

.main_hdr_top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f2f2f2;
  padding: .5rem .8rem;

}

#main_header-mob .header-left{
  padding: .5rem .8rem;
}

.toggleMenu{
  cursor: pointer;
  color: #050f6a;

}
.ag-status-bar{
  white-space: nowrap;
}

.btn-square {
      /* width: 32px; */
      height: 39px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border-radius: 4px;
      background-color: #f5f7f9;
      border: 1px solid #f5f7f9;
      transition: background-color 0.2s ease;
      min-width: 39px !important;
      margin-top: 10px;
    }

    .btn-square:hover {
      background: linear-gradient(90deg, rgba(40, 22, 141, 1) 0%, rgba(40, 22, 141, 1) 100%);
    }
