.verifiedBtn{
    position: absolute;
    z-index: 1;
    right: -12px;
    top: -12px;
}

.post {
    z-index: 2;
    position: relative;
    padding: 9px;
    margin: auto;
    margin-bottom: 2rem;
    text-align: center;
    background-color: var(--text-color);
    border-radius: var(--border-radius);
    max-width: var(--max-width);
    /*transform: translateY(100%);*/
    box-shadow: 0px 0px var(--box-shadow-width) rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    /*animation: bottomDropAnimation .5s ease-in-out forwards;*/
}

/*.post::after{*/
/*    content: "";*/
/*    top: 10px;*/
/*    right: 10px;*/
/*    height: 10px;*/
    /*position: absolute;*/
/*    width: 10px;*/
/*    background-color: var(--text-color);*/
/*}*/


.postHeadPostId {
    width: 100%;
    padding: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: -5px;
    margin-left: -5px;
    margin-top: -5px;
    text-align: center;
    font-size: 1.1em;
    border-radius: var(--border-radius) var(--border-radius) 0px 0px;
    font-weight: 550;
    color: var(--subbackground-color);
    background-color: var(--text-color);
}


.externalLinkImg{
    margin-top:-10px;
    margin-bottom:.3em;
    height: .8em;
    opacity: .8;
}

.postBody{
    background-color: var(--subbackground-color); 
    color: var(--text-color);
    border-radius: 0px 0px var(--border-radius) var(--border-radius);
    height: 100%;
    padding: 15px;
    padding-bottom: 5px;
    margin: -5px;
    overflow: hidden;
}
.carousel-container {
    width: var(--images-width);
    /* overflow: hidden; */
    position: relative;
    touch-action: pan-y;
    border-radius: var(--subborder-radius);
    margin: auto;
    margin-bottom: 25px;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
}
.carousel img {
    width: var(--images-width);
    height: var(--images-height);
    object-fit: cover;
    border-radius: var(--subborder-radius);
    margin: 0 2px;
}
.carousel video {
    width: var(--images-width);
    height: var(--images-height);
    object-fit: contain;
    border-radius: var(--subborder-radius);
    margin: 0 2px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    z-index: 1;
    display: flex;
    border: 1px solid var(--border-color);;
}
.nav-button:active {
    opacity: 1;
}
.prev {
    left: -12px;
}
.next {
    right: -16px;
}
.hide-nav {
    display: none;
}
.indicators {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 4px;
    margin: 0;
     background: var(--subsubbackground-color); 
    border-radius: var(--border-radius);
    opacity: 1;
}
.indicator {
    width: 10px;
    height: 10px;
    background-color: #888888;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.indicator.active {
    background-color: #ffffff;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
}


.postImagesHeader{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: var(--subbackground-color);
    height: var(--images-height);
    /* border-radius: var(--border-radius); */
    /* border: 2px solid var(--border-color); */
    overflow-x: scroll;
    overflow-y: hidden;
    margin: auto;
    margin-bottom: 10px;
    padding: 0 4%;
}
.postImagesHeaderImage {
    display: block;
    margin-right: 5px; 
    max-width: 100%; 
    max-width: var(--images-width);
    width: 100%; /* Ensure it spans the full width of the container */
    height: 100%; /* Ensure it spans the full height of the container */
    object-fit: cover; /* Cover the container, possibly cropping the image */
    border-radius: var(--subborder-radius);
    background: var(--border-color);
}

.postImagesHeader::before{
    content: "";
    position: absolute;
    left: 5%;
    height: var(--images-height);
    width: 5%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0), var(--subbackground-color));
    z-index: 0;
    pointer-events: none;
}

.postImagesHeader::after{
    content: "";
    position: absolute;
    right: 5%;
    height: var(--images-height);
    width: 5%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), var(--subbackground-color));
    z-index: 0;
    pointer-events: none;
}

.postImagesHeaderImage:last-of-type{
    margin: 0;
}

