.shimmer-wrapper {
  position: relative;
  overflow: hidden;
  background: #f6f7f8;
}

.shimmer-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  height: 100%;
  width: 150%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shimmer 1.2s infinite;
  transition: opacity 0.3s ease;
}

.shimmer-wrapper.loaded::after {
  opacity: 0;
  animation: none;
}

@keyframes shimmer {
  100% { left: 150%; }
}
#navigate {


  transition: transform 0.35s ease;
  will-change: transform;
}
#navigate.nav-hidden {
  transform: translateY(-100%);
}   .story-skeleton-container {
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: auto;
}

.dark-mode.story-skeleton {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  background: rgb(53, 52, 52)  !important;
  animation: shimmer 1.2s infinite linear;
  flex-shrink: 0;
}

.dark-mode .skeleton-loader {
  display: flex;
  align-items: center;
  padding: 10px;  
}

.dark-mode .skeleton-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(53, 52, 52)  !important;
  margin-right: 10px;
  animation: shimmer 1.2s infinite linear;
}

.skeleton-lines {
  flex: 1;
}

.dark-mode .skeleton-line {
  height: 12px;
  background: rgb(53, 52, 52)  !important;
  margin-bottom: 6px;
  animation: shimmer 1.2s infinite linear;
  border-radius: 4px;
}

.dark-mode .skeleton-line.short {
  width: 40%;
}

.dark-mode.skeleton-line.long {
  width: 80%;
}

@keyframes shimmer {
  0% { background-color: rgb(53, 52, 52)  !important; }
  50% { background-color: rgb(53, 52, 52)  !important; }
  100% { background-color: rgb(53, 52, 52)  !important; }
}
    
   .shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #e0e0e0 0%,
        #d5d5d5 50%,
        #e0e0e0 100%
    ) !important;
    background-size: 200% 100%;
    animation: shimmerAnim 1.2s infinite;
    position: absolute;
    inset: 0;
}     .dark-mode .shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgb(53, 52, 52)  0%,
        rgb(53, 52, 52) 50%,
       rgb(53, 52, 52) 100%
    ) !important;
    background-size: 200% 100%;
    animation: shimmerAnim 1.2s infinite;
    position: absolute;
    inset: 0;
}
@keyframes shimmerAnim {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.image-box {
    position: relative;
    max-width:50%; height:auto;
    overflow: hidden; border-radius:20px;
    background: #e0e0e0 ;
}.dark-mode.image-box {
    position: relative;
    max-width:50%; height:auto;
    overflow: hidden; border-radius:20px;
    background: rgb(53, 52, 52)  !important;
}
.real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}.toastpost {
  position: fixed;
  top: 0px;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 9999;
}
  .emoji-container {
    display: flex;
    gap: 10px;overflow:auto;
    padding: 5px;
    border-top: 0.5px solid #ddd;
    font-size: 24px;
    cursor: pointer;
  }

  .emoji-container span:hover {
    transform: scale(1.2);
  }

.emoji-container span {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.toastpost.show {
  opacity: 1;
  transform: translateY(0);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}

body.modal-open {
  overflow: hidden;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}#imageModal #modaltext {
  color: #fff;
  font-size: 16px;width:90%; font-size:14px;
  max-width: 100%;height:120px; overflow:auto;
  margin: 15px auto; bottom: 30px;
  text-align: left; position: absolute;
}#imageforModal #modalfortext {
  color: #fff;
  font-size: 16px;width:90%; font-size:14px;
  max-width: 100%;height:120px; overflow:auto;
  margin: 15px auto; bottom: 30px;
  text-align: left; position: absolute;
}/* Comment Form */
.comment-form {
  display: flex;
  flex: 1;
  gap: 10px;
}.comment-input {
  flex: 1;
  padding: 10px;
  border: 0.5px solid #ddd;
  border-radius: 20px;
  font-size: 16px;
  outline: none;m



}  .image-thumb {
      width: 200px;
      cursor: pointer;
    }#imageforModal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
    }

   #imageforModal img {
  max-width: 100%;  
  max-height: 100%;  
  animation: zoomIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}#imageforModal #modalfortext {
  color: #fff;
  font-size: 16px;width:90%; font-size:14px;
  max-width: 100%;height:120px; overflow:auto;
  margin: 15px auto; bottom: 30px;
  text-align: left; position: absolute;
}
input{outline:none; box-shadow:none; border-color:inherit;}
    #imageModal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
    }

#imageModal img {  
  max-width: 100%;  
  max-height: 100%;  cursor: zoom-in; touch-action: none;
  animation: zoomIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
  #imageforModal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
    }

    #imageforModal img {
  max-width: 100%;  
  max-height: 100%;  
  animation: zoomIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
 
    .close-btn {
      position: absolute;
      top: 20px;
      right: 40px;
      font-size: 40px;
      font-weight: bold;
      color: white;
      cursor: pointer;
    }

:root {
  /* Light theme variables */
  --bg-primary: #ffffff;
  --text-primary: #333333;
  --input-bg: #ffffff;
  --input-border: #cccccc;
  --input-text: #333333;
  --modal-bg: #ffffff;
  --modal-text: #333333;
  --card-bg: #f8f9fa;
  --card-text: #333333;
  --border-color: #000000; /* All borders black */
}

.dark-mode {
  --bg-primary: #1a1a1a;
  --text-primary: #ffffff;
  --input-bg: #2d2d2d;
  --input-border: #000000; /* Black borders in dark mode */
  --input-text: #ffffff;
  --modal-bg: #ffffff;
  --modal-text: #333333;
  --card-bg: #2d2d2d;
  --card-text: #ffffff;
  --border-color: #000000; /* Black borders in dark mode */
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Target inline styles */
.dark-mode [style] {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}


/* Alive class - white border bottom in dark mode */
.alive {
  border-bottom: 2px solid var(--border-color);
}
.dark-mode .col-10 {
  background-color: tRANSPARENt !important;

}.dark-mode #search-icon, #clear-search,#tname, i {
  background-color: tRANSPARENt !important;

}.dark-mode #message-btn {

 background-color:#1DA1F2 !important;

}.dark-mode #edit {
 border:2px var(--bg-primary) solid !important;
 background-color:#1DA1F2 !important;

}

