

#mobile-reply-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 90vh;
    background-color: white;
    z-index: 99999999;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    transition: bottom 0.3s ease-in-out;
    overflow-y: auto;
    padding-bottom: 20px;
}
.mobile-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}
.mobile-reply-header span {
    font-size: 18px;
    font-weight: bold;
}
.close-mobile-reply {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
#mobile-reply-content {
    padding: 16px;
}
body.mobile-reply-open {
    overflow: hidden;
}
.deleted-post-container {
text-align: center;
padding: 40px 20px;
/* background: #f8f9fa; */
border-radius: 8px;
margin: 20px 0;
}

.deleted-post-message {
color: #6c757d;
}

.deleted-post-message i {
font-size: 2.5rem;
margin-bottom: 1rem;
}

.deleted-post-message h2 {
margin-bottom: 0.5rem;
font-weight: 500;
}

.deleted-post-message p {
margin: 0;
font-size: 0.95rem;
}
.continue-thread {
padding: 8px 0 8px 20px;
margin-left: 20px;
border-left: 2px solid #EDEFF1;
}

.continue-link {
color: #0079D3;
text-decoration: none;
font-size: 14px;
}

.continue-link:hover {
text-decoration: underline;
}
.comment-time{
display: inline-block;
white-space: nowrap;
}
.comments-section {
/* max-width: 800px; */
margin: 0 auto;
}

.comment {
display: flex;
padding: 12px;
margin: 8px 0;
border-radius: 4px;
background: #fff;
flex-direction: column;
}

.comment-votes {
display: flex;
flex-direction: column;
align-items: center;
margin-right: 12px;
min-width: 40px;
}

.vote-btn {
background: none;
border: none;
cursor: pointer;
color: #878A8C;
padding: 0;
}

.vote-btn.voted {
color: #FF4500;
}

.vote-count {
margin: 4px 0;
font-size: 12px;
font-weight: bold;
}

.comment-content {
flex: 1;
}

.comment-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 4px;
font-size: 14px;
color: #878A8C;
}

.comment-author {
color: #1A1A1B;
font-weight: bold;
margin-right: 8px;
}

.comment-text {
margin-bottom: 8px;
line-height: 1.5;
}

.comment-actions {
margin-top: 4px;
}

.action-btn {
background: none;
border: none;
color: #878A8C;
font-size: 14px;
cursor: pointer;
padding: 4px 8px;
display: inline-flex;
align-items: center;
gap: 4px;
}

.action-btn:hover {
background: #F6F7F8;
border-radius: 4px;
}

.nested-comments .comment {
padding-right: 0px;
}
.nested-comments {
margin-left: 5px;
padding-left: 5px;
border-left: 2px solid #EDEFF1;
}

.reply-form {
margin: 8px 0;
}

.reply-textarea {
width: 100%;
min-height: 100px;
margin-bottom: 8px;
padding: 8px;
border: 1px solid #EDEFF1;
border-radius: 4px;
resize: vertical;
}

.reply-controls {
display: flex;
gap: 8px;
justify-content: flex-end;
}

.reply-controls button {
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
}

.cancel-btn {
background: none;
border: 1px solid #878A8C;
color: #878A8C;
}

.submit-btn {
background: #0079D3;
border: none;
color: white;
}


[id*="post-body"] .dropdown-menu {
min-width: 200px !important;

}
[class*="post-form"] {
background: white;
/* border-radius: 8px; */
/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
padding: 12px 12px 12px 12px;
margin-bottom: 10px;
/* margin-top:10px; */
}

.post-header {
display: flex;
margin-bottom: 16px;
margin-top: 16px;
}

.avatar {
  object-fit: cover;
width: 40px;
height: 40px;
border-radius: 50%;
/* margin-right: 12px; */
}
.actions-container{
  margin-right: 10px;
}
.admin-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.admin-switch .switch-text {
  user-select: none;
}

.admin-switch label {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  cursor: pointer;
  margin-bottom: 0px;
}

.admin-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.admin-switch .slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: all 0.3s;
}



.admin-switch .slider:after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: all 0.3s;
}

.admin-switch .slider:before {

  background-color: transparent;
}

