/* General Layout */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Open Sans",sans-serif
}
body {
    background:#f5f5f5;
    color:#333
}
.homepage_contentsec{
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.social-layout {
    display:flex;
    gap:20px;
    max-width:1200px;
    margin:0px auto 20px auto;
}

/* Profile Card */
.profile-card {
    width: 40%;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    height: max-content;
    z-index: 1000; /* Ensure it stays above background content */
}

.cover-photo img {
    width:100%;
    height:100px;
    object-fit:cover;
              object-position:top;
}
.profile-img {
    width:75px;
    height:75px;
    border-radius:50%;
    margin-top:-45px;
    border:3px solid #fff;
    object-fit: cover;
    object-position: top;
}
.profile-info h2 {
    margin:10px 0 5px;
color: #000;
text-align: center;
font-family: "Open Sans";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.profile-info p {
    color: #898989;
text-align: center;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-top: 4px;
}

.stats {
    display:flex;
    justify-content:space-around;
    margin:35px 0 45px 0;
    font-size:14px
}
.stats div{
color: #969696;
text-align: center;
font-family: "Open Sans";
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;}
.stats div strong {
    color: #303841;
text-align: center;
font-family: "Open Sans";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.follow-btndiv {
    display:flex;
    align-items:center;
    justify-content:center
}
.follow-btn {
    color:#fff;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
    display:flex;
    width:288px;
    padding:12px 10px;
    justify-content:center;
    align-items:center;
    background:#0086AB;
    border:none
}
.follow-btn:hover {
    background:#0091e6
}

/* Posts */
.posts {
    padding: 0 20px 20px 0px;
    width: 100%;
   
}
.post {
    background:#fff;
    margin-bottom:20px;
    border-radius:0px;
    padding:15px;
}
.post-header {
    display:flex;
    justify-content:space-between;
    align-items:center
}
.header-left {
    display:flex;
    align-items:center;
    gap:10px
}
.post-header img {
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
    object-position: top;
}
.post p {
    margin:15px 0;
    font-size:14px;
    color:#000;
    line-height:22px
}
.tag {
    color:#0086AB;
    font-weight:700;
    opacity:0.75
}
.post-img {
    width:100%;
    border-radius:0;
    margin:18px 0;
    height:292px;
    object-fit: cover;
}

.post-video {
    margin:15px 0;
    padding-top: 5px;
    object-fit: cover;
}
.svgdeleteimage{
position: absolute;
top: 20px;
right: 20px;
display: flex;
gap: 20px;
}

/* Force big play button after replay */
.video-js.vjs-paused .vjs-big-play-button {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}


/* ===============================
   Lazy Image Skeleton Loader
================================ */

.lazy-skeleton-img {
  width: 100%;
  min-height: 280px;
  background: linear-gradient(100deg,
      #f0f2f5 40%,
      #e4e6eb 50%,
      #f0f2f5 60%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
  border-radius: 8px;
  object-fit: cover;
}

/* Remove skeleton when image loads */
.lazy-skeleton-img[src] {
  background: none;
  animation: none;
}

/* Optional fade-in */
.lazy-skeleton-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-skeleton-img[src] {
  opacity: 1;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}
.video-js .vjs-poster {
  /* filter: blur(10px); */
  transition: filter 0.3s ease;
}

.video-js.vjs-has-started .vjs-poster {
  filter: blur(0);
}

.postimagebox{
    position: relative;
}
.post-actions {
    display:flex;
    gap:20px;
    font-size:14px;
    margin-top:21px;
    color:#555;
    align-items:center;
}
.post-actions i {
    margin-right:6px;
    color:#e74c3c
}
.post-actions span {
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:4px
}
.post {
    padding:22px !important;
    position: relative;
}
.post-header h3 {
    margin:0;
    color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.post-header span {
    color:#898989;
    font-size:10px;
    font-weight:400
}
.create-post-header img {
    width: 56px;
    height: 49px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.loading-message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-size: 14px;
  color: #555;
}
.vjs-poster img {
  /* This ensures the image takes up 100% of the parent's width and height */
  width: 100% !important;
  height: 100% ;
  
  /* This tells the browser to scale the image to cover the entire area. 
     It may crop the edges, but will not stretch the image. */
  object-fit: cover !important;
}

/* Optional: Ensure the poster container itself is positioned correctly */
.vjs-poster {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;  /* Assuming the video player is the relative container */
  top: 0 !important;
  left: 0 !important;
}

#cropButtons
{
   margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-top-color: #3498db;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}
.read-more-btn {
    color: #007bff;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.post-text {
    margin-bottom: 10px;
}


.videoDisplay {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    position: relative;
}

.videoDisplay video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #000;              /* prevents white flash */
    object-fit: contain;            /* no crop */
}
.videoDisplay {
    aspect-ratio: 16 / 9;
}

.videoDisplay video {
    height: 100%;
}

#videoDurationDisplay {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
}


.videoDisplay video::-webkit-media-controls {
    display: flex !important;
}

.post-description {
  display: block;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.6;
}

.truncated-content {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.full-content {
  display: none;
  overflow: visible !important;
  white-space: normal !important;
}

.read-more-btn {
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.read-more-btn:hover {
  text-decoration: underline;
}


.sharepost_share span {
    /* font-size: 14px !important;
    font-weight: 400 !important;
    color: #000 !important;
    line-height: 22px !important; */
}

.time_ago
{
   color:#898989;
    font-size:10px;
    font-weight:400
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.videoloader {
  width: 40px;
  height: 40px;
  margin: 50px auto;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.loading-video .video-js,
.loading-video .video-js .vjs-tech,
.loading-video .video-js .vjs-poster,
.loading-video .video-js .vjs-loading-spinner,
.loading-video video {
    background-color: transparent !important;
}

video.video-js.vjs-has-started,
video.video-js.vjs-paused,
video.video-js.vjs-playing {
    background-color: transparent !important;
}

video.video-js {
    background-color: transparent !important; /* no initial black */
}
.video-js {
    background-color: transparent !important; /* no initial black */
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Create Post */
.create-post-header {
    display:flex;
    align-items:center;
    gap:10px
}
.createsvginput {
    position:relative;
    width:100%
}
.createsvginput svg {
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer
}
.create-input {
    flex:1;
    width:100%;
    height:43px;
    padding:11px 15px;
    border:1px solid transparent;
    border-radius:0;
    background:#F8F8F8;
    color:#A9A9A9;
    font-size:12px
}


  .tab-bar {
      display: flex;
      border-bottom: 0px solid #ccc;
      margin-top: 10px;
      padding-left: 0px; /* aligns with profile image */
      flex-wrap: wrap;
   }
 .tab-content {
      padding: 10px 50px;
   }

   .tab-section {
      display: none;
   }

   .tab-section.show {
      display: block;
   }
   .tab-bar .tab {
      margin-right: 20px;
      padding-bottom: 8px;
      color: #000;

font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease;
      cursor: pointer;
   }

   .tab-bar .tab.active {
      color: #0086AB;
   }
/* Buttons */
.post-btn {
    background:#0086AB;
    color:#fff;
    padding:10px 18px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-weight:600
}
.post-btn:hover {
    background:#007399
}

/* Dropdown */
.dropdown {
    position:relative
}
.dropdown-toggle {
    cursor:pointer;
    color:#555
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: -132px;
    top: 31px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    list-style: none;
    padding: 5px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.dropdown-menu li {
    padding:8px 15px;
    cursor:pointer;
    font-size:14px
}
.dropdown-menu li:hover {
    background:#f5f5f5
}

/* 🔹 Modal (common background) */
.modalsec .modal {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    backdrop-filter: blur(4px);
    padding: 40px 0;
}
.modalsec .modal-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 0;
    width: 570px;
    max-width: 90%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.25s ease-out;
    position: relative;
    text-align: center;
    margin: auto;
    margin-top: 20px;
}
.modal-content h2 {
    margin:0;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    padding:0;
    text-align:left;
}
.modal-content textarea {
    width:100%;
    height:auto;
    resize:none;
    padding:0;
    border-radius:0;
    border:0px solid #ddd;
    font-size:15px;
}
.upload-section {
    border: 2px dashed #ddd;
    border-radius: 0;
    padding: 30px;
    margin: 15px 0;
    text-align: center;
    color: #777;
    height: 292px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.choosediv1 {
    display:flex;
    justify-content:center;
    align-items:center;
}
.modal-content textarea:focus {
    border-color:#04C3F9
}
.modal-content input[type="file"] {
    margin:12px 0
}
.dragtext {
    color:#5F5F5F;
    font-size:14px;
    font-weight:600;
    margin-top:6px;
}
.btnsty {
    display:flex;
    width:50%;
    padding:12px 10px;
    justify-content:center;
    align-items:center;
    gap:10px;
    background:#0086AB;
    color:#FFF;
    font-size:14px;
    font-weight:600;
    border:none;
    margin-top: 30px;
}
.button-group {
    display: flex;
    width: 100%;
    /* Add a gap between the child items (buttons) */
    gap: 15px; 
}
.choosediv {
    display:flex;
    justify-content:center;
    align-items:center;
}
.ortext {
    color:#AEAEAE;
    font-size:12px;
    font-weight:400;
}
.filetypetext {
    color: #AEAEAE;
text-align: center;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.choosefile {
    color:#0086AB;
    font-size:14px;
    font-weight:600;
    display:flex;
    width:125px;
    padding:12.5px 5px;
    justify-content:center;
    align-items:center;
    gap:10px;
    border-radius:5px;
    border:1px solid #0086AB;
    margin-top:0px;
    margin-bottom: 13px;
    cursor: pointer !important;
}
.modal-content .btn {
    display:inline-block;
    width:100%;
    text-align:center;
    background:linear-gradient(90deg,#04C3F9,#4DD069);
    border:none;
    padding:12px;
    border-radius:0;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    font-size:15px
}
.modal-content .btn:hover {
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(4,195,249,0.4)
}
.close-x, .close-post-btn {
    position:absolute;
    top:14px;
    right:30px;
    font-size:26px;
    cursor:pointer;
}
.close-x:hover, .close-post-btn:hover {
    color:#000
}
.upload-title {
    text-align:left;
    margin-bottom:0px;
    color:#000;
    font-size:14px;
    font-weight:400;
}
.upload-title1 {
    text-align:left;
    margin-bottom:0px;
    color:#000;
    font-size:14px;
    font-weight:400;
    padding: 20px 0 17px 0;
}
.ptext {
    text-align:left;
    margin:14px 0;
}

/* 🔹 Upload Modal Specific (Green theme) */
#uploadModal .modal-content {
    background:#fff;
    border-radius:8px;
    width:480px;
    max-width:95%;
    padding:25px;
    box-shadow:0 6px 20px rgba(0,0,0,0.25);
}
#uploadModal .modal-content h2 {
    font-size:16px;
    font-weight:600;
    border-bottom:1px solid #eee;
    padding-bottom:8px;
    margin-bottom:15px;
}
#uploadModal .btn {
    background:linear-gradient(90deg,#4DD069,#28a745);
}

/* 🔹 Extra Modal 1 (Blue theme) */
#extraModal1 .modal-content {
    background:#f9fafc;
    border-radius:12px;
    border:2px solid #e0e0e0;
    width:600px;
    max-width:92%;
    padding:30px;
    text-align:left;
}
#extraModal1 .modal-content h2 {
    font-size:18px;
    font-weight:700;
    color:#333;
    margin-bottom:20px;
}
#extraModal1 .btn {
    background:linear-gradient(90deg,#0086AB,#00bcd4);
}
.emojionearea .emojionearea-editor
{
  text-align:left !important;
}

/* 🔹 Extra Modal 2 (Orange theme) */
#extraModal2 .modal-content {
    background:#fff7f5;
    border-radius:12px;
    border:2px solid #ffb199;
    width:550px;
    max-width:92%;
    padding:28px;
    text-align:center;
}
#extraModal2 .modal-content h2 {
    font-size:18px;
    font-weight:700;
    color:#FA3C00;
    margin-bottom:18px;
}
#extraModal2 .btn {
    background:linear-gradient(90deg,#FA3C00,#FF6600);
}



/* --------------modal------------ */
/* === Modal Overlay === */
.post-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overscroll-behavior: contain;
}

/* === Modal Box === */
.post-modal {
  background: #fff;
  width: 100%;
  max-width: 650px;
  border-radius: 0;
  font-family: "Open Sans", sans-serif;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
  padding: 30px;
   overscroll-behavior: contain;
}
.post-modal .post-actions {
    display:flex;
    gap:20px;
    font-size:14px;
    margin-top:21px;
    color:#555;
    align-items:flex-start;
    border-bottom: 1px solid #E8E8E8;
        padding-bottom: 20px;
    
}
.post-modal .post-actions i {
    margin-right:6px;
    color:#e74c3c;
}
.post-modal .post-actions span {
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:4px
}
/* Header */
.post-modal .post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  /* border-bottom: 1px solid #eee; */
}
.post-modal .post-profile {display:flex;align-items:center;gap:10px;}
.post-modal .post-profile img {width:42px;height:42px;border-radius:50%;
object-fit:cover;
              object-position:top;}
.post-modal .post-user {display:flex;flex-direction:column;}
.post-modal .username {font-size:14px;font-weight:600;color:#000;}
.post-modal .time {font-size:10px;color:#898989;}

/* Dropdown */
.post-modal .dropdown {position:relative;cursor:pointer;}
.post-modal .dropdown-menu {
  display:none;position:absolute;right:0;top:35px;
  background:#fff;border:1px solid #ddd;border-radius:4px;
  list-style:none;padding:5px 0;min-width:120px;
  box-shadow:0 2px 8px rgba(0,0,0,0.15);z-index:20;
}
.post-modal .dropdown-menu li {padding:8px 12px;font-size:14px;color:#333;cursor:pointer;}
.post-modal .dropdown-menu li:hover {background:#f9f9f9;}
.post-modal .dropdown.open .dropdown-menu {display:block;}

/* Content */
.post-modal .post-content {padding:15px 0px;font-size:14px;line-height:1.5;color:#333;}
.post-modal .post-content a {color:#0086AB;font-weight:600;text-decoration:none;}

/* Media */
.post-modal .post-media {width:100%;max-height:420px;object-fit:cover;}
.post-modal video.post-media {width:100%;height:auto;background:#000;}

/* Actions */

/* Comments */
.post-modal .comments {padding:14px 0px 0 0;}
.post-modal .comments h4 {
    color: #000;
font-family: "Open Sans";
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: normal;
text-transform: capitalize;
margin-bottom:44px;
margin-top:10px;
}

.friends-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  padding: 0;
  margin-left: 6px;

  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;

  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.friends-edit-btn i {
  font-size: 14px;
  color: #0086AB; /* neutral dark gray */
  background-color: #e5e7eb;
}

/* Hover state */
.friends-edit-btn:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

/* Active (click) */
.friends-edit-btn:active {
  background-color: #e5e7eb;
}

/* Focus (keyboard accessibility) */
.friends-edit-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}


.post-modal .comment {
  display:flex;
  margin-bottom:20px;
}
.post-modal .comment img {
  width:34px;height:34px;border-radius:50%;margin-right:10px;
  object-fit:cover;
  object-position:top;
}
.post-modal .comment-body {flex:1;}
.post-modal .comment-header {
  display:flex;align-items:center;gap:8px;
  margin-bottom:4px;
}
.post-modal .comment-header .name {
    color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.post-modal .comment-header .time {
    color: var(--light_theme-Grey, #585C60);
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: -0.42px;
}
.post-modal .comment-body p {
  color: #4A4A4A;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
white-space: normal;
word-break: break-all;
}
.post-modal .comment-actions {
  font-size:12px;color:#555;
  display: flex;
  gap: 10px;
}
.post-modal .comment-actions span {cursor:pointer;color: #6A6A6A;
font-family: "Open Sans";
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;}
.post-modal .comment-actions span:hover {color:#0086AB;}

/* Comment input */
.post-modal .comment-input {
  display:flex;align-items:center;
  border-top:1px solid #eee;
  padding:12px 12px 12px 0px;
}
.post-modal .comment-input input {
  background: var(--light_theme-BG, #F3F2EF);
  display: flex;
padding: 15px 60px 15px 15px;
align-items: flex-start;
flex: 1 0 0;
border-radius: 0;
border: 2px solid #f3f2ef;
color: var(--light_theme-Grey, #585C60);
font-family: "Open Sans";
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: normal;
width: 100%;
}
.post-modal .comment-input button {
  border:none;background:#0086AB;color:#fff;
  padding:8px 12px;margin-left:8px;
  border-radius:50%;cursor:pointer;font-size:14px;
}
.post-modal .send-button{
    display: flex;
padding: 15px;
align-items: center;
justify-content: center;
background: #0086AB;
width: 54px;
height: 54px;
border-radius: 0px !important;
}
.close-btn{
cursor: pointer;
    color: #333;
}
/* === Common Overlay === */
.post-overlay, .share-overlay {
  display:none;
  position:fixed;top:0;left:0;width:100%;height:100%;
  background:rgba(0,0,0,0.6);
  justify-content:center;align-items:center;
  z-index:9999999;
  padding:10px;
  box-sizing:border-box;
}

/* === Share Modal === */

.share-modal .post-profile {display:flex;align-items:center;gap:10px;}
.share-modal .post-profile img {width:42px;height:42px;border-radius:50%;object-fit:cover;
              object-position:top;}
.share-modal .post-user {display:flex;flex-direction:column;}
.share-modal .username {font-size:14px;font-weight:600;color:#000;}
.share-modal .time {font-size:10px;color:#898989;}



.share-modal  {
  background: #fff;
  width: 100%;
  max-width: 650px;
  border-radius: 0;
  font-family: "Open Sans", sans-serif;
  overflow-y: auto;
  max-height: 98vh;
  position: relative;
  padding: 30px;
}
.share-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  padding-bottom:20px;
  border-bottom: 1px solid #E8E8E8;
}
.share-header h3 {
 color: #000;
font-family: "Open Sans";
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: normal;
text-transform: capitalize;
margin: 0;
}
.share-header .close-btn {
  /* font-size:24px; */
  cursor:pointer;
  color:#333;
}
.share-profile {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:15px;
}
.share-profile img {width:42px;height:42px;border-radius:50%;object-fit:cover;
              object-position:top;}
.share-profile .username {color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;}

.share-preview {
   display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 0px;
    margin-bottom: 15px;
    flex-direction: column-reverse;
    align-items: flex-start;
}
.share-preview img {
    /* width: 241.27px;
height: 143.001px; */
flex-shrink: 0;
object-fit:cover;
              object-position:top;
}
.share-preview .share-text {flex:1;}
.share-preview .name {font-weight:600;display:block;margin-bottom:5px;}
.share-preview p {color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px; /* 157.143% */
margin-top: 16px;
}
.share-preview a {opacity: 0.75;
color: #0086AB;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 22px;}

.share-body textarea {
  width:100%;
  height:auto;
  padding:10px;
  border:0px solid #ddd;
  border-radius:6px;
  font-size:14px;
  margin-bottom:15px;
  resize:none;
}
.share-body .share-now {
 display:flex;
    width:50%;
    padding:12px 10px;
    justify-content:center;
    align-items:center;
    gap:10px;
    background:#0086AB;
    color:#FFF;
    font-size:14px;
    font-weight:600;
    border:none;
    margin-top: 30px;
}
.share-now:hover {background:#005bb5;}
.btnsty:hover {background:#005bb5;}
.share-body .share-now:hover {background:#005bb5;}
.emojipicker{
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
}
.emojipicker p{
    font-size: 22px;
}
.edit-profile {
  display: inline-block;
}

.profile-wrapper {
  position: relative;
  display: inline-block;
}

/* Toolbar / icons must not block drag */
.crop-toolbar, .image-tools {
  pointer-events: none;
}
.crop-toolbar button, .image-tools i {
  pointer-events: auto;
  cursor: pointer;
}

/* AreaSelect must be visible */
.area-select-overlay,
.area-select-area,
.area-select-handle {
  z-index: 9999 !important;
}

.edit-modal-content h2 {
  color: #000;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
  margin: 0;
  padding: 0;
}
.like-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.edit-icon {
    position: absolute;
    bottom: 0;
    right: 0px;
    cursor: pointer;
}
/* Modal base */
.edit-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  overflow-y: auto;
}
#crop-icon {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 6px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}


.post-img {
  display: block;
  max-width: 100%;
}

/* ACTIVE (crop selected) */
#crop-icon {
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

#crop-icon.active {
    background: rgba(244, 67, 54, 0.15);
    box-shadow: 0 0 0 2px #F44336;
}

#crop-icon svg {
    stroke: #F44336;
}

#crop-icon.active svg {
    stroke: #F44336;
}

.btn-disabled{
  cursor: not-allowed;
  opacity: 0.8;
   margin-top: 5px;
  width: 100%;
  display: flex;
width: 510px;
padding: 12px 10px;
justify-content: center;
align-items: center;
gap: 10px;
  background-color: #8FB3BF;
color: #FFF;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
border: none;
}

#crop-zone {
  width: 100%;
}

.crop-message {
  margin-top: 10px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;

  background: rgba(0, 134, 171, 0.1);
  color: #006E8C;
  border-radius: 4px;
}
/* Modal Box */
.edit-modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 0px;
  width: 570px;
  max-width: 95%;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 25px 30px;
}
.edit-modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0; /* header bottom border */
}
/* Close button */
.edit-close {
  
  font-weight: bold;
  cursor: pointer;
}



.mediaspinner {
  width: 30px;
  height: 30px;
  border: 4px solid #ddd;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.privacy-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: #fff url('data:image/svg+xml;utf8,<svg fill="black" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.4 6.9a.75.75 0 011.2-.6L10 11.3l4.4-5a.75.75 0 111.2 1l-5 5.2a.75.75 0 01-1.2 0l-5-5.2a.75.75 0 01-.2-.5z"/></svg>') 
              no-repeat right 12px center;
  background-size: 14px;

  border: 1px solid #000;
  border-radius: 0px;   /* small rounding removes “cut” feel */
  padding: 6px 36px 6px 10px;

  font-family: "Open Sans";
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;

  cursor: pointer;
}

.privacy-select:focus {
  outline: none;
  border-color: #999;
}
/* === Privacy Dropdown inside Share Modal Header === */
.share-header .privacy-dropdown {
 
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-header .privacy-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    padding: 6px 12px;
    cursor: pointer;
}

.share-header .privacy-toggle svg {
    width: 14px;
    height: 14px;
}

.share-header .privacy-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    list-style: none;
    padding: 5px 0;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.share-header .privacy-menu li {
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.share-header .privacy-menu li:hover {
    background: #f5f5f5;
}

.share-header .privacy-dropdown.open .privacy-menu {
    display: block;
}

/* Modal body */
/* .edit-modal-body {
  padding: 20px;
} */

/* Form Styling */
.edit-modal-body label {
  display: block;
  margin: 0 0 10px;
  color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.edit-modal-body input,
.edit-modal-body textarea {
  width: 100%;
  padding: 10px 12px;
border: 1px solid #ABB1B8;
  border-radius: 5px;
  margin-bottom: 15px;
  font-family: "Open Sans", sans-serif;
  color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.edit-modal-body textarea {
  resize: none;
  height: 100px;
}

/* Save button */
.save-btn {
  margin-top: 5px;
  width: 100%;
  display: flex;
width: 510px;
padding: 12px 10px;
justify-content: center;
align-items: center;
gap: 10px;
background: #0086AB;
color: #FFF;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
border: none;
}
.save-btn:hover {
  background: #007a89;
}

/* Profile Image Section */
.profile-pic-section {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

#profilePic{
  display: none;
}
.profile-img-lg {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  object-fit: cover;
}
.edit-icon-sm {
    position: absolute;
    bottom: 6px;
    right: calc(50% - 70px);
    padding: 5px;
    cursor: pointer;
}
/* CSS */
.followers-section {
  background: #fff;
  /* padding: 30px; */
  font-family: "Open Sans", sans-serif;
  max-width: 708px;
  width: 100%;
  border-radius: 8px;
  margin: 0 auto; /* keep centered on large screens */
}

.followers-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}


 .searchcontainer {
    text-align: right;
    margin-bottom: 25px;
  }

  .searchbox {
    position: relative;
    display: inline-block;
  }

  #searchInput {
    width: 80%;
    max-width: 400px;
    padding: 10px 36px 10px 14px; /* space for ✕ */
    background: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
    transition: box-shadow 0.2s ease;
  }

  #searchInput:focus {
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  }

  .followsearchInput {
    width: 80%;
    max-width: 400px;
    padding: 10px 36px 10px 14px; /* space for ✕ */
    background: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
    transition: box-shadow 0.2s ease;
  }

  .followsearchInput:focus {
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  }

  .clearBtn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    display: none;
    user-select: none;
    z-index: 2; /* ensures it’s above input */
    transition: color 0.2s ease;
  }

  .clearBtn:hover {
    color: #ff7f50;
  }

.non-followers-section {
  background: #fff;
   font-family: "Open Sans", sans-serif;
  max-width: 708px;
  width: 100%;
  border-radius: 8px;
  margin: 0 auto; /* keep centered on large screens */
}
.crop-action-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-items: center;
}

.crop-action-buttons {
  display: flex;
  gap: 10px;
}

.icon-btn {
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  margin-top: 0;
}

.icon-btn:hover {
  background: #0086ab;
  color: #fff;
  transform: scale(1.05);
}

.icon-btn:active {
  transform: scale(0.95);
}

.no-record {
  text-align: center;
  color: #666;
  padding: 18px 0;
  font-size: 16px;
  font-style: italic;
   border-radius: 4px;
  margin: 10px 0;
}

.non-followers-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.back-btn {
  background: none;
  border: none;
  color: #000;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: flex;
  height: 43px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  background: #FFF;
}

.followers-content {
  display: flex;
  flex-direction: column; /* Change from 'row' to 'column' */
  gap: 26px;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 750px;
}

.followers-header h2 {
  color: #161D25;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.followers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.follower-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap; /* helps on smaller screens */
  gap: 10px;
}

.follower-item img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit:cover;
              object-position:top;
  margin-right: 12px;
}

.follower-name {
  flex: 1;
  color: #000;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  min-width: 120px;
}

.unfollow-btn {
  display: flex;
  width: 100px;
  height: 28px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border: 1px solid #000;
  background: #FFF;
  color: #000;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  transition: background 0.2s ease, color 0.2s ease;
}

.unfollow-btn:hover {
  background: #333;
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .followers-section {
    padding: 20px;
  }

  .followers-header h2 {
    font-size: 18px;
  }

  .unfollow-btn {
    width: 90px;
    font-size: 13px;
  }
  .followers-content {
    flex-direction: column;
    gap: 10px;
    margin: 15px;
  }
  .follower-item {
   align-items: center;
  }
}


.shared-post-content {
  border: 1px solid #0086ab;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  margin: 12px 0;
  box-shadow: 0 0 0 1px #f0f2f5;
}

.shared-post-content p {
 
  margin: 0 !important;
}


.avatarimg {
    width:50px;
    height:50px;
    border-radius:50%
}

@media (max-width: 480px) {
  .followers-section {
    padding: 15px;
  }

  .follower-item {
    flex-direction: column;
    align-items: center;
  }

  .follower-name {
    margin-top: 5px;
  }

  .unfollow-btn {
    width: 100%;
    height: auto;
    padding: 8px;
    font-size: 13px;
  }
}




/* === Responsive === */
@media (max-width:600px) {
  .post-modal, .share-modal {max-width:100%;padding:15px;}
  .share-preview {flex-direction:column;align-items:flex-start;}
  .share-preview img {width:100%;height:auto;object-fit:cover;
              object-position:top;}
}

@media screen and (max-width:768px) {
     .edit-close {
        font-weight: bold;
        cursor: pointer;
        position: absolute;
        top: -45px;
        background: #fff;
        border-radius: 50%;
        height: 50px;
        width: 50px;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        right: -40px;
    }
}

/* Animation */
@keyframes modalFadeIn {
    from {
        opacity:0;
        transform:translateY(-20px)
    }
    to {
        opacity:1;
        transform:translateY(0)
    }
}

/* Responsive */
@media(max-width:768px) {
    .social-layout {
        flex-direction:column;
        align-items:center
    }
    .profile-card {
        width:100%
    }
    .posts {
        width:100%;
        padding:0 !important;
    }
    #extraModal1 .modal-content,
    #extraModal2 .modal-content {
        width:95%;
        padding:20px;
    }
}

.friends-popup-wrapper { position: relative; position: relative;
    display: flex;
    align-items: center;
    gap: 16px;}

html.modal-open,
body.modal-open {
  overflow: hidden;
  height: 100%;
}
.modal-backdrop,
.overlay,
.editor-overlay {
  display: none !important;
}
.friends-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;               /* IMPORTANT */
  justify-content: center;
  align-items: center;
  z-index: 1200;
  padding: 20px;
}

.friends-popup-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid #eee;
  padding: 20px;
}

.friends-popup {
  width: 430px;
  max-width: calc(100% - 40px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;           /* Prevents body overflow */
}
.friends-body {
    flex: 1;
    overflow-y: auto;
   min-height: 27vh !important;
}

.friendshead {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

    .friends-popup-header .left {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .friends-back {
      background: none;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: #222831;
      padding: 4px;
    }
    .friends-title {
      color: #000;
font-family: "Open Sans";
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: normal;
text-transform: capitalize;
    }
    .friends-close {
      background: none;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: #9aa4a8;
    }

    /* body (scroll area) */
    /* .friends-body {
      overflow-y: auto;
      padding: 20px 0;
      height: 80vh !important;
    } */

    /* Each friend row */
    .friends-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 18px;
      gap: 12px;
      border-bottom: 1px solid #eef3f5; /* bottom border as design */
    }
    .friends-item:last-child { border-bottom: 1px solid #eef3f5; }

    .friends-info {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
    .friends-info img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit:cover;
              object-position:top;
      flex-shrink: 0;
    }
    .friends-name {
      color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
    }
    .friends-sub { font-size: 13px; color: #6b7280; }

    /* custom checkbox - matches design: small rounded square with green when selected */
    .checkbox-wrap {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      width: 28px;
      height: 28px;
    }
    .checkbox-wrap input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      width: 100%;
      height: 100%;
      margin: 0;
      cursor: pointer;
      z-index: 2;
    }
    .custom-checkbox {
      width: 22px;
      height: 22px;
      border-radius: 4px;
      border: 1px solid #0086ab;
      background: #ffffff;
      display: inline-block;
      position: relative;
      transition: all .12s ease;
      box-sizing: border-box;
    }

    /* checked state */
    .checkbox-wrap input[type="checkbox"]:checked + .custom-checkbox {
      background: #0086ab; /* teal/green fill */
      border-color: #0086ab;
    }
    .checkbox-wrap input[type="checkbox"]:checked + .custom-checkbox::after {
      content: "";
      position: absolute;
      left: 6px;
      top: 3px;
      width: 6px;
      height: 12px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }

    /* hover */
    .checkbox-wrap input[type="checkbox"]:hover + .custom-checkbox {
      border-color: #9fcfc6;
    }

    /* row selected style (adds subtle emphasis to text) */
    .friends-item.selected .friends-name {
      color: #000; /* slightly teal */
      font-weight: 600;
    }

    /* selected tags area (chips) */
    .friends-tags {
      display: flex !important;
      flex-wrap: wrap;
      gap: 10px;
      padding: 20px 15px;
      /* border-bottom: 1px solid #eef3f5; */
      background: #fff;
    }

    .friends-tag {
     display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 0;
    border: 1px solid #0086AB;
   color: #0086AB;
font-family: "Open Sans";
font-size: 13px;
font-style: normal;
font-weight: 600;
line-height: normal;
    background: #EEFBFF;
    }

    .friends-tag .tag-close {
      display: inline-grid;
      place-items: center;
      width: 18px;
      height: 18px;
      border-radius: 4px;
      background: transparent;
      color: #0086AB;
      font-size: 13px;
      line-height: 1;
      cursor: pointer;
      border: none;
      font-weight: 600;

    }

    /* footer */
    .friends-footer {
      padding: 20px 15px;
      background: #fff;
    }

    .friends-next-btn {
     display: flex;
height: 43px;
padding: 10px;
justify-content: center;
align-items: center;
gap: 10px;
align-self: stretch;
background: #0086AB;
width: 100%;
border: none;
color: #FFF;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
    }
    
    .friendshead{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}
    .friends-next-btn:active { transform: translateY(1px); }

    .responsive-gallery {
      padding: 0px;
     
    }

    .responsive-gallery .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .responsive-gallery .card {
      position: relative;
      background: #fff;
      border-radius: 0px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
       min-height: 300px !important;
       max-height: 300px;
    }

    .responsive-gallery .card img {
        width: 100%;
        height: 213px;
        object-fit: cover;
        object-position: top;
        display: block;
        margin: 0 !important;
        min-height: 300px !important;
        max-height: 300px;
    }

    /* 3-dot button */
    .responsive-gallery .menu-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 20px;
    }

    /* Dropdown */
    .responsive-gallery .dropdown {
      position: absolute;
      top: 40px;
      right: 10px;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 6px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      display: none;
      z-index: 10;
    }

    .responsive-gallery .dropdown a {
      display: block;
      padding: 10px 15px;
      font-size: 14px;
      color: #333;
      text-decoration: none;
    }

    .responsive-gallery .dropdown a:hover {
      background: #f0f0f0;
    }

    /* Show dropdown */
    .responsive-gallery .card.active .dropdown {
      display: block;
    }


     main.video-gallery {
    padding: 0px;
  }

  .video-gallery .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .video-gallery .video-card {
    position: relative;
    background: #000;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 300px;
    max-height: 300px;
  }
.videoaaddbtn{
  position: relative;
}
 .videoaaddbtn img{
    width: 25%;
    margin-bottom: 20px;
}
.videoaaddbtn{
  display: flex;
    justify-content: flex-end;
}

  .video-gallery .video-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit:cover;
    object-position:top;
    margin: 0px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }

  /* Play button */
  .video-gallery .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   width: 36px;
   height: 36px;
   display: flex;
   align-items: center;
   justify-content: center;
  background: rgba(255, 255, 255, 0.95);    border-radius: 50%;
  }

  /* Duration */
  .video-gallery .duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 0px;
  }

  /* 3-dot button */
  .video-gallery .menu-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  }

  /* Dropdown */
  .video-gallery .dropdown {
    position: absolute;
    top: 40px;
    right: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 10;
  }

  .video-gallery .dropdown a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
  }

  .video-gallery .dropdown a:hover {
    background: #f0f0f0;
  }

  .video-gallery .video-card.active .dropdown {
    display: block;
  }
    /* small screen adjustments */
    @media (max-width: 480px) {
      .friends-popup { width: 100%; max-width: 100%; border-radius: 6px; }
      .friends-info img { width: 36px; height: 36px;object-fit:cover;
              object-position:top; }
      .friends-item { padding: 10px 14px; }
      .friends-popup-header { padding: 10px 14px; }
      .friends-tags { padding: 10px 14px; gap: 8px; }
    }



    /* meta section */
.post .post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

/* visibility icon */
.post .post-visibility {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* actions */
.post .post-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 14px;
}

.post .post-action {
  position: relative;
  cursor: pointer;
}

/* popovers */
.post .post-popover {
  position: absolute;
  bottom: 120%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
}

.post .post-action:hover .post-popover,
.post .post-visibility:hover .post-popover {
  display: block;
}

/* likes list */
.post .post-popover ul {
  margin: 6px 0;
  padding: 0;
  list-style: none;
}

.post .post-popover ul li {
  font-size: 12px;
}

/* Likes popovers */
post-actions { overflow: visible; }

.like-wrapper {
  position: relative;                   /* REQUIRED for absolute child */
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* popover */
.post-like-popover {
 position: absolute;
    bottom: 120%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
}



/* small arrow */
.post-like-popover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 -1px 0 rgba(0,0,0,0.06));
}

/* show on hover or when focused (keyboard accessible) */
.like-wrapper:hover > .post-like-popover,
.like-wrapper:focus-within > .post-like-popover {
  display: block !important;            /* use !important only for debugging/override */
  visibility: visible;
  opacity: 1;
}

/* optional: make it keyboard accessible */
.like-wrapper:focus { outline: none; }
.like-btn path {
  fill: white;
  stroke: #161D25;
}

.like-btn.liked path {
  fill: #FF0000;
  stroke: none;
}

.post-like-popover ul li {
  padding: 2px 0;
  font-size: 13px;
}

.followers-tab {

  padding-right: 5px;
}
.charcountdiv{
  position: relative;
    width: 100%;

}
.char-count{
  position: absolute;
  right: 10px;
  top: 54px;
}
.charcountdiv .emojionearea.emojionearea-inline{
      height: 52px !important;
}

.follower-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
  border-bottom: 1px solid #eee;
}

.follower-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.modalsec {
overflow-y:scroll !important;
}

.no-content {
   justify-content:space-between;
   text-align:center;
}
/* responsive */
@media (max-width: 600px) {
  .post .post-actions {
    gap: 12px;
    font-size: 12px;
  }
  .post .post-popover {
    font-size: 11px;
    padding: 6px 8px;
  }
}





.profilepost.post { position: relative; padding: 12px 16px !important; background:#fff;
    display:flex; align-items:center; justify-content:space-between; gap:12px; }

  .profilepost .name { font-size:14px; font-weight:600; color:#222; white-space:nowrap; }
  .profilepost .caret { width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:7px solid #666;margin-left:6px;transition:transform .15s ease; }

  .profilepost .profile-dropdown {
    position:absolute; right:0; top:calc(100% + 8px); min-width:220px; background:#fff; border-radius:8px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08); padding:6px; display:none; z-index:60;
  }
  .profilepost .profile-dropdown.open { display:block; animation:pop .12s ease; }
  @keyframes pop { from{transform:translateY(-6px) scale(.98);opacity:0} to{transform:translateY(0) scale(1);opacity:1} }

  .profilepost .profile-dropdown a {
    display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:6px; text-decoration:none; color:#222; font-size:14px;
  }
  .profilepost .profile-dropdown a:hover { background: rgba(0,0,0,0.04); }

  /* svg icon size container */
  .profilepost .profile-dropdown .icon {
    width:18px; height:18px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
  }
  /* make inline svgs inherit text color if they use currentColor */
  .profilepost .profile-dropdown svg { width:100%; height:100%; display:block; }

  .profilepost .profile-menu.open .caret { transform:rotate(180deg); }

  @media (max-width:420px){ .profilepost .name { display:none; } }

  .profilepost .profile-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.profilepost .avatar-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
}

.profilepost .avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* Hide by default */
 .active-status {
  display: none;
}

/* Show only for profilepost */
.profilepost .active-status {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #4CAF50;
  border: 2px solid white;
  border-radius: 50%;
}
#profilePic{
  visibility: hidden;
}

.sharepost_share{
   border: 1px solid #E8E8E8; 
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  margin: 12px 0;
  box-shadow: 0 0 0 1px #f0f2f5;
}

.sharepost_share h3 {
    margin:0;
    color: #000;
font-family: "Open Sans";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.sharepost_share span {
   
}

.time_ago
{
   color:#898989;
    font-size:10px;
    font-weight:400
}

.video_card_view{
  cursor: pointer;
}
.likecount_sh{
  display:none;
}
.like-btn{
 color: #0086AB !important;
}
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 8px;
}

.load-more-comments,.load-more-comments_at_media {
  background: none;
  border: none;
  color: #0095f6; /* Instagram blue */
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
  padding: 6px 12px;
}

.load-more-comments:hover {
  color: #0077cc;
}

.load-more-comments:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.post-overlay-fade{
    color: white;
    text-align: center;
    background: none;
}
.no-media{
margin-top: 20px;
}