.dark-mode .cancel-btn{
  background-color: tRANSPARENt !important;

}
.dark-mode .follow-btn {
  background-color: rgb(65, 64, 64) !important;
  color: var(--text-primary) !important;

}.dark-mode .follow-btn:hover {
  background-color: rgb(65, 64, 64) !important;
  color: var(--text-primary) !important;

}.dark-mode .sfollow-btn {
  background-color: rgb(65, 64, 64) !important;
  color: var(--text-primary) !important;

}.dark-mode .sfollow-btn:hover {
  background-color: rgb(65, 64, 64) !important;
  color: var(--text-primary) !important;

}.dark-mode .insta-COMMENT {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;

}
.dark-mode .suggested-user {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
 border:0.5px #dbdbdb solid !important;
}
.dark-mode .alive {
  border-bottom-color: #ffffff !important; /* White border in dark mode */
}
.dark-mode nav {
  border-bottom-color: black !important; /* White border in dark mode */
}.dark-mode .insta-card {
  background: var(--bg-primary) !important; /* White border in dark mode */
}.dark-mode input {
background: rgb(53, 52, 52) !important;

}.dark-mode .fas {
background: rgb(53, 52, 52) !important;

}
.dark-mode svg {
  background: var(--bg-primary) !important;  /* White border in dark mode */
}
.dark-mode .sidebar {
  background: var(--bg-primary) !important;  /* White border in dark mode */
}
.dark-mode .message-input {
  background: var(--bg-primary) !important;  /* White border in dark mode */
}
.dark-mode svg {
  background-color:transparent !important;  /* White border in dark mode */
}

.dark-mode .message-input button .rise {
  background:transparent !important;  /* White border in dark mode */
}
/* Badge class - remain normal colors */
.dark-mode .badge {
  background-color: #1DA1F2 !important;
  color: #ffffff !important;
}
.dark-mode #tsvg {
  background-color: #1DA1F2  !important;
}
.dark-mode #tbtn {
  background-color: #1DA1F2 !important;
  color: #ffffff !important;
}.dark-mode #upload {
  background-color: rgb(53, 52, 52) !important;
  color: #ffffff !important;
}


.dark-mode .incoming .details p{
  background-color: rgb(53, 52, 52) !important;
  color: #ffffff !important;
}
.dark-mode nav{
  background-color: transparent !important;
  color: #ffffff !important;
}
.dark-mode .outgoing .details p a{
  background-color: transparent !important;
  color: #ffffff !important;
}

.dark-mode .incoming .details p a{
  background-color: transparent !important;
  color: #ffffff !important;
}
.dark-mode .outgoing .details p .bi{
  background-color: transparent !important;
  color: #ffffff !important;
}
.dark-mode .incoming .details p span{
  background-color: transparent !important;
}


.dark-mode .outgoing .details p span{
  background-color: transparent !important;
}
.dark-mode  {
  background-color:var(--bg-primary) !important;

}
/* All borders turn black */
.dark-mode {
  border-color: var(--border-color) !important;
}

/* Apply black borders to common elements */
.dark-mode div,
.dark-mode p,
.dark-mode span,
.dark-mode table,
.dark-mode td,
.dark-mode th,
.dark-mode input,
.dark-mode textarea,
.dark-mode select {
  border-color: var(--border-color) !important;
}

/* Specific border styles */
.dark-mode .content {
  border: 1px solid var(--border-color) !important;
}

.dark-mode table,
.dark-mode td,
.dark-mode th {
  border: 1px solid var(--border-color) !important;
}

.dark-mode input,
.dark-mode textarea,
.dark-mode select {
  border: 1px solid rgb(53, 52, 52) !important;
  background: rgb(53, 52, 52) !important;
}

/* If you have combined classes */
/* If you have combined classes */
 .modal.fade {
  background-color: transparent !important;
  color: var(--modal-text) !important;
}

/* Dark mode input styles */
input, textarea, select {
  background-color: var(--input-bg);
  color: var(--input-text);
  border-radius: 4px;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}


.duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}   .story-content {
            width: 100%;
            height: auto;
            background-color: #f5f5f5;
            display: block;
        }
.preview-container {
  border-top:0.5px #dbdbdb solid; 

    }
.preview-container img{
width: 100px;height:100px;
border-radius : 10px;     
margin : 10px;   object-fit:cover; 
    }
    #mentionList {
        padding-top: 15px;
        background: #fff;
       border-top:0.5px #dbdbdb solid;
        display: none;
      
    }
    #mentionList div {
        padding: 8px;font-family:lato;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    #mentionList div:hover { background: #f0f0f0; }
    #mentionList img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        margin-right: 10px;
        margin-left: 10px;
    }

 .search input {
            width: 72%;margin-bottom: 15px;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            border:0.5px grey solid;
            background-color: var(--background-color);
            font-size: 0.9rem;background:whitesmoke;
        }    input[type=text]:focus {

  outline:0.5px #dbdbdb solid;
} 
 
  
           .search {     display:none;    }    
        
        .search i {
      position: absolute;
      right: 79px;
      top: 23%;
      transform: translateY(-50%);
      color: #999;
      font-size: 18px;
        }
   /* Disable selection everywhere */
    html, body, * {
      -webkit-user-select: none; /* Safari */
      -webkit-touch-callout: none; /* iOS long-press menu */
      -moz-user-select: none;    /* Old Firefox */
      -ms-user-select: none;     /* Old IE/Edge */
      user-select: none;         /* Standard */
    }

    /* OPTIONAL: allow selection where you need it */
    .allow-select, input, textarea, [contenteditable="true"] {
      -webkit-user-select: text;
      -moz-user-select: text;
      -ms-user-select: text;
      user-select: text;
      -webkit-touch-callout: default;
    }
  video{
    pointer-events:none;
  }