.postImagesHeader::-webkit-scrollbar {
    width: 0;
    display: none;
}
.postHeading{
    /* background: var(--subsubbackground-color); */
    padding: .5rem;
    /* border-radius: var(--border-radius); */
    line-height: 1.7em;
    word-spacing: 0.15em;
    margin: .5rem 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 3px solid var(--subsubbackground-color);
    text-align: start;
    padding: 0.5em 0;
    padding-top: 0;
}
.postMessage {
    word-break: break-word;
    margin: 0;
    text-align: left;
    line-height: 1.6em; 
    font-size: 1em; 
    word-spacing: 0.15em; 
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    white-space: normal;
}

.postMessage a{
    text-decoration: underline;
    color: skyblue;
}


.readMoreBtnClass {    
    width: fit-content;
    cursor: pointer;
    background-color: var(--text-color);
    color: var(--subbackground-color);
    font-size: 0.85rem;
    line-height: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    /*bottom: 8px;*/
    margin: 5px;
    margin-left: 0;
    margin-bottom: 0;
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
}


.postToken{
    /*border: 2px solid var(--text-color);*/
    border-radius: var(--subborder-radius);
    padding: 2px 0;
    color: var(--text-color);
    /*background: var(--border-color);*/
    background: var(--error);
    font-weight: 600;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    margin: 10px 0;
    width: 100%;
    border: 1px dashed var(--text-color);
}
.postToken img{
    width: 1rem;
    filter: invert();
    margin-right: 5px;
}

.postFoot{
    margin: 10px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: var(--text-color); */
}

.postFootLeft{
    display: flex;
    align-items: center;
    justify-content: center;
}

.postFootLeft .postFootChild{
    margin-right: 10px;
}


.postFootChild{
    background: #555555;
    border: 2px solid var(--subtitle-color);
    border-radius: var(--border-radius);
    opacity: 0;
    animation: fadeIn .5s ease-in-out forwards;
    justify-content: space-evenly;
    align-items: center;
    display: flex;
    position: relative;
    height: 100%;
    border-radius: var(--subborder-radius);
}

.postInfo{
    border-radius: var(--subborder-radius);
    cursor: normal;
    color: var(--subtitle-color);
    font-size: 0.8rem;
    align-items: center;
    position: relative;
}

.postFoot .postInfo{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    cursor: pointer;
}

.postInfoLine{
    width: 4px;
    height: 4px;
    border-radius: var(--border-radius);
    background: var(--text-color);
    margin: auto;
    margin-left: 4px;
    margin-right: 4px;
}

.postInfoImg{
    width: 1.0rem;
    margin-right: 4px;
    filter: invert();
}

.postInfoName{
    color: powderblue;
    text-decoration: underline;
}

.postBtnInner{
    width: fit-content;
    cursor: pointer;
    background-color: var(--text-color);
    color: var(--subbackground-color);
    font-size: 0.8rem;
    line-height: 1rem;
    font-weight: 550;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    padding-left: 6px;
}

.postBtnInner img{
    width: 1.2rem;
    margin-right: 5px; 
    opacity: .8;
}

.postBtn:active{
    opacity: .9;
}

.postitBtn .postBtnInner{
    background: dodgerblue;
    color: var(--text-color);
}

.postitBtn .postBtnInner img{
    filter: invert(1);
}

.postHead {
    position: relative;
}

.orangeCircle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid orange;
    background-color: orange;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);    
    position: absolute;
}

.greenCircle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid green;
    background-color: green;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);    
    position: absolute;
}

.blueCircle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid #4285f4;
    background-color: #4285f4;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);    
    position: absolute;
}

.redCircle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid orange;
    background-color: red;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);    
    position: absolute;
}

.waitingNo{
    position: absolute;
    color: var(--text-color);
    z-index: 99;
    top: -12px;
    right: -15px;
    background: orange;
    font-size: .8rem;
    font-weight: 600;
    padding: 1px 2px;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px var(--box-shadow-width) rgba(0, 0, 0, 0.5);
    border: 1px solid var(--text-color);
}
.postHeadStatus{
    position: absolute;
    right: -1%;
    top: 7%;
    /*transform: translateX(-50%);*/
    z-index: 5;
}
.postHeadStatusText {
    border: 1.5px solid var(--subbackground-color);
    color: var(--subbackground-color);
    font-weight: 600;
    font-size: 0.6rem;
    padding: 4px;
    padding-left: 18px;
    position: relative;
    display: block;
    min-width: 50px;
    border-radius: var(--border-radius);
    background: var(--text-color);
}