.admin-switch input:checked + .slider {
  background-color: #00528A;
}

.admin-switch input:checked + .slider:after {
  left: calc(100% - 18px);
}





.post-input {
width: 100%;
min-height: 100px;
padding: 12px;
border: 1px solid #ddd;
/* border-radius: 8px; */
resize: none;
margin-bottom: 12px;
font-size: 16px;
}

.post-actions {
display: flex;
justify-content: space-between;
align-items: center;
/* border-top: 1px solid #ddd; */
/* padding-top: 12px; */
}

[class*="image-upload"], [class*="bold-button"], [class*="italic-button"], [class*="underline-button"] {
margin-bottom: 0px;
display: flex;
align-items: center;
color: #65676B;
cursor: pointer;
/* padding: 8px 12px; */
/* border-radius: 4px; */
}

.image-upload:hover {
background: #f0f2f5;
}

.post-button {
background: #00528A;
color: white;
border: none;
padding: 8px 24px;
/* border-radius: 4px; */
cursor: pointer;
font-weight: 600;
}

.post-button:hover {
background: #0052a3;
}

.post {
background: white;
/* border-radius: 8px; */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}

.post-content {
padding: 16px;
}

.post-info {
display: flex;
justify-content: space-between;
align-items: start;
margin-bottom: 12px;
}

.user-info {
display: flex;
align-items: center;
}

.user-details {
/* margin-left: 12px; */
}

.username {
font-weight: 600;
color: #050505;
}

.user-role {
color: #65676B;
font-size: 0.9em;
}

.category {
background: #e4e6eb;
padding: 4px 12px;
border-radius: 16px;
font-size: 0.9em;
}

.post-image {
width: 100%;
/* border-radius: 8px; */
margin: 12px 0;
}

.post-text {
color: #050505;
line-height: 1.5;
margin-bottom: 12px;
}

.interaction-buttons {
display: flex;
justify-content: space-between;
padding: 8px 16px;
border-top: 1px solid #ddd;
}

.interaction-button {
display: flex;
align-items: center;
gap: 8px;
color: #65676B;
background: none;
border: none;
padding: 8px;
cursor: pointer;
font-size: 0.9em;
}

.interaction-button:hover {
background: #f0f2f5;
/* border-radius: 4px; */
}


.post-input {
width: 100%;
min-height: 100px;
padding: 12px;
border: 1px solid #ddd;
resize: none;
margin-bottom: 12px;
font-size: 16px;
}

.post-actions {
display: flex;
justify-content: space-between;
align-items: center;
}

/* Add new styles for character counter */
.character-counter {
position: relative;
/* margin-right: 15px; */
font-size: 14px;
color: #65676B;
}

.counter-circle {
position: relative;
width: 50px;
height: 50px;
}

.counter-background {
fill: none;
stroke: #e4e6eb;
stroke-width: 3;
}

.counter-progress {
fill: none;
stroke: #00528A;
stroke-width: 3;
stroke-linecap: round;
transition: stroke-dashoffset 0.3s ease;
}
.post-input-container {
position: relative;
}

.post-input {
background: transparent;
position: relative;
z-index: 1;
}

.post-preview {
background: white;
z-index: 0;
}
.counter-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 14px;
font-weight: 500;
}
.post-input[contenteditable=true]:empty:before {
content: attr(data-placeholder);
color: #757575;
pointer-events: none;
}

.hashtag {
color: #00528A;
cursor: pointer;
text-decoration: none;
}
.hashtag:hover {
text-decoration: underline;
}
[class*="bold-button"].active, [class*="italic-button"].active, [class*="underline-button"].active {
background-color: #e4e6eb;
border-radius: 4px;
}
.reply-view {
padding: 20px;
margin-top: 15px;
border-radius: 5px;
background-color: white;
border: 1px solid #f6f6f6;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reply-input-container {
display: flex;
gap: 12px;
margin-bottom: 16px;
}

.reply-avatar img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}

.reply-input-wrapper {
flex: 1;
}

.reply-input {
width: 100%;
padding: 12px;
border: 1px solid #e0e0e0;
/* border-radius: 16px; */
resize: none;
margin-bottom: 8px;
font-family: inherit;
}

