.infohare-container {
    position: relative;
    display: inline-block;
}

.infohare-avatar {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

/* Avatar width and height */
.infohare-avatar-width{
    height: auto;
    width: 49px;
}

.infohare-avatar-add-post-category-filter-dicussions{
    top: -40px !important;
    right: -22px !important;
    position: absolute;
}

.infohare-avatar-add-post-category-filter{
    top: -46px !important;
    right: 2px !important;
    position: absolute;
    /*  z-index: 1001; */
}

.infohare-avatar-add-post-category-sorting{
    top: -78px !important;
    right: -95px !important;
    position: absolute;
    /*  z-index: 1001; */
}

.infohare-avatar-img-post-comment {
    position: absolute;
    top: -40px;
    right: -844px;
    /*  z-index: 1001; */
}

.infohare-avatar-add-post{
    top: -32px !important;
    right: -71px !important;
    position: absolute;
    /*  z-index: 1001; */
}

.infohare-avatar-add-view-post-publish{
    top: -448px !important;
    right: -829px !important;
    position: absolute;
    /*  z-index: 1001; */
}

.infohare-avatar-add-view-post-publish-button{
    top: -40px !important;
    right: -856px !important;
    position: absolute;
    /*  z-index: 1001; */
}

.infohare-avatar-img-default{
    position: absolute; 
    top: -89px;
    right: -66px;
    /*  z-index: 1001; */
}

.infohare-avatar-img-comments-buttons{
    position: absolute;
    top: -65px;
    right: -48px;
    /*  z-index: 1001; */
}

.infohare-question-mark {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 5px;
    border-radius: 50%;
    font-size: 20px;
}

.infohare-avatar {
    cursor: pointer;
}

.z-index-0{
    z-index: 0 !important;
}

/* .infohare-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
} */

.infohare-section.visible {
    transform: translateX(0);
}

.main-content-infohare {
    transition: margin-left 0.3s ease;
}

.main-content-infohare-community{
    transition: margin-left 0.3s ease;
}

/* .main-content-infohare-community.shifted {
    margin-right: 39.2% !important;
    width: 68% !important;
} */

.community-size.shifted {
    /* margin-left: auto;
    margin-right: auto; */
    transition: margin 0.3s ease, width 0.3s ease; /* Smooth transitions */
}

/* Add margin and adjust width when the element is present */
.community-size.shifted {
    /* margin-right: calc((100vw - 1321px) / 2 + 370px) !important; 
    max-width: calc(100% - ((100vw - 1321px) / 2 + 100px)); */
}


.main-content-infohare.shifted {
    /* margin-right: 23.2% !important;
    width: 57% !important; */
    width: 61% !important;
    margin-left: -9% !important;
}

.community-size.shifted{
    /* width: 63% !important; */
}

.clickable-element{
    cursor: pointer;
}

.btn-infohare-forward.disabled,
.btn-infohare-next.disabled,
.btn-infohare-home.disabled,
.btn-infohare-reset.disabled,
.btn-infohare-back.disabled {
    opacity: 0.7;       
    pointer-events: none;
    cursor: not-allowed;
}

.page-wrapper-profile {
    max-width: 1600px;
    margin: 0 auto;
    transition: margin-left 0.3s ease, max-width 0.3s ease;
}

.infohare-section {
    width: 370px;
    position: fixed;
    right: 0;
    top: 0;
    background-color: #e9ecef;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.infohare-section.visible {
    opacity: 1;
    transform: translateX(0); 
    pointer-events: auto;
}

.infohare-card {
    height: calc(100vh - 235px); /* to dynamically adjust the height, full height - (the top margin+ bottom)  */
    overflow-y: auto;
}

.CseekBar.slider-large-infohare {
    flex-grow: 1;
    height: 20px;
    background: rgba(50, 50, 50, 0.8);
    border-radius: 10px;
    appearance: none;
    outline: none;
    margin: 0;
}

.slider-large-infohare::-webkit-slider-thumb {
    appearance: none;
    width: 24px !important;
    height: 24px !important;
    background: #0078ff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    cursor: pointer;
}

.add-margin {
    margin-top: -4%;
}

/* Highlight section */
.profile-image-highlight {
    box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    border-radius: 73%;
    z-index: 20;
    position: absolute;
    width: 195px;
    padding-right: 32px !important;
}

.profile-image-container{
    margin-top: -64px;
    margin-left: 3%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    margin-left: 6%;
}

/* .bannder-highlight{
    box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    z-index: 20;
    position: absolute;
} */

/* .profile-picture-highlight{
    margin-top: -1%;
    margin-bottom: -4%;
} */

.profile-image-highlight::before,
.profile-image-highlight::after {
    content: "";
    position: absolute;
    inset: -0.2rem;
    z-index: -1;
     background: conic-gradient(
        from var(--gradient-angle),
        #ffffff 0%,
        #039b9b 20%,
        #039b9b 25%,
        #FFFFFF 40%, 
        #039b9b  55%,
        #039b9b 60%,  
        #FFFFFF 70%,
        #039b9b 85%,
        #039b9b 90%,
        #FFFFFF  100% 
    );
    opacity: 0.7; 
    border-radius: inherit;
    animation: rotation 25s linear infinite;
    margin-right: -6px !important;
    margin-bottom: -2%;
    margin-top: -1%;
}

.profile-image-highlight::after {
    filter: blur(3.5rem);
}

.bio-highlight::before,
.bio-highlight::after {
    content: "";
    position: absolute;
    inset: -0.2rem;
    z-index: -1;
    background: conic-gradient(
        from var(--gradient-angle),
        #ffffff 0%,
        #039b9b 20%,
        #039b9b 25%,
        #FFFFFF 40%, 
        #039b9b  55%,
        #039b9b 60%,  
        #FFFFFF 70%,
        #039b9b 85%,
        #039b9b 90%,
        #FFFFFF  100% 
    );
    opacity: 0.6; 
    border-radius: inherit;
    animation: rotation 50s linear infinite;
    box-shadow: 0 0 20px #ffffff, 0 0 20px #ffffff;
}

.bio-highlight::after {
    filter: blur(3.5rem);
}

.bio-highlight {
    background-color: white;
    border-radius: 10px;
    /* position: relative; */
    width: 91% !important;
    z-index: 19;
    box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    position: absolute;
    width: 53%;
}

.bio-highlight-col{
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.bio-highlight-col-1{
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
}

.bio-highlight-col-2{
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    padding-top: 2%;
}

.bio-highlight-pencil{
    margin-top: 2%;
}

.contact-details-highlight {
    background-color: white;
    border-radius: 10px;
    position: relative;
    z-index: 99;
    box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.contact-details-highlight::before,
.contact-details-highlight::after {
    content: "";
    position: absolute;
    inset: -0.2rem;
    z-index: -1;
    background: conic-gradient(
        from var(--gradient-angle),
        #ffffff 0%,
        #039b9b 15%,
        #039b9b 25%,
        #FFFFFF 40%, 
        #039b9b  50%,
        #039b9b 60%,  
        #FFFFFF 70%,
        #039b9b 75%,
        #039b9b 90%,
        #FFFFFF  100% 
    );
    opacity: 0.6; 
    border-radius: inherit;
    animation: rotation 50s linear infinite;
    box-shadow: 0 0 20px #ffffff, 0 0 20px #ffffff;
}

.contact-details-highlight::after {
    filter: blur(3rem);
}

.uploadCover {
    margin-top: -354px !important;
}

.community-details-highlight{
    background: white;
    border-radius: 10px;
    position: relative;
    z-index: 99;
    box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.community-details-highlight::before,
.community-details-highlight::after {
    content: "";
    position: absolute;
    inset: -.2rem;
    z-index: -1;
    background: conic-gradient(
        from var(--gradient-angle),
        #ffffff 0%,
        #039b9b 20%,
        #039b9b 25%,
        #FFFFFF 40%, 
        #039b9b  55%,
        #039b9b 60%,  
        #FFFFFF 70%,
        #039b9b 85%,
        #039b9b 90%,
        #FFFFFF  100% 
    );
    opacity: 0.7; 
    border-radius: inherit;
    animation: rotation 25s linear infinite;
}

.community-details-highlight::after {
    filter: blur(3.5rem);
}

.community-details-highlight-div{
    padding: 18px;
    border-radius: 9px;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    width: 102.5%;
    margin-left: -1.2%;
    margin-top: 0.1%;
    margin-bottom: 0.2%;
}

#profile-image-container{
    margin-bottom: -4%;
}

.highlightbanner-image{
    width: 101.6%;
    height: 106%;
    margin-left: -9.5px;
    margin-top: -10px;
    margin-bottom: 2px;
    border-radius: inherit;
    border-bottom-left-radius: 9px !important;
    border-bottom-right-radius: 9px !important;
}

.bannder-highlight{
    /* box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%); */
    /* transition: box-shadow 0.3s ease, border 0.3s ease; */
    z-index: 20;
    position: absolute;
}

.bannder-highlight::before,
.bannder-highlight::after {
    content: "";
    position: absolute;
    inset: -0.2rem;
    z-index: -1;
    background: linear-gradient(
        var(--gradient-angle, 0deg), 
        /* #039b9b,
        #ffffff 40%,
        #ffffff 41%,
        #039b9b */
        #ffffff 0%,
        #039b9b 15%,
        #039b9b 30%,
        #FFFFFF 40%, 
        #039b9b  45%,
        #039b9b 60%,  
        #FFFFFF 70%,
        #039b9b 75%,
        #039b9b 95%,
        #FFFFFF  100% 
    );
    opacity: 0.4;
    border-radius: inherit;
    animation: rotateGradient 70s linear infinite;
    border-bottom-left-radius: 9px !important;
    border-bottom-right-radius: 9px !important;
    border-top-left-radius: 9px !important;
    border-top-right-radius: 9px !important;
    box-shadow: 0 0 20px #ffffff, 0 0 20px #ffffff;
}

/* Rotate the gradient angle smoothly */
@keyframes rotateGradient {
    0% {
        --gradient-angle: 0deg;
    }
    100% {
        --gradient-angle: 360deg;
    }
}

.bannder-highlight-profile::after {
    filter: blur(3.5rem);
}


.bannder-highlight-profile{
    /* box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%); */
    /* transition: box-shadow 0.3s ease, border 0.3s ease; */
    z-index: 20;
    position: absolute;
}

.bannder-highlight-profile::before,
.bannder-highlight-profile::after {
    content: "";
    position: absolute;
    inset: -0.4rem;
    z-index: -1;
    background: linear-gradient(
        var(--gradient-angle, 0deg), 
        /* #039b9b,
        #ffffff 40%,
        #ffffff 41%,
        #039b9b */
        #ffffff 0%,
        #039b9b 20%,
        #039b9b 25%,
        #FFFFFF 40%, 
        #039b9b  55%,
        #039b9b 60%,  
        #FFFFFF 70%,
        #039b9b 85%,
        #039b9b 90%,
        #FFFFFF  100% 
    );
    opacity: 0.6;
    border-radius: inherit;
    animation: rotateGradient 70s linear infinite;
    border-bottom-left-radius: 9px !important;
    border-bottom-right-radius: 9px !important;
    border-top-left-radius: 9px !important;
    border-top-right-radius: 9px !important;
    box-shadow: 0 0 20px #ffffff, 0 0 20px #ffffff;
}

.bannder-highlight-profile::after {
    filter: blur(3.5rem);
}

/* .bannder-highlight{
    box-shadow: 0 0 10px 2px rgb(196 167 167 / 60%);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    z-index: 20;
    z-index: 20;
    position: relative;
    padding: 2px; 
    border-radius: 10px;
    overflow: hidden;
    background-color: #052b2f; 
    box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.6); 
    animation: glow-animation 25s linear infinite; 
} */

/* #banner {
    position: relative;
    padding: 2px; 
    border-radius: 10px;
    overflow: hidden;
    background-color: #052b2f; 
    box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.6); 
    animation: glow-animation 3s linear infinite; 
} */

/* @keyframes glow-animation {
    0% {
        box-shadow: 0 0 15px 5px #0e4b50;
    }
    50% {
        box-shadow: 0 0 15px 5px #2d8f85;
    }
    100% {
        box-shadow: 0 0 15px 5px  #637c54;
    }
} */



/* .bannder-highlight::before,
.bannder-highlight::after {
    content: "";
    position: absolute;
    inset: -.5rem;
    z-index: -1;
     background: conic-gradient(
        from var(--gradient-angle),
        #ffd700,   
        #fffacd, 
        #ffa500,  
        #fff4cc,  
        #f2f2f2,  
        #ffa500,   
        #fffacd,  
        #ffd700    
    );
    border-radius: inherit;
    animation: rotation 25s linear infinite; 
}

.bannder-highlight::after {
    filter: blur(3.5rem);
} */

.infohare-dark-overlay-highlight{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(0,0,0,0.20);
    z-index: 19;
    pointer-events: none;
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.card-overlay {
    height: 60vh;
    aspect-ratio: 1/1.5;
    background: #052b2f;
    border-radius: 0.5rem;
    position: relative;
}

.card-overlay::before,
.card-overlay::after {
    content: "";
    position: absolute;
    inset: -.5rem;
    z-index: -1;
    background: conic-gradient(
        from var(--gradient-angle),
        #00ffff 0%,
        transparent 20%,
        transparent 25%,
        #00ffff 40%, 
        transparent 55%,
        transparent 60%,
        #00ffff 70%,
        transparent 85%,
        transparent 90%,
        #00ffff 100% 
    );
    opacity: 0.7; 
    border-radius: inherit;
    animation: rotation 25s linear infinite;
}

.card-overlay::after {
    filter: blur(3.5rem);
}

/* Animate the custom property --gradient-angle */
@keyframes rotation{
    0% {
        --gradient-angle: 0deg;
    }
    100% {
        --gradient-angle: 360deg;
    }
}

/* @property --gradient-angle {
    syntax: "<angle>";
    initial-value: 45deg;
    inherits: false;
}

.border-wrapper {
    position: relative;
    padding: 5px;
    border-radius: 10px;
    background: linear-gradient(var(--gradient-angle), #0e4b50, #2d8f85, #637c54, #2d8f85, #0e4b50);
    background-size: 400%;
    animation: glow 6s infinite linear;
    display: inline-block;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5),
                0 0 30px rgba(255, 165, 0, 0.5),
                0 0 40px rgba(255, 255, 0, 0.5);
    z-index: 0;
}

.border-wrapper::after {
    content: "";
    filter: blur(3.5rem);
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Card with blue background */
/* .card-overlay {
    height: 200px;
    width: 150px;
    background-color: #052b2f;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

@keyframes animate-border {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}   */

/* 
.card-overlay {
    width: 200px;             
    height: 200px;            
    border-radius: 15px;     
    position: relative;
    background: #000;   
    overflow: hidden;
    z-index: 1;
  }
  
  .card-overlay::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(
      45deg,
      red,
      orange,
      yellow,
      green,
      cyan,
      blue,
      violet,
      red
    );
    z-index: -1;
    background-size: 400%;
    filter: blur(4px);               
    animation: glow 6s infinite linear;
  }
  
  @keyframes glow {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  } */

  .infohare-body {
    overscroll-behavior: contain;
  }
  
