.container-fluid {
    min-height: 100vh;
    overflow: auto;
    color: black !important;
}

.p_link_preview {
    cursor: pointer;
}

.pac-container.pac-logo {
    z-index: 1045;
    overflow: auto;
    height: 120px;
}

.line_heading {
    overflow: hidden;
    text-align: center;
    margin: 20px auto;
    color: #c2c2c2;
}

.line_heading:before,
.line_heading:after {
    background-color: #c2c2c2;
    content: "";
    display: inline-block;
    height: 0.1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.line_heading:before {
    right: 0.5em;
    margin-left: -50%;
}

.line_heading:after {
    left: 0.5em;
    margin-right: -50%;
}

#autoResizeTextarea {
    resize: none;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.textarea_bio.d-table-inline {
    margin-top: 0px;
}

.theme-designer-btn {
    display: flex;
    align-items: center;
    background-color: #0b1e54;
    border-radius: 20px;
    padding: 0px 12px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    gap: 1px;
    margin-top: 4rem;
    text-decoration: none;
    width: 20rem;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}
.theme-designer-btn:hover {
  background-color: #0072ff;
}

@keyframes prismPulse {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    box-shadow:
      0 0 30px rgba(2, 140, 251, 0.9),
      0 0 40px rgba(203, 87, 248, 0.7),
      0 0 50px rgba(245, 86, 1, 0.5);
  }
}
@keyframes spinAlt {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*@keyframes fadeCycle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
*/
.icon-ring {
  width: 72px;
  height: 72px;
  position: relative;
  border-radius: 50%;
  
}

.rotating-border-wrapper {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.rotating-border {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    red, orange, yellow, green, cyan, blue, violet, red
  );
  /*animation:
    spinAlt 1.5s ease-out infinite alternate,
    fadeCycle 3s ease-in-out infinite;*/
}

.center-icon {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 32px;
  height: 32px;
  background-color: #0b1e54;
  border-radius: 50%;
  z-index: 2;
}
.theme-designer-btn:hover .center-icon{
  background-color: #0072ff;
}

.theme-text {
  color: white;
}


/*for public profile page*/
.snap_buttons {
    position: absolute;
    top: 70%;
    left: 50%;
    padding: 20px 30px;
    transform: translateX(-50%);
    width: 50%;
    border-radius: 50px;
}

.cancel_snap_btn {
    top: 85%;
}

.card_image {
    width: 80% !important;
    display: none;
    transition: width 0.4s, height 0.4s;
}

.wizard-step {
    width: 0px;
    height: 0px;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
}

.wizard-step .btn {
    opacity: 0;
}

.wizard-step.active .btn {
    opacity: 1;
}

.wizard-step.active {
    height: auto;
    width: 100%;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.wizard-nav {
    margin-top: 20px;
}

.wizard-nav button {
    padding: 10px 20px;
    margin-right: 10px;
}

.timeline {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 5px auto;
    position: relative;
}

.stage {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-size: 16px;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stage.completed::after {
    content: "\f00c";
    font-size: 20px;
    color: white;
}

.completed {
    background-color: #97ffba;
}

.stage.active {
    background-color: #f7c943;
    transition: background-color 0.5s ease;
    border: 2px solid #ff9800;
}

.stage:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.line {
    flex: 1;
    height: 5px;
    background-color: #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.line.completed {
    background-color: #97ffba;
    transition: background-color 0.3s ease;
}

.legend {
          display: flex;
          flex-direction: column; /* Keep heading on top */
          align-items: flex-start; /* Align items to the left */
          margin-bottom: 10px;
        }

        .legend-heading {
          font-size: 20px;
          font-weight: 600; /* Slightly bold for emphasis */
          margin-bottom: 8px; /* Add space between heading and checkboxes */
          color: #333; /* Darker color for contrast */
        }

        .legend-row {
          display: flex; /* Arrange the checkboxes in a row */
          gap: 16px; /* Add spacing between each checkbox */
        }


        .legend label {
          display: flex;
          align-items: center;
          cursor: pointer;
          font-size: 14px; /* Adjust font size */
          font-weight: 500; /* Medium weight for better readability */
        }

        .legend input[type="checkbox"] {
          display: none; /* Hide the default checkbox */
        }

        .legend .checkbox {
          width: 20px;
          height: 20px;
          display: inline-block;
          margin-right: 8px;
          border-radius: 20px;
          background-color: #ccc; /* Default background color */
          position: relative;
          border: 2px solid transparent;
          box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
        }

        /* Checked state styles */
        .legend input[type="checkbox"]:checked + .checkbox {
          background-color: currentColor; /* Match the dataset color */
          border-color: transparent;
        }

        /* Using Font Awesome */
        .legend input[type="checkbox"]:checked + .checkbox::after {
          content: "\f00c"; /* Font Awesome checkmark */
          font-family: "Font Awesome 6 Free";
          font-weight: 700; /* Required for solid icons */
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 16px;
          color: white;
        }

@media (max-width: 400px) {
    .stage {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .line {
        height: 3px;
    }

    .button-text {
        font-size: 13px;
    }
}

.color-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Each color item (20% width for 5 per row) */
.color-item {
    flex: 1 1 calc(20% - 20px);
    /* 20% width minus gap space */
    max-width: calc(20% - 20px);
    /* Prevent growing beyond 20% */
    text-align: center;
}

input[type="radio"] {
    display: none;
}

/* Styling for the button container */
.radio_button {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    margin: 1px;
    cursor: pointer;
}

.radio_button span {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #eeeeee;
    transition: all 0.1s ease;
}

/* Hover effect for the span */
.radio_button span:hover {
    padding: 5px;
    background: #cccccc;
}

/* When the radio input is checked, update the span's style */
input[type="radio"]:checked + .radio_button span {
    background: var(--color);
    border: 4px solid #78ce6a !important;
}

.graph-container {
    width: 100%;
    background: #f9f8f8;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    padding-left: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

canvas {
    width: 100% !important;
    height: auto !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600; /* Bold for headings */
    margin: 0;
    padding: 10px 0;
}

/* Container for Buttons */
.button-container {
    display: flex;
    flex-direction: column;
    /*			width: auto;*/
    /*		  	max-width: 390px;*/
    margin: 0 auto;
    font-family: sans-serif !important;
}

/* Leads Button */
.tab_btns.wizard {
    background-color: #d9d9fc;
}
.tab_btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px 10px;
    border-radius: 10px;
    background-color: #e6e5e5;
    color: black;
    font-size: 14px; /* Reduced font size for even smaller height */
    margin-bottom: 10px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.tab_btns:hover,
.tab_btns:active {
    background-color: #0061ff !important;
    color: white;
}
/* Adjusting the gap between Leads and the text below */
.tab_btns h3 {
    margin-bottom: 0px;
    font-size: 13px;
}

.tab_btns p {
    margin-top: 0; /* Ensure no extra space is added on top */
    font-size: 14px;
}

.custom-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 40px;
    background-color: #c82828; /* Red */
    color: white;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth color transition */
    touch-action: manipulation; /* Optimizes touch events */
}

/* Active State - Changes to Blue on Tap */
.custom-button:hover,
.custom-buttonactive {
    background-color: #0061ff;
    color: white;
}
a.custom-button {
    text-decoration: none;
}
/* Icon inside button */
.button-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}

/* Text inside button */
.button-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

/* Arrow icon positioning */
.arrow-icon-redbutton {
    margin-left: auto; /* Pushes the arrow to the far right */
    margin-right: 10px; /* Adds space between the arrow and the button edge */
}

.tab-button.not_active {
    background-color: #fbf1f3 !important;
    border: 1px solid red !important;
}
.tab-button {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    background-color: #b1dfc8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    color: black;
}
.tab-button:hover,
.custom-buttonactive,
.tab-button:hover .text-content {
    background-color: #0061ff !important;
    color: white !important;
}
a.tab-button {
    text-decoration: none;
}

.tab-button-image-placeholder {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 15px;
}

.text-content {
    flex-grow: 1;
    font-size: 12px; /* Adjust this value to change the font size */
}

.text-content p {
    margin: 0;
}
.rounded-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: black;
    border-radius: 50px;
    padding: 10px 20px;
    color: black;
    font-size: 18px;
    cursor: pointer;
    /*		  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);*/
    margin-top: 20px;
}
.rounded-button.active {
    border: 3px solid #6fff45;
}

/* Active State - Changes to Blue on Tap */
.rounded-button:hover,
.custom-buttonactive {
    background-color: #0061ff !important;
    color: white !important;
}
a.rounded-button {
    text-decoration: none;
}
.circle-placeholder {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-switch {
    padding-left: 0.5em;
}
.form-check {
    min-height: 0.1rem;
    padding-left: 0.1em;
    margin-bottom: 0.125rem;
}
.form-check-input {
    padding: 10px 20px;
}
.form-check-input:checked {
    background-color: #11d43b;
    border-color: #11d43b;
}
.form-check-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.preview_part{
            display:none;
        }


    .edit-btn{
        position: absolute;
        border-radius: 50%;
        padding: 0.35rem;
        box-shadow:0 1rem 3rem rgba(0, 0, 0, 0.2);
      }
      .list_edit_btn{
      position: relative;
      right: 10px;
      }
      .grid_edit_btn{
      right: -5px;
      top:-5px;
      }
      .edit_btn_icon{
        width:1rem;
      }


    @media (min-width:350px) {
      .edit_btn_icon{
            width:1.4rem;
          }
    }

    @media (max-width:550px) {
      
      .tab_text{
        font-size:12px !important;
      }
    }
    @media (max-width:420px) {
      .tab_text{
        font-size:11px !important;
      }
    }@media (max-width:360px) {
      .tab_text{
        font-size:10px !important;
      }
    }@media (max-width:300px) {
      .tab_text{
        font-size:9px !important;
      }
    }