.reply-actions {
display: flex;
justify-content: space-between;
align-items: center;
}

.reply-attachments button {
background: none;
border: none;
color: #1da1f2;
cursor: pointer;
padding: 8px;
}

.reply-submit {
background-color: #1da1f2;
color: white;
border: none;
/* border-radius: 20px; */
padding: 8px 16px;
font-weight: 600;
cursor: pointer;
}

.reply-submit:hover {
background-color: #1a91da;
}

.replies-container {
margin-top: 16px;
}
.rep-info:hover, .rep-info span:hover {
color: #00528A !important;
}
/* Navigation Button Style */
.nav-install-button {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background-color: #00528A;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}



.swal-posting-module .swal2-modal {
padding-bottom: 0px !important;

}
.swal-posting-module .swal2-html-container{
text-align: left !important;
}
.post {

background-color: white;
border: 1px solid #f6f6f6;
border-radius: 5px;
margin-bottom: 20px;
}
.questPad h2 {
  font-family: 'BWHaasGroteskBold', 'Fira Sans' !important;
}
.post-border{
padding: 20px;

}
.rep-image{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover; /* Maintains aspect ratio while filling the container */
  object-position: center; /* Centers the image within the container */
}

.image-grid, [class^="image-grid"] {
width: 100%;
overflow: hidden;
}

.image-grid img, [class^="image-grid"] img {
width: 100%;
height: 100%;
object-fit: cover;
background-color: #f6f6f6;
}

.image-item {
position: relative;
overflow: hidden;
aspect-ratio: 1;
}

/* Single image */
.grid-1 {
display: grid;
max-height: 500px;
}

.grid-1 .image-item {
aspect-ratio: 16/9;
}

/* Two images */
.grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px;
}

/* Three images */
.grid-3 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px;
}

.grid-3 .image-item:first-child {
grid-row: span 2;
}

/* Four images */
.grid-4 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px;
}

/* Five or more images */
.grid-many {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}

.grid-many .image-item:first-child {
grid-column: span 2;
grid-row: span 2;
}

.lightbox-container {
backdrop-filter: blur(5px);
}

.lightbox-image {
max-height: 90vh;
object-fit: contain;
padding:25px;

}

.lightbox-nav {
position: absolute;
width: 100%;
top: 50%;
left: 0;
transform: translateY(-50%);
display: flex;
justify-content: space-between;
padding: 0 20px;
pointer-events: none;
}

.lightbox-nav button {
background: rgba(255, 255, 255, 0.2);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
font-size: 20px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
pointer-events: auto;
color: #000;
}

.lightbox-nav button:hover {
background: rgba(255, 255, 255, 0.3);
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }
  .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
  }
  .dropdown-item:focus,
  .dropdown-item:hover {
    color: #1e2125;
    background-color: #e9ecef;
  }
  .dropdown-item.active,
  .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #0d6efd;
  }
  .dropdown-item.disabled,
  .dropdown-item:disabled {
    color: #adb5bd;
    pointer-events: none;
    background-color: transparent;
  }
  

  @media only screen and (max-width: 767px) {
    #politician-posting-module {
      display: flex !important;
      z-index: 1;
    }
  }
  
    #politician-posting-module {
      
      z-index: 1 !important; 
      position: fixed;
      bottom: 85px;
      left: 30px;
      background: #00528A  ;
      /* background: rgba(0, 0, 0, 0.7) */
      width: 50px;
      height: 50px;
      display: block;
      text-decoration: none;
      -webkit-border-radius: 35px;
      -moz-border-radius: 35px;
      border-radius: 35px;
      /* display: none; */
      -webkit-transition: all 0.3s linear;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      transition: all 0.3s ease;
  }
  #politician-posting-module i {z-index: 9999999 !important;
      color: #fff;
      margin: 0;
      position: relative;
      left: 13px;
      top: 11px;
      font-size: 19px;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      transition: all 0.3s ease;
  }
  #politician-posting-module:hover {
      background: rgba(0, 0, 0, 0.9);
  }
  #politician-posting-module:hover i {
      color: #fff;
      top: 5px;
  }  