.photo-container  img{ width: 50%; border-radius:20px;}
.photo-container  { font-size: 0px; }

/* theme.css */
:root {
  --bg-color: #ffffff;    /* Light mode */
  --text-color: #000000;
  --card-bg: #f9f9f9;
}

.dark-theme {
  --bg-color: #121212;    /* Dark mode */
  --text-color: #ffffff;
  --card-bg: #1e1e1e;
}
       .dark-mode  .repost-btn.reposted {
        color: #1DA1F2 !important;
      }
       .dark-mode   .save-btn.saved {
        color: #1DA1F2 !important;
      }



    .dark-mode .post_comment input:valid ~ button{
    color: #fff !important;
    cursor: pointer;
    background: #4599FF !important;
  }
  .dark-mode .post_comment input:valid ~ button:hover{
    background: #1a81ff !important;
  }


.loader { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.spinner { width: 25px; height: 25px; border: 3px solid rgba(255,255,255,0.3); border-top: 3px solid white; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.dark-mode .fas {background:transparent !important; }.dark-mode #videocap a {background:transparent !important; }.dark-mode #videocap span {background:transparent !important; }.dark-mode #videocap {background:transparent !important; }.dark-mode #videoSpinner {border:6px solid #fff !important; }.dark-mode #videoSpinner {background:trANSPARENT !important; }.dark-mode .close {background:trANSPARENT !important; }/* Comment Form */
.dark-mode #modaltext {background:transparent !important; }

  .dark-mode .comment-box textarea:valid ~ button{
    color: #fff !important;
    cursor: pointer !important;
    background: #4599FF !important;
  }
  .dark-mode .comment-box textarea:valid ~ button:hover{
    background: #1a81ff !important;
  }
.modal-share{
width:600px;overflow:auto;
justify-content:center;
border:5px #dbdbdb solid;
margin-bottom:20px;
border-radius:20px;
}  @media screen and (max-width: 770px) {
 .search {     display:block;    }  
  }

  @media screen and (max-width: 500px) {
.modal-share{
width:100%;overflow:auto;
justify-content:center;
border:none;
} 
  }
.post_comment button{
 
    color: black;
  cursor: not-allowed;
    cursor: pointer;
    color: #BCC0C4;
    cursor: no-drop;
    border-radius: 7px;
    
    transition: all 0.3s ease;
  }
  .post_comment input:valid ~ button{
    color: #fff;
    cursor: pointer;
    background: #4599FF;
  }
  .post_comment input:valid ~ button:hover{
    background: #1a81ff;
  }

    .quote-container {
  display: flex;
  overflow-x: hidden;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 100%; /* Adjust container width */
color:transparent;
}
      .quote-container img {
        min-width: 200px;
        min-height: auto;
       margin-bottom:px;
      border-radius: 15px;
      object-fit:cover;

      background: #111;
   
      }
      .quote-container video {
        object-fit: contain;
       min-width: 200px;
       min-height: 300px;
       margin-bottom:px;
        border-radius: 15px;

      background: #111;
      margin-right: 0px;
      }
      .quote-container:hover {
cursor: pointer;
  overflow-x: scroll;

}.quote:hover  {
background:whitesmoke;; 

}
 .popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.popup.show {
    opacity: 1;
    transform: translateY(0);
} 
 
 
 
 
 /* Disable selection everywhere */
    html, body, * {
      -webkit-user-select: none; /* Safari */
      -webkit-touch-callout: none; /* iOS long-press menu */
      -moz-user-select: none;    /* Old Firefox */
      -ms-user-select: none;     /* Old IE/Edge */
      user-select: none;         /* Standard */
    }

    /* OPTIONAL: allow selection where you need it */
    .allow-select, input, textarea, [contenteditable="true"] {
      -webkit-user-select: text;
      -moz-user-select: text;
      -ms-user-select: text;
      user-select: text;
      -webkit-touch-callout: default;
    }.photo-container  img{ width: 150px; border-radius:20px;}
.photo-container  { font-size: 0px; }
    .video-wrapper {
      position: relative;
      margin:0px;
      padding:0px;
      }

    .video-wrapper video {
    left:0px;
    }
.dark-mode .play-btn{ border: 3px white solid !important;   background: black !important;; }
    .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;  border: 3px white solid;
      transform: translate(-50%, -50%);
      font-size: 60px;
     background: black !important;
     padding: 5px;
      color:white;
      border-radius:50%;
      opacity: 1;
      pointer-events: none; /* So click passes through */
    }
.following{   
        margin-top: 45px;
            }

      .feed-content{   
        margin-top: 7px;
            }

         .left-content{   
        margin-top: 20px;
            }

    .right-content{   
        margin-top: 200px;
            }
.story-skeleton-container {
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: auto;
}

.story-skeleton {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  background: #ccc;
  animation: shimmer 1.2s infinite linear;
  flex-shrink: 0;
}

.skeleton-loader {
  display: flex;
  align-items: center;
  padding: 10px;
}

.skeleton-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ccc;
  margin-right: 10px;
  animation: shimmer 1.2s infinite linear;
}

.skeleton-lines {
  flex: 1;
}

.skeleton-line {
  height: 12px;
  background: #ccc;
  margin-bottom: 6px;
  animation: shimmer 1.2s infinite linear;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 40%;
}

.skeleton-line.long {
  width: 80%;
}