.postHeadDate{
    position: absolute;
    left: -1%;
    top: 7%;
    /*transform: translateX(-50%);*/
    z-index: 5;
}

.postHeadDateText {
    border: 1.5px solid var(--subbackground-color);
    color: var(--subbackground-color);
    font-weight: 600;
    font-size: 0.6rem;
    width: 80px;
    padding: 4px;
    display: block;
    border-radius: var(--border-radius);
}

.dropBtn{
    position: absolute;
    width: 25px;
    height: 32px;
    top: 50%;
    right: 11%;
    border-radius: 0px 0px var(--border-radius) var(--border-radius);
    box-shadow: 0px 0px var(--box-shadow-width) var(--subbackground-color);
    color: var(--text-color);
    background: var(--subbackground-color);
    z-index:1;
    cursor: pointer;
    border: 1px solid var(--text-color);
    perspective: 1000px;
    /*opacity: 0;*/
    /*transform: translateY(100%);*/
    transform: translateY(0);
    /*animation: bottomDropAnimation .5s ease-in forwards;*/
}
.deleteBtn {
    right: 0%; 
    background-color:var(--error);
}

.dropBtnImg{
    margin:auto;
    padding-top:.7rem;
    width: 1rem;
    filter:invert();
}
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
}

.flip-box:active .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.flip-box-back {
  transform: rotateY(180deg);
}

#readMoreDots {
    font-weight: bolder;
}

#extraText {
    display: none;
    animation: fadeIn .5s ease-in-out forwards;

}

.postOptions {
    display: flex;
    padding-top: 10px;
    justify-content: space-between;
    border-top: 2px solid var(--border-color);
}

.postOptionsLeft{
    display: flex;
}

.postOptionsLeft div {
    cursor: pointer;
    padding-right: 15px;
    text-align: center;
    transition: color 0.3s;
    position: relative;
}
.postOptions div svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.postOptions .count{
    margin: auto;
    font-size: .8rem;
    font-weight: 900;
    padding: 0;
    position: absolute;
    top: -.2rem;
    right: .5rem;
    color: var(--text-color);
    padding: 0rem .2rem;
    border-radius: var(--subborder-radius);
    /* box-shadow: 0px 0px var(--box-shadow-width) rgba(0, 0, 0, 0.5); */
    scale: .8;
}

.commentBtn .count{
    background-color: #3498db;
}


.postOptions div svg *{
    transition: fill 0.3s, stroke 0.3s;
}

.commentBtn.active svg path{
    fill: #3498db; /* Blue color for comment */
}
.shareBtn.active svg line, .shareBtn.active svg polygon{
    fill: #2ecc71; /* Green color for share */
}
.saveBtn.active svg polygon{
    fill: #f1c40f; /* Yellow color for save */
    stroke: #f1c40f;
}



/* NOTIFICATION */
#notificationContainer{
    position: sticky;
    z-index: 1000;
    font-weight: 600;
    margin: auto;
    display: block;
    bottom: 20px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: fit-content;
    max-width: 90%;
}

.notification {
    border-radius: var(--border-radius);
    padding: .3rem 1rem;
    display: none;
    margin: 1rem auto;
    opacity: 1;
    align-items: center;
    animation: notificationAnimation 0.5s ease-out;
    transition: opacity 0.5s ease-out; 
    box-shadow: 0 0px var(--box-shadow-width) rgba(0, 0, 0, 0.8);
    border: 1px solid var(--text-color);
    width: fit-content;
}

.invertImg{
    filter: invert();
}

@keyframes notificationAnimation {
    from {
        opacity: 0;
        transform: translateY(200px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.neutral{
    background-color: var(--neutral);
}
.error{
    background-color: var(--error);
}
.warning{
    background-color: var(--warning);
}
.report{
    background-color: var(--report);
}
.success{
    background-color: var(--success);
}

.notification img{
    margin-right: 10px;
}

