/* ------------------------------- ANIMATIONS ------------------------------ */

@keyframes slide-in {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fade-out-ani {
    animation: fadeOut 1s ease-out forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes flipImage {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

body {
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  color: #ffff;
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

/* ------------------------------- Bio ------------------------------------- */

.user-menu {
    position: relative;
}

.menu-button {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #fff;
}

.menu-option {
    display: none;
    position: absolute;
    right: 0;
    background-color: #2f2f2f;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    
}

.menu-option i ,.menu-option span {
    width: 100%;
    padding: 10px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #ffff;
}

.edubio-modal-content input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffff;
    caret-color: #fff;
    overflow: auto;
    font-size: 0.875rem;
    line-height: 25px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.edubio-modal-content textarea {
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffff;
    caret-color: #fff;
    overflow: auto;
    font-size: 0.875rem;
    line-height: 25px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.edubio-modal-content label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    margin-bottom: 5px;
    color: #ffff;
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.edubio-modal-content label input[type="checkbox"] {
    margin-bottom: 10px;
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007bff;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 8px;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #007bff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.1s ease-in-out;
    border-radius: 2px;
}

input[type="checkbox"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

input[type="checkbox"]:hover {
    border-color: #0056b3;
}

input[type="checkbox"]:checked {
    border-color: #0056b3;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.edubio-modal-content {
    background: #2f2f2f;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    width: 700px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 95vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #2f2f2f;
    animation: fadeIn 1s;
}

.edubio-modal-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #fff;
    margin-bottom: 15px;
}

.edubio-modal-content::-webkit-scrollbar {
  width: 6px;
}

.report-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1rem;
    cursor: pointer;
}

.save-education-button {
    background: #2f2f2f;
    color: #ffff;
    padding: 5px 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
    width: auto;
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.save-education-button:hover {
    background: #0056b3;
}

.education-info {
    flex: 1;
    text-align: left;
    background-color: #333;
    color: #ffff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.education-entry, .exp-entry, .project-entry  {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 5px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.education-title {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #fff;
}

.education-duration {
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1em;
}

.education-from {
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: rgba(255, 255, 255, 0.75);
}

.education-description {
    position: relative;
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #ffff;
    line-height: 25px;
    overflow: hidden;
    max-height: 55px;
    transition: max-height 0.3s ease, color 0.3s ease;
}

.education-description.expanded {
    max-height: none;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(124,92,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #7c5cff;
    flex-shrink: 0;
}

.edubio-delete-button {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 0.7rem;
    cursor: pointer;
    transition: color 0.3s ease;
    position: absolute;
    right: 10px;
    top: 10px;
}

/* ------------------------------- Suggestions ----------------------------- */

.suggestion-heading {
    display: block;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffff;
    animation: slideFromBottom 1s ease forwards;
    text-align: center;
}

.suggestion-card {
    display: flex;
    align-items: center;
    background: none;
    padding: 6px 10px;
    color: #ffff;
}

.suggestion-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    image-rendering: auto;
}

.suggestion-profile-pic:hover {
    border-color: #4fc3f7;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.suggestion-username-btn {
    background: none;
    border: none;
    color: #ffff;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

.sug-request-badge {
    font-size: 0.8rem;
    color: #999;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

/* ------------------------------- CHARTS ---------------------------------- */

.hashtag {
    color: #1DA1F2;
}

.leaderboard-rank,
.hashtag-rank {
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.8125rem;
    margin-right: 10px;
}

.leaderboard-avatar {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    image-rendering: auto;
    object-fit: cover;
    margin-left: 10px;
}

.trending-users h4,
.trending-hashtags h4,
.trending-global-users h4,
.chartlist-modal-content h4 {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffff;
    text-align: left;
    background: #444;
    letter-spacing: 0.6px;
    padding: 8px;
    border-radius: 10px;
}

.event-modal-content,
.notification-modal-content {
    background: #3a3a3a;
    padding: 10px;
    border-radius: 10px;
    max-height: 95vh;
    overflow-y: auto;
    width: 550px;
    position: relative;
    scrollbar-width: none;
}

.event-posts-section {
    margin-top: 10px;
    border-top: 1px solid rgb(255,255,255,0.3);
    padding-top: 15px;
    margin-bottom: 10px;
}

.event-modal-content::-webkit-scrollbar,
.notification-modal-content::-webkit-scrollbar {
    width: 6px;
}

.event-item {
    text-align: center;
    padding: 20px;
}

.event-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgb(255,255,255,0.3);
}

.event-item h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 10px 0 5px;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.event-item .hosted {
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #cccccc;
    margin-bottom: 10px;
}

.event-item .hosted span {
    color: #4fc3f7;
}

.event-item .description {
    text-align: center;
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #999;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
}

.add-post-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #333;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-close {
    all: unset;
    background: none;
    position: absolute;
    top: 5px;
    right: 3px;
    font-size: 2rem;
    color: #ffff;
    cursor: pointer;
}

.your_event h4, 
.other_event h4 {
    font-weight: 500;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffff;
}

.your_event p, 
.other_event p {
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #999;
}

.event-card {
    position: relative;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.event-card-header {
    position: absolute;
    top: 5px;
    right: 5px;
}

.event-card-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid rgb(255,255,255,0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    margin-right: 10px;
    image-rendering: auto;
}

.event-card-img img:hover {
    border-color: #4fc3f7;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.event-card-info button {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #ffff;
    cursor: pointer;
    text-align: left;
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.delete-event-btn {
    background: transparent;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 0.8rem;
}

.event-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #2f2f2f;
}

.event-form::-webkit-scrollbar {
  width: 6px;
}

.event-form label {
  font-weight: 300;
  color: #ffff;
  font-size: 0.8125rem;
}

.event-form input[type="file"],
.event-form textarea,
.event-form input[type="date"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    margin-top: 5px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffff;
    overflow: auto;
}

.event-form input[type="file"]:focus,
.event-form textarea:focus,
.event-form input[type="date"]:focus {
    outline: none;
}


.event-form textarea {
    resize: vertical;
}

#addEventPost {
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#addEventPost:hover {
    background-color: #0056b3;
}

.trending-users ul, .trending-hashtags ul, 
.trending-global-users ul,
.chartlist-modal-content ul {
    list-style: none;
    margin: 0;
    padding: 8px 0; 
    background: none;
}

.trending-users li, .trending-hashtags li, 
.trending-global-users li,
.chartlist-modal-content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
    border-bottom: 0.5px solid rgba(255,255,255,0.3);
}

.trending-users .charts-user-info, 
.trending-hashtags .charts-user-info, 
.trending-global-users .charts-user-info,
.chartlist-modal-content .charts-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-users li:last-child, 
.trending-hashtags li:last-child, 
.trending-global-users li:last-child,
.chartlist-modal-content li:last-child {
    border-bottom: none;
}

.trending-users a, 
.trending-hashtags a, 
.trending-global-users a,
.chartlist-modal-content a {
    text-decoration: none !important;
    color: #ffff;
    font-weight: 300;
    padding: 2px 0;
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.trending-users span, 
.trending-hashtags span, 
.trending-global-users span,
.chartlist-modal-content span {
    color: #ffff;
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.leaderboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

.leaderboard-heading span {
    color: #999;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
}

.heading-rank {
    flex: 0.4;
    text-align: left;
}
.heading-name {
    flex: 2;
}
.heading-points {
    flex: 1;
    text-align: right;
}

.chartlist-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.chartlist-modal-content {
  background: #2f2f2f;
  padding: 20px;
  border-radius: 6px;
  max-height: 95vh;
  overflow-y: auto;
  width: 400px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #555 #2f2f2f;
}

.chartlist-modal-content::-webkit-scrollbar {
  width: 6px;
}


/* ------------------------------- POST UPLOAD ----------------------------- */
.mention-item {
    display: flex;
    align-items: center;
    padding: 5px 5px;
    gap: 5px;
    background: none;
    cursor: pointer;
}

.tribute-container {
    border-radius: 6px;
    padding: 2px 0;
    max-height: 100px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    scrollbar-width: none;
}

.tribute-container ul {
    background-color: #2f2f2f !important;
}

.tribute-container::-webkit-scrollbar {
    display: none;
}

.mention-username {
    color: #ffff;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.8rem;
}

.mention-avatar {
    width: 24px;
    height: 24px;
    border-radius: 10px;
    object-fit: cover;
    image-rendering: auto;
}

.apply-now-button {
    display: inline-block;
    background: none;
    color: #2f2f2f;
    text-decoration: none;
    cursor: pointer;
}

.reward-badge {
    display: inline-flex;
    max-width: 120px;
    align-items: center;
    gap: 10px;
    color: #ffff;
    background: none;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: default;
    margin-top: 10px;
    cursor: pointer;
}

.reward-badge span {
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
}

.highlight {
    color: #4CAF50;
    font-weight: 600;
}

.file-upload {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 2px 0;
}

.upload-label{
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #f0f0f0;
    background-color: #3a3a3a;
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid #444;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: inline-block;
    text-align: center;
}

.upload-label:hover {
    background-color: #4a4a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.upload-label:active {
    background-color: #2f2f2f;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.upload-label input[type="file"] {
    display: none;
}

#images, #videos,  {
    display: none;
}

.image-preview, .video-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.image-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-preview img:hover {
    transform: scale(1.1);
}

#endDateContainer {
    display: none;
    background-color: #2f2f2f;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    max-width: 300px;
}

#endDateContainer label {
    display: block;
    font-size: 0.8125rem;
    color: #ffff;
    margin-bottom: 8px;
}

#endDateContainer input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.8125rem;
    color: #ffff;
    background-color: #2f2f2f;
    box-sizing: border-box;
}

/* ------------------------------- NAVBAR ---------------------------------- */

.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row-reverse;
}

.toggle-label {
  --width: 44px;
  --height: 25px;
  --padding: 2px;
  --transition: 0.2s ease;
  
  position: relative;
  display: inline-block;
  width: var(--width);
  height: var(--height);
}

.toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

#modeText {
  font: 1.1rem 'Helvetica Neue', 'Roboto medium', sans-serif;
  color: #ffff;
  font-weight: 300;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    color: #eaeaea;
    padding: 10px 20px;
    border-radius: 0;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    box-shadow:
    0 2px 4px rgba(255, 255, 255, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.brand {
    font-size: 3rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    letter-spacing: 5px;
    display: inline-block;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, #00eaff, #00bfff, #0aff9d, #ffd85f, #ff6f91, #9d6eff);
    background-size: 600% 600%;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Slower, smoother gradient animation */
    -webkit-animation: gradient-shift 5s ease-in-out infinite;
            animation: gradient-shift 5s ease-in-out infinite;
}

@-webkit-keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar .nav-links {
    display: flex;
    margin-right: 50px;
    white-space: nowrap;
    gap: 15px;
}

.navbar .nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  background: none;
}

.menu-toggle {
    display: none;
    font-size: 20px;
    color: #e0e2f20e0;
    cursor: pointer;
    padding: 10px 20px;
}

/* ----------------------------- SETTINGS ---------------------------------- */

.nested-options,
.feedback,
.delete-account {
    position: relative;
    display: none;
    max-width: 490px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.delete-account h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

#delete-reason, #user-feedback {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    resize: vertical;
    background-color: #333;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
    font-size: 0.875rem;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#delete-account button[onclick="submitDeleteRequest()"],
.delete-account button[onclick="submitFeedback()"] {
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
  font-weight: 300;
}

.close-savedpost {
    position: absolute;
    background: none;
    color: #ffff;
    border: none;
    font-size: 0.8125rem;
    cursor: pointer;
    right: 10px;
}

.close-modal-setting {
    position: absolute;
    padding: 8px 8px;
    background: none;
    color: #ffff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    right: 2px;
}

.savedposts {
    position: relative;
    max-width: 490px;
}

.user-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    cursor: pointer;
    background: transparent;
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300 !important;
    color: #ffff !important;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.user-tab-btn.active {
    background: linear-gradient(135deg, #5b86e5, #36d1dc);
}

.tab-menu {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px 6px 0 0;
}

#profile-tabs-container {
    width: 490px;
    max-width: 600px;
    background: none;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.tab-menu .uptinformation-close {
    display: flex;
    background: none;
    border: none;
    color: #ffff;
    font-size: 1rem;
    cursor: pointer;
    padding: 8px 8px;
}

.nested-options a {
    display: block;
    padding: 12px 20px;
    color: #ffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}


/* ----------------------------- SEARCH BAR IN INDEX ----------------------- */

.search-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    width: 100%;
    max-width: 600px;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.search-bar {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    margin-right: 5px;
    min-width: 500px;
    color: #eaeaea;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
    animation: slideFromTop 1s ease forwards;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.search-bar:hover {
    border-color: #74c0fc;
    box-shadow: 0 0 10px rgba(116, 192, 252, 0.5), 0 0 4px rgba(116, 192, 252, 0.3);
}

#search-results {
    margin-top: 5px;
    border-radius: 5px;
    max-width: 600px;
    background: #2f2f2f;
}

.with-icon {
  background-image: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239ca3af" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\
<circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>');
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: 12px center;
  padding-left: 40px;
  color: #ffff;
  font-size: 0.875rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.user-name {
    font-weight: 300;
    color: #999;
    font-size: 0.7rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.user-id {
    color: #ffff;
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.result-item:last-child {
    border-bottom: none;
}

.no-results {
    padding: 10px;
    text-align: center;
    color: #999;
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.loading {
    padding: 10px;
    text-align: center;
    color: #555;
}

.preview-container {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    justify-content: center;
    background-color: #2f2f2f;
}

.user-container {
  flex: 1;
  max-width: 500px;
  margin-top: 50px;
}

.index_container {
  flex: 1;
  max-width: 500px;
  margin-top: 50px;
}

.section {
    background-color: #2f2f2f;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.section-title {
    font-size: 1.23rem;
    color: #ffff;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    animation: slideFromRight 1s ease forwards;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.section-title-fullname {
    font-size: 0.875rem;
    color: #999;
    font-weight: 300;
    margin-top: 4px;
    line-height: 1.2;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    animation: slideFromRight 1s ease forwards;
}

.preview-post-card {
    background-color: #2f2f2f;
    width: 500px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 16px;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.1s ease-out forwards;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-left: 10px;
}

.info-links {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 5px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.preview-toggle-option {
    margin-left: 4px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #ffff;
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.preview-toggle-option label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-toggle-option input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.preview-post-card input[type="text"],
.preview-post-card input[type="url"],
.preview-post-card select,
.preview-post-card textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    resize: none;
    border-radius: 5px;
    font-size: 0.875rem;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 400;
    transition: border-color 0.3s ease;
    margin-top: 0.5rem;
    background-color: #2f2f2f;
    line-height: 25px;
    min-width: 475px;
    max-width: 475px;
}

.preview-post-card button[type="submit"],
.preview-post-card button[type="button"] {
    width: auto;
    padding: 10px;
    background: none;
    color: #ffff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

#sharing {
    background: none;
    color: #ffff;
    font-size: 1.5rem;
    padding: 6px 0;
    border: none;
    cursor: default;
    margin-top: 8px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    text-align: center;
    animation: fadePulse 3s infinite;
}

.close-button {
    position: absolute;
    right: 10px;
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #fff;
    cursor: pointer;
}

.navbar .nav-links i {
    font-size: 1.1rem;
    transition: color 0.3s ease;
    color: #ffff;
}

/* ----------------------------- POST -------------------------------------------- */

.submit-report-button {
    width: auto;
    background: none;
    color: #ffff;
    display: flex;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    margin-top: 15px;
}

.follower-pic {
    width: 32px;
    height: 32px;
    border-radius:20%;
    object-fit: cover;
    margin-right: 10px;
}

.reaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.follwernfollinglist {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #2f2f2f #2f2f2f;
}

.follwernfollinglist::-webkit-scrollbar {
    width: 2px;
}

.chart-footer{
    text-align: right;
    right: 0;
    font-size: 0.8125rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.post-category-dropdown {
    margin-bottom: 20px;
}

.save-text {
    font-size: 10px;
    font-weight: 500;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1); 
    padding: 4px 10px;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#allCaughtUpMessage {
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    color: #999;
    padding: 10px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    margin-top: 5px;
    animation: fadeIn 0.5s ease-in;
}

.no-more-messages {
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #999;
    padding: 5px;
    margin-top: 5px;
    animation: fadeIn 0.5s ease-in forwards;
}

#loadingIndicator {
    visibility: hidden;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(30, 30, 30, 0.85);
    color: #ffff;
    font-size: 14px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out, visibility 0s linear 0.5s;
    pointer-events: none;
}

#loadingIndicator.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    pointer-events: auto;
}

#loadingIndicator.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out, visibility 0s linear 0.5s;
    pointer-events: none;
}

.post-section-title {
    margin-bottom: 5px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.post-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 5px;
    image-rendering: auto;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.post-profile-pic:hover {
  border-color: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.follow-button-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.post-follow-btn {
    background: none;
    color: black;
    border: none;
    border-radius: 10px;
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 4px 6px;
    background-color: #f9f9f9;
    font-weight: 500;
    transition: color 0.2s ease;
}

.follow-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 150px;
    font-size: 11px;
}

.follow-menu div {
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.follow-menu div:hover {
    background-color: #f5f5f5;
}

.follow-button-wrapper:hover .follow-menu {
    display: block;
}

.post-card {
    background-color: #2f2f2f;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    padding: 0.7rem;
    margin: 0 auto 1rem auto;
    position: relative;
    animation: fadeIn 1s ease-out forwards;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-header {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}   

.user-info{
    gap: 4px;
    display: flex;
    flex-direction: column;
}

.username a {
    font-weight: 300;
    color: #ffff;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    text-decoration: none;
}

.time-posted, .comment-time-posted {
    font-size: 0.8125rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #999;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffff;
    margin-left: 4px;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    transition: all 0.3s ease-in-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    width: 55%;
    max-width: 565px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    animation: fadeIn 1s ease;
    scrollbar-width: thin;
    scrollbar-color: #555 #2f2f2f;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.post-content {
    position: relative;
    overflow: hidden;
    max-height: 70px;
    line-height: 25px;
    margin-left: 4px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #ffff;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
}

/*
.post-content.expanded::after {
    opacity: 0;
}
 .post-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 20px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(47, 47, 47, 0), #2f2f2f);
    pointer-events: none;
    transition: opacity 0.3s;
} 
*/

.preview-post-content {
    overflow: hidden;
    max-height: 600px;
    line-height: 25px;
    font-size: 0.875rem;
    color: #ffff;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.post-content.expanded {
    max-height: none;
}

.show-more-btn {
    display: inline-block;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-style: italic;
    font-size: 0.8rem;
    color: #0073e6;
    cursor: pointer;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
}

.show-more-btn:hover,
.show-more-btn:focus {
    color: #005bb5;
    transform: translateY(-2px);
}

.post-content p {
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.post-content.expanded p {
    opacity: 1;
    transform: translateY(0);
}

.post-actions {
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
}

.post-actions i {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 0.8125rem;
  padding: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.reaction-list-button {
    font-size: 0.9em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.reaction-group {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    background: #444;
    border-radius: 10px;
    margin-right: 5px;
}

.reaction-group span {
    font-size: 0.8125rem;
    font-weight: bold;
    margin-left: 5px;
}

.reaction-button.like-active {
    color: #339af0;
}

.reaction-button.dislike-active {
    color: #c92a2a;
}

.preview-comment-box {
    margin-top: 10px;
    margin-bottom: 50px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgb(255,255,255,0.3);
    background: #2f2f2f;
    color: #ffff;
    text-align: center;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.comment-box {
    margin-top: 5px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(255,255,255,0.3);
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    color: #fff;
}

.mention {
  color: #3a7bd5;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
}

.reply-input-section {
    margin-top: 10px;
    padding: 0;
    margin-bottom: 10px;
    border-radius: 8px;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.comments-section .comment {
    border-bottom: 1px solid rgb(255,255,255,0.3);
    padding: 5px 0;
    animation: slideFromRight 1.5s ease forwards;
}

.comments-section .comment:last-child{
    border-bottom: none;
}

.comment-header{
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.comment-header > * {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.comment-profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    border: 2px solid rgb(255,255,255,0.3);
    image-rendering: auto;
    object-fit: cover;
    margin-top: 5px;
}

.comment-profile-pic:hover {
  border-color: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.comment-username {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #ffff;
    display: inline-block;
    transition: color 0.1s ease;
    cursor: pointer;
}

.comments-text, .replies-text {
    margin-left: 40px;
    color: #ffff;
    margin-bottom: 10px;
    font-size: 0.875rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 90vw;
    line-height: 20px;
}

.replies {
    margin-left: 50px;
    border-left: 2px solid rgb(255,255,255,0.3);
    padding-left: 10px;
    margin-top: 5px;
    position: relative;
}

.submission-deadline {
    display: block;
    margin-top: 10px;
    font-size: 0.8125rem;
    color: #ffff;
    font-style: italic;
}

.submission-deadline strong {
    font-weight: 300;
    color: #ffff;  
}

.edit-comment-textarea{
    margin-top: 10px;
}

.reply-textarea {
    margin-top: 2px;
}

.reply-textarea, .comment-textarea {
    width: 90%;
    max-width: 100%;
    padding: 5px 10px;
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #ffff;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
    outline: none;
    line-height: 25px;
    transition: all 0.3s ease;
    flex: 1;
    resize: none;
    overflow-y: hidden;
}

.comment-textarea:hover, .reply-textarea:hover {
  border-color: #74c0fc;
  box-shadow: 0 0 10px rgba(116, 192, 252, 0.5), 0 0 4px rgba(116, 192, 252, 0.3);
}

.reply-textarea::placeholder, .comment-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-style: italic;
}

.edit-buttons {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    justify-content: flex-start;
}

.edit-buttons button {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-buttons button:first-child {
    background: linear-gradient(135deg, #4dabf7, #228be6);
    color: #fff;
    box-shadow: 0 3px 8px rgba(34, 139, 230, 0.3);
}

.edit-buttons button:first-child:hover {
    background: linear-gradient(135deg, #339af0, #1c7ed6);
}

.edit-buttons button:last-child {
    background: #f1f3f5;
    color: #495057;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.edit-buttons button:last-child:hover {
    background: #dee2e6;
}

/* ----------------------- POST COMMENT AND REPLY BUTTON ------------------------ */

.disable-comment{
    background: none;
    color: #ffff;
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8125rem;
    padding: 4px;
    color: #999;
}

.reply-button,
.view-replies-button {
    margin-left: 5px;
    background: none;
    color: #999;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.edit-comment-icon,
.delete-comment-icon,
.edit-reply-button,
.delete-reply-button,
.heart-icon {
    font-size: 0.625rem;
    color: #999;
    cursor: pointer;
    margin: 0 2px;
}

.heart-icon.clicked {
    color: #10b981;
}

.comment-count {
    font-size: 0.8rem;
    color: #999;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.carousel-container {
    position: relative;
    width: 470px;
    margin: auto;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    margin-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: #555 #2f2f2f;
    margin-top: 0.5rem;
    margin-bottom: 0..5rem;
}

.carousel-container::-webkit-scrollbar {
     width: 6px;
}

.media-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.media-container:has(.media-item:only-child) {
    justify-content: center;
}

.media-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    background-color: #2f2f2f;
    border-radius: 5px;
    overflow: hidden;
}

.image-item {
    width: 470px;
    max-width: 470px;
    max-height: 600px;
    height: auto;
    object-fit: cover;
    image-rendering: auto;
    background-color: #2f2f2f;
    border-radius: 5px;
    overflow-y: auto;
}

.reel-item {
    width: auto;
    max-width: 470px;
    height: auto;
    max-height: 600px;
    border-radius: 5px;
}

.video-item {
    width: auto;
    max-width: 470px;
    height: auto;
    max-height: 300px;
    border-radius: 5px;
}


.dots-container {
    display: flex;
    justify-content: center;
    margin: 10px;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
}

#toggle-media-btn {
    display: block;
    margin: 0px auto;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.5s;
}

.rotate {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

/* ----------------------- USER INFO ------------------------ */

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    top: 10px;
    width: 500px;
}

.profile-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.profile-pic-container {
    position: relative;
    display: inline-block;
}

.rotate-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 1.3rem;
  color: #2f80ed;
  opacity: 0.9;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.rotate-icon:hover {
  transform: rotate(90deg) scale(1.1);
  color: #60a5fa;
  text-shadow: 0 0 6px rgba(96,165,250,0.6);
  opacity: 1;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    image-rendering: auto;
    animation: flipImage 1s ease forwards;
}

.profile-pic:hover {
    border-color: #4fc3f7;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.points-info {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    animation: fadeIn 1s ease forwards;
    background: none;
    border-radius: 10px;
    padding: 5px;
}

.actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
    animation: slideFromBottom 1s ease forwards;
}

.follow-dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.main-follow-btn {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    font-size: 0.8125rem;
    padding: 10px 20px;
    font-size: 0.8125rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #ffff;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.1s ease;
}

.follow-options {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    font-size: 0.8125rem;
    position: absolute;
    left: 0;
    background-color: #2f2f2f;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 250px;
    animation: fadeInUp 1s ease;
}

.follow-dropdown:hover .follow-options {
    display: flex;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 10px 10px;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    color: #ffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.followers-btn, .following-btn, .settings-btn, .logout-btn, .addpost-btn, .follow-btn, .msg-btn   {
    padding: 10px 10px;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    background-color: #2f2f2f;
    border-radius: 10px;
    color: #ffff;
    text-align: center;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.post-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8125rem;
    display: flex;
    gap: 8px;
    color: #ffff;
    cursor: pointer;
    margin-bottom: 10px;
}

.analytics-header {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffff;
    text-transform: uppercase;
}


    
.menu-options {
    position: absolute;
    top: 30px;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.menu-options button {
    border: none;
    background: none;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.menu-options button:hover {
    background-color: #f0f0f0;
}

/* ----------------------- CHAT AREA --------------------------------------- */

#chatMenuButton {
    display: none;
    background: none;
    border: none;
    font-size: 0.8125rem;
    cursor: pointer;
    position: relative;
}

.chat-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2f2f2f;
    border: 1px solid rgb(255,255,255,0.3);
    padding: 10px;
    min-width: 120px;
    z-index: 100;
    border-radius: 10px;
}

.chatmenudelete {
    font-size: 0.8rem;
    color: #ff4d4d;
}

.messaging-container, #chatContainerWrapper {
    position: sticky;
    display: flex;
    flex-direction: row;
    height:88vh;
    width: 590px;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    background: #2f2f2f;
    top: 70px;
    right: auto;
    margin: 0;
    flex-shrink: 0;
}

.sidebar {
    width: 30%;
    background-color: #2f2f2f;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
}

.chat-toggle-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #3a5fcd;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.sidebar-header h3{
    font-size: 1.5rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #ffff;
    font-weight: 300;
}

.sidebar-header {
  padding: 15px;
  background: linear-gradient(to right, #2e2e2e, #3a3a3a);
  color: #f1f1f1;
  text-align: center;
  font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}


.conversation-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.conversation {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 8px;
}

.conversation:hover {
    background-color: #e9ecef;
}

.conversation-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.conversation-info {
    flex: 1;
}

.last-message {
    font-size: 12px;
    color: gray;
}

.chat-area {
    width: 70%;
    display: flex;
    flex-direction: column;
    background-color: #2f2f2f;
}

.chat-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgb(255,255,255,0.3);
    gap: 10px;
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    image-rendering: auto;
}

.pin-icon {
    margin-left: 6px;
    font-size: 11px;
    color: #999;
    vertical-align: middle;
}

.chat-footer {
    padding: 10px;
    background-color: #2f2f2f;
    display: none;
}

#chatInput {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-right: 10px;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
    width: 325px;
}

#chatInput:hover {
  border-color: #74c0fc;
  box-shadow: 0 0 10px rgba(116, 192, 252, 0.5), 0 0 4px rgba(116, 192, 252, 0.3);
}

#chatInput::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.attachment-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 2rem;
    color: #ffff;
}

.attachment-btn:hover {
    color: #007bff;
}

.chat-image {
    display: block;
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 4px;
}

.chat-image:hover {
    transform: scale(1.05);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.2);
}

.chat-image:active {
    transform: scale(0.98);
}

.close {
    color: #ffff;
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.1s ease-in-out;
    user-select: none;
}

.chatmodal {
    position: fixed;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.chatmodal-content {
    background: #2f2f2f;
    margin: 10% auto;
    padding: 10px;
    width: 300px;
    z-index: 1000;
    height: auto;
    min-height: 50px;
    border-radius: 10px;
}

#chatRecipientRadios > div {
    background: none;
    padding: 10px;
    border: none;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

#chatRecipientRadios span {
    font-size: 0.875rem;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

#chatRecipientRadios button {
    font-size: 0.875rem;
    background-color: #222;
    color: #ffff;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    transition: background-color 0.1s ease-in-out;
}

#chatRecipientRadios button:active {
  transform: scale(0.97);
}

#chatRecipientRadios img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  image-rendering: auto;
}

.msgsafety {
    font-size: 0.8rem;
    font-family: 'Poppins', 'Inter', 'Segoe UI', sans-serif;
    font-weight: 450;
    color: #999;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.sent-message .chat-image,
.received-message .chat-image {
    display: block;
    max-width: 120px; 
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover
    margin-top: 5px;
    margin-bottom: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.sent-message .chat-image:hover,
.received-message .chat-image:hover {
    transform: scale(1.05);
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 15px;
    width: auto;
    word-wrap: break-word;
}

.message-time {
  font-size: 0.7em;
  color: #888;
  text-align: right;
}

.no-messages {
    text-align: center;
    color: #aaa;
    margin: 20px 0;
    font-style: italic;
}

.seen-status {
    position: absolute;
    font-size: 0.75em;
    color: #bbb;
    bottom: 6px;
    right: 12px;
    text-align: right;
    white-space: nowrap;
    pointer-events: none;
}

.message.user {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
    text-align: right;
}

.delete-button {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    border: none;
    display: none;
    width: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 1s ease-in-out;
    background: none;
}

.delete-button i {
    color: #ff4d4d;
}

.message-item {
    position: relative;
    max-width: 70%;
    margin: 2px 0;
    padding: 10px 14px;
    border-radius: 16px;
    display: inline-block;
    word-wrap: break-word;
    white-space: pre-wrap;
    font-size: 0.8125rem;
    background: #3c3c3c;
    color: #eaeaea;
    animation: fadeSlideIn 0.25s ease forwards;
    opacity: 0;
    transform: translateY(10px);
    word-break: break-word;
}

.message-item span {
    display: block;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    width: 100%;
}

.message-item.sent-message {
    background: #555; 
    color: #fff;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-item.received-message {
    background: #3c3c3c;
    color: #eaeaea;
    align-self: flex-start;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 10px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-item:hover .delete-button {
    display: block;
}

.delete-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.message.bot {
    background-color: #e9ecef;
    color: black;
    align-self: flex-start;
    text-align: left;
}

.eye-button {
    position: absolute;
    display: flex;
    gap: 10px;
    align-items: center;
    top: 15px;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.8125rem;
    cursor: pointer;
    color: #ffff;
    transition: color 0.3s ease;
    z-index: 10;
    filter: none !important;
    pointer-events: auto;
}

.eye-hint {
    font-size: 0.8125rem;
    color: #999;
    transition: opacity 0.3s ease;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.eye-hint:hover {
    opacity: 1;
    color: #fff;    
}

.eye-button:hover {
    color: #fffff;
}

.toggle-text {
    font-size: 0.8125rem;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.messaging-container.hidden {
    opacity: 0.5;
    filter: blur(5px);
    pointer-events: none;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background-color: #2f2f2f;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #2f2f2f;
}

.chat-body::-webkit-scrollbar {
     width: 6px;
}

.sent-message {
    background: linear-gradient(to right, #2196F3, #64B5F6);
    color: white;
    align-self: flex-end;
}

.received-message {
    background-color: #e5e7eb;
    color: #111827;
    align-self: flex-start;
}

.chat-item {
    display: flex;
    margin-bottom: 10px;
    align-items: left;
    margin: 5px 8px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 15px;
    animation: slideFromLeft 1s ease forwards;
}

.chat-username {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.9rem;
    color: #ffff;
    font-weight: 300;
    cursor: pointer;
}

.loading-spinner {
  --accent: #8ec5ff;
  --track: rgba(255,255,255,.10);
  display: none;
  width: 25px;
  height: 25px;
  border: 3px solid var(--track);
  border-top-color: var(--accent);
  border-right-color: rgba(255,255,255,.22);
  border-radius: 50%;
  animation: spin .75s linear infinite;
  margin: 20px auto;
}

.loading-spinner--sm { width:16px; height:16px; border-width:2px; }
.loading-spinner--lg { width:32px; height:32px; border-width:3px; }
.loading-spinner--xl { width:48px; height:48px; border-width:4px; }

.is-loading .loading-spinner { display: block; }

@media (prefers-reduced-motion: reduce) {
  .loading-spinner { animation-duration: 1.5s; }
}

/* ----------------------- USER MENU -------------------------------------------- */

.settings-container, 
.followers-container,
.following-container {
    position: relative;
    display: inline-block;
}

.remove_button {
    background: none;
    border: none;
    color: grey;
    font-size: 0.8125rem;
    margin-left: 100px;
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
}

.remove_button:hover {
    transform: scale(1.1);
    color: #ff0000;
}

.toggle-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    max-width: 490px;
    border-top: 1px solid rgb(255,255,255,0.3);
}

.toggle-option input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.followers-hover-list,
.following-hover-list {
    display: none;
    position: absolute;
    padding: 20px 15px;
    background-color: #2f2f2f;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    width: 200px;
}

.error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  color: #ffff;
  font-size: 1.5rem;
  text-align: center;
  font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
  max-width: 320px;
  margin: 40px auto;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.7s ease-in-out;
  letter-spacing: 1px;
}

.error i {
  font-size: 1.5rem;
  color: #8ea4ff;
  transition: all 0.3s ease;
}

.error:hover i {
  transform: scale(1.15);
  color: #aab8ff; /* slightly brighter on hover */
}

.saved_post_heading {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.prof-bio {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    background: none;
    border: none;
    margin-bottom: 20px;
    line-height: 25px;
    text-align: left;
    position: relative;
    width: 500px;
    max-width: 680px;
    animation: slideFromBottom 1s ease forwards;
}

.edubio-add-button {
    font-weight: 300;
    position: absolute;
    top: 5px;
    right: 0px;
    font-size: 1.2rem;
    color: #ffff;
    cursor: pointer;
}

.edubio-bio-title {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;  
    font-size: 1.2rem;  
    font-weight: 300;
    color: #ffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.bio {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 1rem;
    color: #ffff;
    background: none;
    border: none;
    border-radius: 12px;
    margin: 10px auto;
    line-height: 25px;
    text-align: center;
    position: relative;
    width: 510px;
    max-width: 680px;
    animation: slideFromBottom 1s ease forwards;
}


@keyframes slideFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 1250px;
    margin: 0 auto;
    box-sizing: border-box;
}

.side-index-sidebar {
    display: flex;
    flex-direction: column;
    animation: slideFromLeft 1s ease forwards;
}

.index-sidebar {
    position: sticky;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: auto;
    padding-bottom: auto;
    box-sizing: content-box;
    animation: slideFromLeft 1s ease forwards;
}

.index-sidebar::-webkit-scrollbar {
    display: none;
}

.index-user-container a {
    font-weight: 300;
    color: #ffff;
    font-size: 1.45rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    text-decoration: none;
    transition: color 0.1s ease;
    margin-bottom: 10px;
}

.index-user-container img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    image-rendering: auto;
    margin-bottom: 10px;
    animation: slideFromTop 1s ease forwards;
}

.index-user-container img:hover {
    border-color: #4fc3f7;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.section-title-line {
    display: flex;
    align-items: center;
    width: 490px;
    margin: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.line {
    flex-grow: 1;
    height: 2px;
    background-color: #333;
    margin-right: 10px;
}

.category-dropdown {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.875rem;
    border-radius: 10px;
    border: none;
    background-color: #2f2f2f;
    color: #ffff;
    outline: none;
    cursor: pointer;
    padding: 8px;
}

.filter-container {
    width: 230px;
    background-color: #2f2f2f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: none;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    height: 6rem;
    flex-direction: column;
    justify-content: center;
    display: flex;
}

.welcomeUser {
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 300;
    color: #ffff;
    text-align: center;
    max-width: 300px;
    transform: translateY(0);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.filter-container h2 {
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
}

.overview-item {
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
    line-height: 25px;
    letter-spacing: 0.3px;
    border-left: 2px solid rgba(0, 150, 255, 0.4);
    padding-left: 10px;
    transition: all 0.3s ease;
}


.index-user-container {
    top: 70px;
    width: 230px;
    background-color: #2f2f2f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    display: flex;
}

.secret-tag {
    align-self: flex-start;
    margin-top: 10px;
    font-size: 0.875rem;
    font-weight: 300;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    cursor: pointer;
}

.content-container {
    position: fixed;
    left: 13%;
    top: 70px;
    width: 15%;
    max-width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.content-container h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.user-content-container p {
    font-size: 0.8125rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    text-align: left;
}

.user-content-container {
    position: sticky;
    top: 70px;
    width: 205px;
    background-color: #2f2f2f;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height:88vh;
    overflow-y: auto;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    flex-shrink: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: slideFromLeft 1s ease forwards;
}

.user-content-container h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.remove-icon {
    background: none;
    border: none;
    color: #cc2f2f;
    font-size: 0.8125rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
}

.remove-icon i {
    pointer-events: none;
}

.followers-list {
    list-style-type: none;
    padding: 0;
}

/* ----------------------- FOLLOEWRS AND FOLLOWING -------------------------------------------------- */

#private-message, #block-message {
    display: none;
    color: #ff6b6b;
    background-color: #3a3a3a;
    border: 1px solid #4a4a4a;
    border-left: 4px solid #ff6b6b;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    margin-top: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

#Deleted-message {
    display: none;
    color: #ff6b6b;
    background-color: #3a3a3a;
    border: 1px solid #4a4a4a;
    border-left: 4px solid #ff6b6b;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 300;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 500px;
    margin-top: 70px;
}

.header-followers {
    font-size: 1.3rem;
    color: #ffff;
    text-align: left;
    padding-bottom: 8px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    animation: fadeIn 1s ease-in-out;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.subheader-followers {
    font-size: 1rem;
    color: #999;
    text-align: left;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    animation: fadeIn 1.1s ease-in-out;
    font-weight: 300;
}

.local-likes-modal {
    flex-direction: column;
    max-height: 60vh;
}

.modal-header h3{
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffff;
}

.follower-item {
    display: flex;
    align-items: center;
    background: none;
    border-radius: 10px;
    margin: 10px 0;
    transition: transform 0.1s, box-shadow 0.1s;
    cursor: pointer;
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
    width: 475px;
}

.reaction-item {
    display: flex;
    align-items: center;
    background: #2f2f2f;
    border-radius: 10px;
    margin: 10px 0;
    transition: transform 0.1s, box-shadow 0.1s;
    cursor: pointer;
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
    width: 100%;
}

.reaction-item span {
    font-size: 0.875rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.follower-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.follower-item-content img {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 2px solid rgb(255,255,255,0.3);
    image-rendering: auto;
    object-fit: cover;
}

.follower-item-content img:hover {
    border-color: #4fc3f7;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.follower-item-content span {
    font-size: 0.8rem;
    font-weight: 300;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

/* ----------------------- UPDATE INFORMATION ------------------------------ */

.profile-picture {
    position: relative;
    text-align: center;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    overflow: hidden;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    image-rendering: auto;
    display: block;
    border: 2px solid #ccc;
}

.profile-picture img:hover {
  border-color: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.edit-profile-pic-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #2f2f2f;
    font-weight: 300;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    border-radius: 50%;
    padding: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
     border: none;
}

.save-profile-btn {
    background-color: #3a3a3a;
    color: #ffff;
    border: 1px solid rgb(255,255,255,0.3);
    padding: 6px 10px;
    font-size: 0.875rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-container label {
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.form-container input,
.form-container textarea {
    padding: 8px;
    border: 1px solid rgb(255,255,255,0.3);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    background-color: #2f2f2f;
    color: #ffff;
    margin-bottom: 1em;
}

.form-container input[readonly] {
    background-color: #2f2f2f;
    cursor: not-allowed;
}

#save-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

#save-btn:hover {
    background-color: #45a049;
}

.close-modal {
    position: absolute;
    padding: 8px 16px;
    background: linear-gradient(to right, #2196F3, #64B5F6);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.close-modal:hover {
    background: linear-gradient(to right, #2196F3, #64B5F6);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.close-modal:active {
    transform: scale(0.95);
}

.active-reaction {
    color: lightblue;
}   

.reaction-tooltip {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    white-space: nowrap;
    pointer-events: auto;
    display: none;
}

.reaction-tooltip div {
    margin-bottom: 4px;
}

.reaction-tooltip div:last-child {
    margin-bottom: 0;
}

/* ----------------------- BLOCKED USER -------------------------------------------------- */

#followersnfollowingcontent p {
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    text-align: center;
    color: #ffff;
}

.settings-options {
    position: relative;
    display: none;
    max-width: 490px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.settings-options a {
    display: block;
    padding: 15px 16px;
    color: #ffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgb(255,255,255,0.3);
    cursor: pointer;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
}

.settings-options a:last-child {
    border-bottom: none;
}

#settings-options h3.blocked-users-heading,
#settings-options h3.allaccouns-users-heading,  
#settings-options h3, 
#nested-options h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
}

#blocked-users-list, #all-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.blocked-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blocked-user-item img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    object-fit: cover;
}

.blocked-user-item span {
    font-size: 0.8125rem;
    color: #ffff;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    cursor: pointer;
}

/* ----------------------- NOTIFICATIONS -------------------------------------------------- */

#notifications, #events, #follow_requests {
    max-height: 57vh;
    overflow-y: auto;
    z-index: 100;
    position: relative;
    scrollbar-width: none;
    animation: fadeIn 1s;
}

#notifications::-webkit-scrollbar {
  scrollbar-width: none;
}

#notification-link.has-unread {
    font-weight: bold;
    color: #1e90ff;
}

.notification-profile-pic {
    width: 35px;
    height: 35px; 
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.notification-profile-pic:hover {
  border-color: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.notification span {
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0.85rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    color: #ffff;
    font-weight: 300;
    margin-left: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;  
}

.notification-time {
    font-size: 0.7rem !important;
    color: #999 !important;
    user-select: none;
    margin-left: -0px !important;
}

.noti-likepost-pic {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: auto;
    flex-shrink: 0;
}

.noti-likepost-pic:hover {
  border-color: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.event-add-button {
    position: absolute;
    top: auto;
    right: 10px;
    width: 36px;
    border: none;
    color: #ffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background: none;
}

#notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50px);
    background-color: #3a3a3a;
    color: #ffff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    font-size: 15px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

#notification .icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

#notification.success .icon {
    color: #4caf50;
}

#notification.error .icon {
    color: #f44336;
}

#notification.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

#notification.hidden {
    display: none;
}

.notification_center {
    position: sticky;
    top: 70px;
    width: 350px;
    height: 65vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: #2f2f2f;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    z-index: 10;
    animation: slideFromRight 1s ease forwards;
}

.notification_center::-webkit-scrollbar {
    display: none;
}

.tabs {
    display: flex;
    position: sticky;
    top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(255,255,255,0.3);
    background-color: #2f2f2f;
}

/* ringing animation */
@keyframes ring {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(5deg); }
  60% { transform: rotate(-5deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0); }
}

.bell-active i {
  animation: ring 0.7s ease-in-out infinite;
  transform-origin: top center;
}


.tab-btn {
    padding: 10px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    font-size: 0.95rem;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-weight: 300;
    color: #ffff;
    transition: background-color 1s ease, color 1s ease, font-weight 1s ease;
}


.tab-btn.active {
    background: linear-gradient(135deg, #4facfe, #3a7bd5, #2a5298);
    background-size: 200% 200%;
    animation: gradientFlow 2s ease infinite;
    color: #f0f6ff;
    font-weight: 300;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35), 
                inset 0 -2px 6px rgba(255, 255, 255, 0.15),
                0 0 20px rgba(80, 150, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.tab-content {
    padding: 10px;
    display: none;
}

.tab-content.active {
    display: block;
}

.no-follow-requests {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 530;
    color: #ffff;
    padding: 15px;
    margin: 10px auto;
    background: none;
    max-width: 300px;
    animation: fadeIn 0.5s ease-out forwards;
}

#noti-follow-requests-list {
    list-style: none;
    padding: 0px 15px;
    margin: 5px auto;
    max-width: 600px;
    background: #2f2f2f;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out forwards;
}

.notification {
    display: flex;
    align-items: center;
    padding: 2px;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    font-size: 0.8125rem;
    gap: 5px;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

ul, li {
    list-style: none;
}

.noti-follow-request-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 7px;
    transition: background 0.3s ease;
    gap: 5px;
}

.noti-user-info {
    display: flex;
    align-items: center;
    gap: 9px;
}

.noti-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgb(255,255,255,0.3);
}

.noti-profile-pic:hover {
  border-color: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
}

.noti-username a {
    color: #ffff;
    font-size: 0.875rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;    
    text-decoration: none;
}

.noti-subtext {
    font-size: 0.8rem;
    color: #999;
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}

.noti-actions {
    display: flex;
    gap: 8px;
}

.noti-btn {
    padding: 6px 5px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.1s ease, border-color 0.1s ease;
}

.noti-accept-btn {
    background: #0095f6;
    color: #fff;
    border-color: #0095f6;
}

.noti-accept-btn:hover {
    background: #007cc2;
    border-color: #007cc2;
}

.noti-decline-btn {
    background: #fafafa;
    color: #262626;
    border: 1px solid #ddd;
}

.noti-decline-btn:hover {
    background: #f4f4f4;
}

.noti-btn:active {
    transform: scale(0.98);
}

.request-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  color: white;
  background-color: #6c757d;
}

.request-type-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

#requestFilter {
    padding: 8px 5px;
    border: 1px solid rgb(255,255,255,0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: #2f2f2f;
    color: #ffff;
    width: 325px;
    transition: border-color 0.3s ease;
}

#requestFilter:focus {
    border-color: #007bff;
    outline: none;
}

:root{
  --txt:#ffff; 
  --muted:#9aa0a6;
  --bg:#171717;
  --bg-soft:#1c1c1c;
  --line:rgba(255,255,255,.08);
  --brand:#6da8ff;
  --personal: #38d79f;
  --pro: #6da8ff;
  --shadow: 0 1px 0 rgba(0,0,0,.6), 0 8px 24px rgba(0,0,0,.32);
}

.swich-about{
  max-width: 860px;
  margin: 70px auto;
  padding: 0 16px;
  font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
  color: var(--txt);
}

.about-hero{ margin-bottom: 16px; text-align: left; }
.about-hero h2{
  font-size: 28px; line-height: 1.2; margin: 0 0 6px; color: #ffff; font-weight: 300;
}
.tagline{ margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.mode-chips{ display: flex; gap: 8px; flex-wrap: wrap; }

.chip{
    font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    color: var(--txt);
    backdrop-filter: blur(4px);
}
.chip-personal {
  border-color: rgba(56,215,159,.35);
  background: rgba(56,215,159,.12);
  color: var(--personal);
}

.chip-professional {
  border-color: rgba(66,133,244,.35);
  background: rgba(66,133,244,.12);
  color: var(--pro);
}

.about-body{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.about-body p{ margin: 0 0 10px; line-height: 25px; color: var(--txt); text-align: justify; }
.value-list{ margin: 10px 0 14px; padding-left: 18px; }
.value-list li{ margin: 6px 0; color: var(--txt); }

.audience h3{
  font-size: 16px; margin: 12px 0 6px; color: var(--brand);
}
.audience ul{ margin: 6px 0 8px; padding-left: 18px; }
.audience ul li, .faq-item ul li{
  margin-bottom: 10px;
}

.closing{ margin-top: 6px; color: var(--muted); }

.ep-card{
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
  background: linear-gradient(180deg, rgba(109,168,255,.10), rgba(109,168,255,0) 70%), var(--bg);
  box-shadow: var(--shadow);
}
.ep-card h3, .about-body h3{ margin: 0 0 8px; font-size: 1.5rem; color: var(--brand); font-family: 'Helvetica Neue', 'Roboto medium', sans-serif; font-weight: 300;}
.ep-card ul{ margin: 6px 0 8px; padding-left: 18px; }
.note{ font-size: 13px; color: var(--muted); margin-top: 6px; font-family: 'Helvetica Neue', 'Roboto medium', sans-serif; }

.faq{ margin-top: 22px; }
.faq h2{ font-size: 1.9rem; margin: 0 0 10px; color: #ffff; font-family: 'Helvetica Neue', 'Roboto medium', sans-serif; font-weight: 300;}

.faq-item{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  margin-bottom: 10px;
  padding: 0 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.5);
}
.faq-item > summary{
  list-style: none; cursor: pointer; padding: 14px 6px; font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
  font-weight: 300; display: flex; align-items: center; gap: 10px;
  color: var(--txt);
}
.faq-item > summary::-webkit-details-marker{ display:none; }

.faq-item > summary::before{
  content: "▸"; transition: transform .18s ease;
  font-size: 14px; color: var(--brand); font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;
}
.faq-item[open] > summary::before{ transform: rotate(90deg); }

.faq-item p, .faq-item ul{
  margin: 0 0 12px; padding-left: 0; color: var(--txt);
}
.faq-item ul{ padding-left: 18px; }

.faq-item:hover{ border-color: rgba(109,168,255,.3); }
.faq-item:focus-within{ outline: 2px solid rgba(109,168,255,.35); outline-offset: 2px; }
a{ color: var(--brand); text-decoration: none; }

a:hover{ text-decoration: underline; }

@media (max-width: 520px){
  .about-hero h2{ font-size: 24px; font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;}
  .faq h2{ font-size: 20px; font-family: 'Helvetica Neue', 'Roboto medium', sans-serif;}
}

@media (max-width: 977px) {
    .index-sidebar,
    .notification_center,
    .user-content-container,
    .sidebar-header {
        display: none;
    }
    #chatContainerWrapper {
        display: none;
    }
    .chat-toggle-btn {
       display: block;
    }
    .post-card{
        width: 97%;
        margin-left: 45px
    }
    .media-container img,
    .media-container video {
        width: 100%;
     }
    .media-item {
        width: 100%;
    }
    .search-bar-container {
        margin-left:30px;
    }
    #search-results {
        margin-left: 60px;
    }
    .prof-bio{
        margin-left: 60px;
        width: auto;
    }
    .modal-content{
        width: 99%;
    }
    .preview-post-card {
        width: 110%;
    }
    .modal-overlay {
        width: 100%;
        height: 118vh;
    }
    .preview-post-card input[type="text"],
    .preview-post-card input[type="url"],
    .preview-post-card select,
    .preview-post-card textarea {
        min-width: 0px;
    }
    .tab-btn{
        width: 120px;
    }
    .tab-content{
        width: auto;
        max-height: 1vh;
    }
    .notification_center {
        position: fixed;
        width: 455px;
        margin-left: 45px;
        flex-direction: column;
        height: 100vh;
    }
    .settings-options,
    .nested-options,
    .delete-account{
        margin-left: 50px;
    }
    #profile-tabs-container{
        margin-left: 50px;
        height: 600px;
    }
    .reel-item {
        width: auto;
        max-width: 470px;
    }
}