@keyframes shimmer {
  0% { background-color: #eee; }
  50% { background-color: #ddd; }
  100% { background-color: #eee; }
}

body {
  overflow:auto;
}

#pullup {
  text-align: center;
  padding: 10px;
  background-color: #f0f0f0;
  font-weight: bold;
  color: #333;
  
}




.popup1 {
      display: none;
      position: fixed;
      bottom: 30px;
      left: 40%;
      width: auto;
      background-color:  rgba(0, 0, 0, 0.73);
      color: white;
      padding: 15px 25px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      animation: fadeInOut 3s ease-in-out;
      justify-self: center;
      justify-content: center;
      align-self:center;
  align-content:center;

    }

   #reposted {
      display: none;
      position: fixed;
      bottom: 30px;
      left: 40%;
      width: auto;
      background-color:  rgba(0, 0, 0, 0.73);
      color: white;
      padding: 15px 25px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      animation: fadeInOut 3s ease-in-out;
    }




    @media screen and (max-width: 900px) {



.popup1 {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 15%;
    width: auto;
    background-color:  rgba(0, 0, 0, 0.73);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
    justify-self: center;
    justify-content: center;
    align-self:center;
    align-content:center;

  }


  #reposted {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 32%;
    width: auto;
    background-color:  rgba(0, 0, 0, 0.73);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
    justify-self: center;
    justify-content: center;
    align-self:center;
    align-content:center;

  }


}


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
  }
 .loader {
  width: 30px;
  height: 30px;
  border: 3px solid #ccc;
  border-top: 2px solid #8B53FF;
  border-radius: 50%;
  
  animation: spin 1s linear infinite;
  margin: 30px auto;


}

.loading {
  position: relative;
  color: transparent;
}

.loading::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  margin-top: 10px;
  margin-bottom: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spins 1s linear infinite;
}

@keyframes spins {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
 .loading_post {
  width: 30px;
  height: 30px;
  border: 3px solid #ccc;
  border-top: 2px solid #8B53FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 30px auto;
margin-bottom:10px;

}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.moda {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  transition: bottom 0.3s ease-in-out;
  z-index: 1000;
}

.moda-content {
  padding: 20px;
  max-height: 50vh;
  overflow-y: auto;
}

.moda.show {
  bottom: 0;
}

.close-btn {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

body {
  overflow:auto;
}


@media screen and (max-width: 1250px) {
  .head-nav{
display:none;
}
}
@media screen and (max-width: 1000px) {
  .head-pad{
display:none;
}
}
@media screen and (min-width: 1250px) {
  
.suggest {
display:none;
}


}









.left-content a:hover {
background:rgb(217, 227, 236);
}






.suggested-user {
    border: 0.5px solid whitesmoke;
    text-align: center;
    padding: 10px;
    margin: 5px;
    position: relative;
    border-radius: 8px;
    width: 200px;
    background:whitesmoke;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
button {
    padding: 6px 12px;
    margin-top: 5px;
    cursor: pointer;
}
.cancel-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    font-size: 16px;
    color:grey;
    font-weight:bold;
}
.txt:hover{

}







        /* Basic styling for the image and modal */
        .thumbnail {
            cursor: pointer;
            width: 200px;
            height: auto;
        }

        /* Modal background */
        .modal_picture {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: black;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        /* Modal content (image) */
        .modal-content_picture {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

        /* Close button */
        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
        }








.story-skeleton-container {
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: auto;
}

.story-skeleton {
  width: 100%;
  height: 60px;
  border-radius: 10px;
  background: #ccc;
  animation: shimmer 1.2s infinite linear;
  flex-shrink: 0;
}

.skeleton-loader {
  display: flex;
  align-items: center;
  padding: 10px;
}

.skeleton-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ccc;
  margin-right: 10px;
  animation: shimmer 1.2s infinite linear;
}

.skeleton-lines {
  flex: 1;
}

.skeleton-line {
  height: 12px;
  background: #ccc;
  margin-bottom: 6px;
  animation: shimmer 1.2s infinite linear;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 40%;
}

.skeleton-line.long {
  width: 80%;
}

@keyframes shimmer {
  0% { background-color: #eee; }
  50% { background-color: #ddd; }
  100% { background-color: #eee; }
}

body {
    font-family: 'Open Sans', 'Lato', sans-serif;

}


div{

    font-family: 'Open Sans', 'Lato', sans-serif;

}


span{
  font-family: 'poppins';

}




    .remove {
       cursor: pointer;
      
      }








    #post_content {
       margin-top: 0px;
       
    }



  *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

    .quote-container {
  display: flex;
  overflow-x: hidden;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 100%; /* Adjust container width */
color:transparent;
}
      .quote-container img {
        min-width: 200px;
        min-height: auto;
       margin-bottom:px;
        border-radius: 15px;
      object-fit:cover;
   
      background: #111;
      margin-right: 5px;
      }

      .quote-container:hover {
cursor: pointer;
  overflow-x: scroll;

}


    .image-container {
  display: flex;
  overflow-x: hidden;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 100%; /* Adjust container width */
color:transparent;
}


.image-container-post {
  display: flex;
  overflow-x: hidden;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 100%; /* Adjust container width */
color:transparent;
}

.image-container:hover {
cursor: pointer;
  overflow-x: scroll;

}


.image-container-post:hover {
  cursor: pointer;
    overflow-x: scroll;
  
  }
  
@media screen and (max-width: 650px) {

.image-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 100%; /* Adjust container width */
  -ms-overflow-style:	none;
  translate: 10;
}	.image-container::-webkit-scrollbar {
display:none;

}

.image-container-post {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 99%; /* Adjust container width */
  -ms-overflow-style:	none;
}	.image-container-post::-webkit-scrollbar {
display:none;

}




}

.image-container::-webkit-scrollbar {
  height: 10px;
}

.image-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.image-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}


.image-container-post::-webkit-scrollbar {
  height: 10px;
}

.image-container-post::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.image-container-post::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

      .image-container img {
        min-width: 200px;
      min-height: auto;
       margin-bottom:px;
      border-radius: 15px;
      object-fit:cover;
      border: 0.5px solid rgba(102, 102, 102, 1) !important;
      background: #111;
      margin-right: 5px;
      }


.image-container video {
        width: 420px;
        height: 350px;
       margin-bottom:px;
        border-radius: 15px;
        border: 0.5px solid rgba(102, 102, 102, 1) !important;
     
      background: #111;
      margin-right: px;
     object-fit: contain;
}



.image-container-post video {
       width: 480px;
        height: 350px;
       margin-bottom:px;
        border-radius: 15px;
    
        background: #111;
        margin-right: 5px;
        align-items: center;
        justify-content: center;
        align-self: center;
        align-content: center;
}

.image-container-post img {
        min-width: 200px;
        min-height: auto;
       margin-bottom:px;
        border-radius: 15px;
      object-fit:cover;

      background: #111;
      margin-right: 5px;
}


.image-container :first-child{
  margin-left: 50px;

}.quote :first-child{
  margin-left: 0px;

}
.image-container-post :first-child{


}
.image-container .video-wrapper :first-child{
  margin-left: 0px;

}



.lightbox {
display: none;
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
justify-content: center;
align-items: center;
}

.lightbox img {
max-width: 90%;
max-height: 90%;
border-radius: 10px;
}

.post-header {
display: flex;
align-items: center;
margin-bottom: 0px;
}

.profile-pic {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
margin-right: 10px;
}

.user-info {
display: flex;
flex-direction: column;
margin-left:10px;
}

.username {
margin: 0;
font-size: 16px;
font-weight: 600;
text-transform:capitalize;width:40ch;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
font-family: 'Montserrat', 'Poppins', sans-serif;
}.searchbio{
margin: 0;
font-size: 16px;
font-weight: 600;
text-transform:capitalize;width:150ch;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
font-family: 'Montserrat', 'Poppins', sans-serif;
}

.time {
font-size: 12px;
color: gray;
}

.comment-box button{
 
    color: black;
  cursor: not-allowed;
    cursor: pointer;
    color: #BCC0C4;
    cursor: no-drop;
    border-radius: 7px;
    
    transition: all 0.3s ease;
  }
  .comment-box textarea:valid ~ button{
    color: #fff;
    cursor: pointer;
    background: #4599FF;
  }
  .comment-box textarea:valid ~ button:hover{
    background: #1a81ff;
  }

  .comment-box textarea{
    padding: 5px;
    padding-left: 10px;
    border-radius: 10px;
  }
  
  .comment-box :where(textarea){
    width: 100%;
    outline: none;
    border: none;
  }
  .comment-box textarea{
    resize: none;
    font-size: 16px;
    margin-top: 30px;

  }
  .comment-box textarea::placeholder{
    color: #858585;
    font-size: ;
  }
  .comment-box textarea:focus::placeholder{
    color: #b3b3b3;
  }
  .post_comment button{
 
    color: black;
  cursor: not-allowed;
    cursor: pointer;
    color: #BCC0C4;
    cursor: no-drop;
    border-radius: 7px;
    
    transition: all 0.3s ease;
  }
  .post_comment input:valid ~ button{
    color: #fff;
    cursor: pointer;
    background: #4599FF;
  }
  .post_comment input:valid ~ button:hover{
    background: #1a81ff;
  }
  .man .img {
      position: absolute;	  
    background: #8B53FF;
    height: 60px;
    padding: 2px;
    width: 60px;
  
    border-radius: 50%;
  }
  
  .icon_search{
    display: none;
  }
  
  .headnav  nav{
    position:fixed;width:100%;height:45px;
  }
  
  .following_foryou{
  display: none;
  position:fixed;
  top:0px;
  height: 42px;
  margin-left: 20px;
  border-radius: 30px;
  padding: 0px;
  width: 500px;
  background-color: white;
  }
  
  .following_foryou a.disabled{
  font-size: 18px;
    border-bottom: 5px  solid #8B53FF;
    font-weight: bold;
    font-family: sans-serif;
    }
  
    .following_foryou a.nav-link{
      font-size: 18px;
        color:rgb(139, 139, 139);
        font-weight: bold;
        font-family: sans-serif;
        }
  .following_foryou .nav-link{
  margin-left: 10px;
  margin-right: 10px;
    }
   .man .img img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
  }
    
  .navba {
    display: flex;
    justify-content: center;
    background-color: #fff;
  height:70px;
  width: 655px;
  
    padding-left:10px;
  }
  
  .nav-ite {
    flex: 1;
    padding: 15px 0;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    transition: color 0.3s;
  }
  
  .nav-ite.active {
    color: #111;
  
  }
  
  
  
    /* Import Google font - Poppins */
  .top-icon{
    display:none;
  }
  
  .search-phone{
    display:none;
  }  .wrapper .carousel{
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: calc((15% ) - 12px);
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 20px;
      border-radius: 8px;
      scroll-behavior: smooth;
      border:none;
      scrollbar-width: none;margin-bottom: 0;margin-top: 5px;
        margin-bottom: 1px;
        left: 0px;
      padding: 10px;
         margin-top: 15px;
         border-bottom:0.5px #dbdbdb solid;
  }



  .wrapper .card:first-child{


  }
  .carousel{
    margin: 
  }
  .carousel .card {
    scroll-snap-align: start;
    
    padding-left: 30px ;
    
    }


  .carousel::-webkit-scrollbar {
    display: none;
  }
  .carousel.no-transition {
    scroll-behavior: auto;
  }
  .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .carousel.dragging .card {
    cursor: grab;
    user-select: none;
  }
  .carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  @media screen and (max-width: 900px) {
    .wrapper .carousel {
      grid-auto-columns: calc((28%) - 22px);
      margin-top: 3px;
      
    }
  }

  .carousel .card .img {
     
    height: 79px;
    width: 79px;
    border-radius: 50%;
  }
  
  .carousel .card img {
  
    height: 75px;
    width: 75px;
    border-radius: 50%;
  }
  
  .list:hover{
    background-color:rgb(222, 238, 252);
  }
  .nav-link{
    display:none;
  }
  .icon:hover{
  
  }
  .icon{
  border:  1px black;
  }
  .upload{
    background-color: #8B53FF;
    color:white;
    font-weight:20px;
    font-weight:20px;
    position:fixed;
    bottom:20px;
    border-radius:50%;
    padding:5px;
    border:none;
  margin-left: 10px;
 
  height:50px;width: 50px;
  
  }
  #successMessage {
        color: green;
        display: none;
        margin-top: 10px;
        
      }
  

      .insta-card {
        width: 500px;
        border-bottom: 1px solid #dbdbdb;
        border-radius: px;
        background: white;
        padding:10px;
        
        padding-right: 0px;
        text-align: justify;
      }

      .insta-post {
        width: 500px;
        border-bottom: 1px solid #dbdbdb;
        border-radius: px;
        background: white;
        padding:10px;
    
        padding-right: 0px;
        text-align: justify;
      }
      .insta-header, .insta-footer {
        padding-left: 0px;
        padding-bottom: 0px;
        padding-right: 10px;
        display: flex;
        margin-bottom: 0px;
        align-items: center;
      }
      .insta-header {
        justify-content: space-between;
        font-weight: bold;
              
      }
  
      .insta-photo {
        width:98%;
        height: auto;


      }

.txt{
  margin-left: 45px;
 font-weight: ;
 Font-size:14.5px;
 position: inline;
 padding-top: 0px;
}

.txt_post{
  margin-left: 0px;
 margin-right: 10px;
 Font-size:14.5px;
 position: inline;
 padding-top: 0px;
}

  
      .insta-photo img{
  border-radius: 15px;
  margin-top: 5px;

      }
      .insta-actions {
        margin-left: 40px;
         margin-bottom: 10px;
         margin-top: 10px;
        
      }

      .insta-actions_post {
        margin-left: 0px;
      
        
      }

      .insta-actions_post .icons{
        margin-left: 10px; 
            }
      .insta-actions .icons{
  margin-left: 10px; 
      }

      .insta-actions_post span {
        cursor: pointer;
        font-size: 24px;
      }
      .insta-actions span {
        cursor: pointer;
        font-size: 24px;
      }
      .likes {
        font-weight: bold;
        padding: 0 10px;
      }
      .caption {
        padding: 0 10px;
      }
      .caption span {
        font-weight: bold;
      }
      .comment-box {
        border-top: 1px solid #dbdbdb;
        padding-top: 10px;
        display: flex;
        gap: 10px;
        margin-top:0px;
      }
      .comment-box input {
        flex: 1;
        padding: 5px;
        border: none;
        outline: none;
      }
      .timestamp {
        font-size: 12px;
        color: gray;
        padding: 0 10px 10px 10px;
      }
      .box-footer{
        display:none;
        margin-top:0px;
      }
          
    
          
      @media screen and (max-width: 853px) {
  
        .following_foryou{
          left:310px;
          position:fixed;
          top:0px;
          height: 45px;
          padding: ;
          border-radius: 0px;
          padding: 0px;
          width: 445px;
          
          }



  

          
      }



      
      @media screen and (max-width: 800px) {
  
        .following_foryou{
          left:310px;
          position:fixed;
          top:0px;
          height: 45px;
          padding: ;
          border-radius: 0px;
          padding: 0px;
          width: 445px;
          
          }




          
      }





      @media screen and (max-width: 700px) {
      .top-icon{
        display:block;
        margin-top:0px;
      }          


      .box-footer{
        display:block;
        margin-top:0px;
      }
      .content {
    padding: 0px;
    margin-top: 0px;
  }
  
  .following_foryou{
  
    position:fixed;
    top:0px;
    height: 43px;
    padding: ;
    border-radius: 0px;
    padding: 0px;
    width: 100%;
    margin-left: 0px;
    }
  
    }
  
  #online-users h5{
  margin-left: 20px;
  margin-top: 10px;
  font-weight: bold;
  }  
   
      @media screen and (max-width: 900px) {
   .phone-wrapper .carousel{
       gap:8px; 
  
  }   .phone-wrapper .carousel  img{
       border: 1px #dbdbdb solid;;
  height:65px; width:65px; object-fit:cover;
  }
         #right{
          display:none;
          }
          #left{
          display:none;
          }
          .navba{
            display:none;
          }
  
          .icon_search{
            display:block;
          }
          .post_comment{
            display:none;
          }
          .upload{
            background-color: #8B53FF;
            color:white;
            font-weight:20px;
            font-weight:20px;
            position:fixed;
            bottom:60px;
            right:20px;
            border-radius:50%;
            padding:8px;
            border:none;
            margin-left: 10px;
            box-shadow:2px  2px 2px  2px grey;
            height:45px;width: 45px;
          display:block;
         
          }

          .username {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            text-transform:capitalize;width:28ch;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
            
            }

          .remove {
            font-size: 15px;
            cursor: pointer;
            display: flex;
             padding: 10px;
             border-radius: 50%;

             }

  
          .insta-header, .insta-footer {
  
            padding-bottom: 0px;
  
          }
  
        .insta-card {
        width: 100%;
        border-bottom: 1px solid #dbdbdb;
        border-radius: px;
        background: white;
     padding-bottom: 0px;
 
     text-align: ;
      }


  
      .following_foryou a.disabled{
        font-size: 16px;
          border-bottom: 5px  solid #8B53FF;
          border-bottom-right-radius: 5px;
          border-bottom-left-radius: 5px;
        
          font-weight: 500;
          font-family: sans-serif;
          }
        
          .following_foryou a.nav-link{
            font-size: 16px;
              color:rgb(177, 173, 173);
              font-weight: 500;
              font-family: sans-serif;
              }
  
  
      .feed-content{   
        margin-top: 48px;
            }

                  .following{   
        margin-top: 85px;
            }


      .insta-header {
        justify-content: space-between;
        font-weight: bold;
        border-bottom: none;
        
      }
  
      .insta-header, .insta-footer {
        padding-left: 0px;
        margin-bottom: 0px;
        padding-right: 10px;
        display: flex;
        align-items: center;
      }
      .insta-photo {
        width:98%;
        height: auto;
        margin-left: ;
      }

      .insta-photo-post {
        width:100%;
        height: auto;
        margin-left: 0px;
      }
  
      .insta-card video{
        object-fit: contain;
       width: 287px;
       height: 280px;
       margin-bottom:px;
        border-radius: 15px;
      border: 0.5px solid  rgba(102, 102, 102, 1) !important;
      background: #111;
      margin-right: 5px;
}


         

      .image-container img {
        min-width: 200px;
        min-height: auto;
       margin-bottom:px;
        border-radius: 15px;
      object-fit:cover;
      border: 0.5px solid rgba(102, 102, 102, 1) !important;
     
      background: #111;
      margin-right: 5px;
      }


      .image-container-post img {
        min-width: 200px;
        min-height: auto;
       margin-bottom:px;
        border-radius: 15px;
      object-fit:cover;
     border: 0.5px solid rgba(102, 102, 102, 1) !important;
     
      background: #111;
      margin-right: 5px;
      margin-left: 0px;
      
      }
  video{
    pointer-events:none;
  }

     .image-container-post VIDEO {
        width: 21.3rem;
        height: 300px;
       margin-bottom:px;
        border-radius: 8px;
      object-fit:contain;

      border: 0.5px solid rgb(172, 171, 171);
      background: #111;
    
      }


      .image-container  {

      }
      
  
     
    }
  
  
    
    @media screen and (max-width: 600px) {
      .wrapper .caro {
        grid-auto-columns: 20%;
      }
    }
  
    .main_division
          {
              position: relative;
              width: 100%;
              height: auto;
              background-color: #FFF;
              border: 1px solid #CCC;
              border-radius: 3px;
          }
          #sub_division
          {
              width: 100%;
              height: auto;
              min-height: 80px;
              overflow: auto;
              padding:6px 24px 6px 12px;
          }
          .image_upload
          {
              position: absolute;
              top:0px;
              right:16px;
          }
          .image_upload > form > input
          {
              display: none;
          }
  
          .image_upload img
          {
              width: 24px;
              cursor: pointer;
          }
  








          .repost-btn { border: none; background: none; cursor: pointer; font-size: 20px; color: grey; }
         
      
          .repost-btn.reposted {
        font-size: 40px;
        display: inline-block;
       
        transform-origin: bottom center;
        color: black;
      }


      .save-btn { border: none; background: none; cursor: pointer; font-size: 20px; color: grey; }
   
      
          .save-btn.saved {
        font-size: 40px;
        display: inline-block;
       color: black;
        transform-origin: bottom center;
      }





      .follow-btnl { border: none; background: none; cursor: pointer; font-size: 20px; color: #aaa; }
      .like-btn.saved svg { color: red; }
      
          .follow-btnl.following {
        font-size: 40px;
        display: inline-block;
       color:#8B53FF;
        transform-origin: bottom center;
      }









          .like-btn { border: none; background: none; cursor: pointer; font-size: 20px; color: #aaa; }
          .like-btn.liked svg { color: red; }
      
          .like-btn.liked {
        font-size: 40px;
        display: inline-block;

        transform-origin: bottom center;
        color: orangered;
      }
      
      @keyframes wave {
        0%, 100% {
          transform: rotate(0deg);
        }
        25% {
          transform: rotate(15deg);
        }
        75% {
          transform: rotate(-15deg);
        }
      }



            
      @media screen and (max-width: 500px) {
  
        .following_foryou{
          left:0px;
          position:fixed;
          top:0px;
          height: 45px;
          padding: ;
          border-radius: 0px;
          padding: 0px;
          width: auto;
          
          }


 

          
      }





          @media screen and (max-width: 400px) {
  
        .following_foryou{
          left:0px;
          position:fixed;
          top:0px;
          height: 45px;
          padding: ;
          border-radius: 0px;
          padding: 0px;
          width: 445px;
          
          }


      .left-content{
      display: none;
      }

          
      }







      
      @media screen and (max-width: 370px) {
  
              .left-content{
      display: none;
      }
        .following_foryou{
          left:0px;
          position:fixed;
          top:0px;
          height: 45px;
          padding: ;
          border-radius: 0px;
          padding: 0px;
          width: 370px;
          
          }


 

          
      }



      @media screen and (max-width: 350px) {
.image-container  VIDEO {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* For Firefox */
  scrollbar-color: #888 #ccc; /* For Firefox */
  width: 100%; /* Adjust container width */
  -ms-overflow-style:	none;
}	.image-container-post::-webkit-scrollbar {
display:none;

}

     .image-container-post VIDEO {
        width: 18.5rem;
        height: 300px;
       margin-bottom:px;
        border-radius: 8px;
      object-fit:contain;

      border: 0.5px solid rgb(172, 171, 171);
      background: #111;
    
      }
        
        .top-icon{
          display:block;
          margin-top:0px;
        }  
        
        .username {
          margin: 0;
          font-size: 16px;
          font-weight: 600;
          text-transform:capitalize;width:17ch;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
          
          }
          .insta-actions {
            margin-left: 0px;
          
            
          }

                  .following_foryou{
          left:0px;
          position:fixed;
          top:0px;
          height: 45px;
          padding: ;
          border-radius: 0px;
          padding: 0px;
          width: auto;
          
          }


          .following_foryou a.disabled{
            font-size: 14px;
              border-bottom: 5px  solid #8B53FF;
              border-bottom-right-radius: 5px;
              border-bottom-left-radius: 5px;
            
              font-weight: bold;
              font-family: sans-serif;
              }
            
              .following_foryou a.nav-link{
                font-size: 13px;
                  color:rgb(184, 181, 181);
                  font-weight: bold;
                  font-family: sans-serif;
                  }

 .following_foryou .nav-link{
  margin-left: 0px;
  margin-right: 0px;
    }

     .following_foryou a.disabled{
  margin-left: 0px;
  margin-right: 0px;
    }
    
 
          
      }   

      * {
                  margin: 0;
                  padding: 0;
                  box-sizing: border-box;
                  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
              }
      
              .contain {
                 
                  margin: 0 auto;
                  display:initial;
              
      
      
      
              }
      
      
      
              
      
              h2 {
                  font-size: 24px;
                  font-weight: 600;
                  margin-bottom: 20px;
                  color: #333;
              }
      
              .profiles-container {
           
                  display: flex;
                  overflow-x: auto;
                  gap: 2px;
                 
                  scroll-snap-type: x mandatory;
                  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
                  scrollbar-width: thin; /* For Firefox */
                  scrollbar-color: #888 #ccc; /* For Firefox */
              }
      
              
              .profiles-container::-webkit-scrollbar {
        height: 10px;
      }
      
      .profiles-container::-webkit-scrollbar-track {
        background: #f1f1f1;
      }
      
      .profiles-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
      }
      
      
              .profile-card {
                  background: #fff;
                  border-radius: px;
                  padding: 16px;
                  border: 0.5px solid rgb(172, 171, 171);
                  text-align: center;
                  transition: transform 0.2s;
                  height:230px;
                  width:150px;
                  scroll-snap-align: start;
              border-radius:10px;
              margin-top: 5px;
         
            }
      
              .profile-card:hover {
                  /*transform: translateY(-5px);*/
              }
      
              .profile-pic {
                  width: 60px;
                  height: 60px;
                  border-radius: 50%;
                  object-fit: cover;
                  margin-bottom: 2px;
                  
              }
      
              .username1 {
                  font-size: 16px;
                  font-weight: 600;
                  color: #333;
                  margin-bottom: 4px;
                  font-weight: 600;
              }
      
              .name {
                  font-size: 14px;
                  color: #464545;
                  margin-bottom: 5px;
                  font-weight: 600;

              }
      
              .bio {
                  font-size: 13px;
                  color: #888;
                  margin-bottom: 12px;
                  line-height: 1.4;
              }
      
              .follow-btn {
                  background: #8B53FF;
                  color: #fff;
                  border: none;
                  border-radius: 8px;
                  padding: 8px 16px;
                  font-size: 14px;
                  font-weight: 600;
                  cursor: pointer;
                  transition: background 0.2s;
                  width: 100%;
              }
      
              .follow-btn:hover {
                  background: #3578e5;
              }
      
              /* Responsive adjustments */
              @media (max-width: 600px) {
                  .profile-card {
                    height:210px;
                    width:150px;
                      padding: 16px;
                    
                  }
      
            .left-content{
      display: none;
      }
      
                  .profile-pic {
                      width: 65px;
                      height: 65px;
                  }
      
                  h2 {
                      font-size: 20px;
                  }
      
                  .USERNAME1
                  {
                     display:NONE;
                  }
      
                  .profiles-container {
                      gap: 2px;
           
                      margin-bottom:2px;
                      scrollbar-width: none; /* For Firefox */
        scrollbar-color: #888 #ccc; /* For Firefox */
        width: 100%; /* Adjust container width */
        -ms-overflow-style:	none;
                  }
      
      
                  .profiles-container::-webkit-scrollbar {
      display:none;
      
      }

 
              }




























              /**AAAAAAAAAAAA_nav bar*/









               * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
    }

    .navbar1 {
     
      align-items: center;
      justify-content: space-between;

      background-color: #ffffff;
      border-bottom: 1px solid #ddd;
      position: fixed;
      width: 100%;
      padding-bottom: 0px;
    }

    .search-bar {
      flex: 1;
      max-width: 250px;
    }

    .search-bar svg {
padding-bottom: 0px;
    }

    .nav-center {
      flex: 2;
      display: flex;
      justify-content: center;
      gap: 30px;
      padding-bottom: 0px;
    }

    .nav-center a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      padding: 6px 10px;
      padding-bottom: 10px;
      transition: background 0.2s;
      font-weight: 700;
      font-size: 16px;
    }

        .nav-center .nav-link {
          color:#858585;
    }


      .nav-center .alive {
         border-bottom: 3px  solid black;
     text-decoration: none   ;

          
    }

.nav-center .alive:hover{
          border-bottom: 3px  solid black;
     text-decoration: none   ;
     
          
    }


    .suggest-phone{
      display: none;
      }

    /* Mobile view */
    @media (max-width: 768px) {

    .nav-center a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      padding: 6px 10px;
      padding-bottom: 10px;
      transition: background 0.2s;

            font-weight: 500;
      font-size: 16px;
      text-decoration: none;
    }



      .navbar1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        position: relative;
      }.suggest-phone{
      display: block;
      }

      .left-content {
      display: none;
      color: transparent;
      }

      .feed-content{
      left: 0px;
      }

      
      .nav-center {
        justify-content: flex-start;
      }
      .search-bar {
        width: 100%;
        max-width: none;
        align-content: center;
justify-content: center;
align-self: center;
      }
    }


        @media (max-width: 350px) {
        .nav-center a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      padding: 6px 2px;
      border-radius: 6px;
      transition: background 0.2s;
    }

    
      }
              
.toastpost {
  position: fixed;
  top: 0px;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 9999;
}
  .emoji-container {
    display: flex;
    gap: 10px;overflow:auto;
    padding: 5px;
    border-top: 0.5px solid #ddd;
    font-size: 24px;
    cursor: pointer;
  }

  .emoji-container span:hover {
    transform: scale(1.2);
  }

.emoji-container span {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.toastpost.show {
  opacity: 1;
  transform: translateY(0);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}

body.modal-open {
  overflow: hidden;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}#imageModal #modaltext {
  color: #fff;
  font-size: 16px;width:90%; font-size:14px;
  max-width: 100%;height:120px; overflow:auto;
  margin: 15px auto; bottom: 30px;
  text-align: left; position: absolute;
}#imageforModal #modalfortext {
  color: #fff;
  font-size: 16px;width:90%; font-size:14px;
  max-width: 100%;height:120px; overflow:auto;
  margin: 15px auto; bottom: 30px;
  text-align: left; position: absolute;
}/* Comment Form */
.comment-form {
  display: flex;
  flex: 1;
  gap: 10px;
}.comment-input {
  flex: 1;
  padding: 10px;
  border: 0.5px solid #ddd;
  border-radius: 20px;
  font-size: 16px;
  outline: none;m



}
