* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
    color: #262626;
}

.container {
    max-width: 935px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #dbdbdb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 54px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 24px;
    color: #0095f6;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #262626;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #262626;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #0095f6;
}

.nav-link.login-link,
.nav-link.signup-link {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.nav-link.login-link:hover {
    background-color: #e0e0e0;
}

.nav-link.signup-link {
    background-color: #0095f6;
    color: #fff;
}

.nav-link.signup-link:hover {
    background-color: #0084d4;
    color: #fff;
}

/* Main content */
.main {
    margin-top: 54px;
    padding: 30px 0;
}

/* Feed */
.feed {
    max-width: 614px;
    margin: 0 auto;
}

/* Posts */
.post {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    margin-bottom: 24px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.location {
    font-size: 12px;
    color: #8e8e8e;
}

.post-options {
    background: none;
    border: none;
    cursor: pointer;
    color: #262626;
    font-size: 16px;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #262626;
    transition: color 0.2s;
}

.action-btn:hover {
    color: #8e8e8e;
}

.like-btn.liked {
    color: #ed4956;
}

.post-info {
    padding: 0 16px 16px;
}

.likes {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.caption {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 8px;
}

.caption .username {
    font-weight: 600;
    margin-right: 8px;
}

/* Comments */
.comments {
    margin-bottom: 12px;
}

.comment {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 18px;
}

.comment-username {
    font-weight: 600;
    margin-right: 8px;
    color: #262626;
}

.comment-text {
    color: #262626;
}

.view-comments {
    color: #8e8e8e;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.view-comments:hover {
    color: #262626;
}

.add-comment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #efefef;
    margin-top: 12px;
}

.comment-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 0;
    background: transparent;
}

.comment-input::placeholder {
    color: #8e8e8e;
}

.comment-submit {
    background: none;
    border: none;
    color: #0095f6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.comment-submit.active {
    opacity: 1;
}

.comment-submit:hover.active {
    color: #00376b;
}

/* Fish details */
.fish-details {
    margin: 12px 0;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.fish-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #0095f6;
    font-weight: 500;
}

.fish-location i {
    color: #0095f6;
}

.fish-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #65676b;
}

.fish-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fish-stats i {
    color: #0095f6;
}

/* Reply button */
.reply-btn {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    font-weight: 600;
}

.reply-btn:hover {
    color: #262626;
}

/* Comments modal */
.comments-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
}

.comments-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 67%;
    background: white;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUpFromBottom 0.3s ease-out;
}

@keyframes slideUpFromBottom {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.comments-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #dbdbdb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comments-modal-title {
    font-weight: 600;
    font-size: 16px;
}

.comments-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8e8e8e;
}

.comments-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.comment-thread {
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
}

.comment-main {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-username-modal {
    font-weight: 600;
    font-size: 14px;
}

.comment-time {
    color: #8e8e8e;
    font-size: 12px;
}

.comment-text-modal {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #8e8e8e;
}

.comment-action {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.comment-action:hover {
    color: #262626;
}

.comment-replies {
    margin-left: 44px;
    margin-top: 8px;
}

.reply-input-container {
    display: none;
    margin-left: 44px;
    margin-top: 8px;
}

.reply-input-container.active {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reply-input {
    flex: 1;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.reply-submit {
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.comments-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #dbdbdb;
    display: flex;
    gap: 12px;
    align-items: center;
}

.comments-modal-input {
    flex: 1;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
}

.comments-modal-submit {
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

/* Map modal */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.map-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    height: 70%;
    display: flex;
    flex-direction: column;
}

.map-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #dbdbdb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-container {
    flex: 1;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-align: center;
}

.map-pin {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #e74c3c;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

.location-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px;
    border-radius: 8px;
    text-align: left;
}

/* Story modal */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.story-modal-content {
    max-width: 400px;
    width: 90%;
    height: 80%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.story-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.story-username {
    font-weight: 600;
    font-size: 14px;
}

.story-time {
    font-size: 12px;
    opacity: 0.8;
}

.story-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Comment likes and replies */
.comment-like-icon {
    color: #8e8e8e;
    font-size: 14px;
    margin-right: 4px;
    transition: color 0.2s;
}

.comment-like-icon.liked {
    color: #ed4956;
}

.comment-action {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-action:hover {
    color: #262626;
}

.reply-input-container {
    display: none;
    margin-left: 44px;
    margin-top: 8px;
}

.reply-input-container.active {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reply-input {
    flex: 1;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.reply-submit {
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.comment-likes {
    color: #8e8e8e;
    font-size: 12px;
    margin-left: 8px;
}

.comment-likes.liked {
    color: #ed4956;
    font-weight: 600;
}

.show-replies {
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.show-replies:hover {
    color: #262626;
}

.show-replies i {
    transition: transform 0.2s;
}

.show-replies.expanded i {
    transform: rotate(180deg);
}

.comment-replies {
    margin-left: 44px;
    margin-top: 8px;
    display: none;
}

.comment-replies.visible {
    display: block;
}

.reply-item {
    margin-bottom: 12px;
}

/* Post options menu */
.post-options-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    min-width: 150px;
    display: none;
}

.post-options-menu.visible {
    display: block;
}

.post-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s;
}

.post-option:hover {
    background-color: #f8f9fa;
}

.post-option.danger {
    color: #ed4956;
}

.post-option.danger:hover {
    background-color: #fef2f2;
}

.post-header {
    position: relative;
}
.search-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-filter {
    background: #f0f2f5;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-filter.active {
    background: #0095f6;
    color: white;
}

.search-filter:hover {
    background: #e4e6ea;
}

.search-filter.active:hover {
    background: #00376b;
}
.image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin: 8px 0;
    object-fit: cover;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 2px dashed #dbdbdb;
    border-radius: 6px;
    background-color: #fafafa;
    transition: all 0.2s;
    font-size: 14px;
}

.file-input-display:hover {
    border-color: #0095f6;
    background-color: #f0f8ff;
}

.file-input-display i {
    font-size: 20px;
    color: #0095f6;
}

.profile-edit-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-image-wrapper {
    position: relative;
    cursor: pointer;
}

.profile-image-wrapper:hover .profile-edit-overlay {
    opacity: 1;
}

.profile-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    color: white;
    font-size: 14px;
}

.new-post {
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 15px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover {
    color: #000;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-form input,
.upload-form textarea,
.upload-form select {
    padding: 8px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    font-size: 14px;
}

.upload-form textarea {
    resize: vertical;
    min-height: 60px;
}

.upload-btn {
    background-color: #0095f6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.upload-btn:hover {
    background-color: #00376b;
}

.search-container {
    padding: 20px;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result:hover {
    background-color: #f8f8f8;
}

.search-result img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-username {
    font-weight: 600;
    font-size: 14px;
}

.search-result-name {
    color: #8e8e8e;
    font-size: 14px;
}

.post-time {
    color: #8e8e8e;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .stories {
        margin: 0 -16px 20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .post {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .post:last-child {
        border-bottom: 1px solid #dbdbdb;
    }
}

/* Hover effects */
.story:hover .story-avatar {
    transform: scale(1.05);
    transition: transform 0.2s;
}

.post-user:hover .username {
    color: #0095f6;
    cursor: pointer;
}

/* Loading animation for images */
.post-image {
    background-color: #f8f8f8;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image img {
    transition: opacity 0.3s;
}
/* Toggle replies button */
.toggle-replies {
    display: flex;
    align-items: center;
    gap: 4px;
}

.toggle-replies i {
    transition: transform 0.2s;
}

/* Image modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 65%;
    max-height: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enlarged-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    min-width: 450px;
    min-height: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.image-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 1002;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 1);
}

/* Responsive design for image modal */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 80%;
        max-height: 80%;
    }
    
    .enlarged-image {
        min-width: 350px;
        min-height: 350px;
    }
    
    .image-modal-close {
        top: 10px;
        right: 10px;
        position: fixed;
        background: rgba(255, 255, 255, 0.9);
        color: #262626;
    }
    
    .image-modal-close:hover {
        background: rgba(255, 255, 255, 1);
    }
}

/* Fish select container */
.fish-select-container {
    position: relative;
}

.fish-select-container input {
    margin-bottom: 8px;
}

.fish-select-container select option {
    display: block;
}
/* Activity tabs */
.activity-tabs {
    display: flex;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 20px;
}

.activity-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #8e8e8e;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.activity-tab.active {
    color: #262626;
    border-bottom-color: #0095f6;
}

.activity-tab:hover {
    color: #262626;
}

.activity-content {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 4px;
    margin-top: 20px;
}

.grid-post {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.grid-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.grid-post:hover img {
    transform: scale(1.05);
}

.grid-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.grid-post:hover .grid-post-overlay {
    opacity: 1;
}

.grid-post-stats {
    display: flex;
    gap: 16px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.grid-post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Post header actions */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.post-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Follow button */
.follow-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.follow-btn:hover {
    background: #00376b;
}

.follow-btn.following {
    background: #dbdbdb;
    color: #262626;
}

.follow-btn.following:hover {
    background: #c7c7c7;
}

/* Following list */
.following-list {
    margin-top: 20px;
}

.following-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
}

.following-item:last-child {
    border-bottom: none;
}

.following-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.following-info {
    flex: 1;
}

.following-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.following-name {
    font-size: 14px;
    color: #8e8e8e;
    margin-top: 2px;
}

.following-bio {
    font-size: 12px;
    color: #8e8e8e;
    margin-top: 4px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unfollow-btn {
    background: #dbdbdb;
    color: #262626;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.unfollow-btn:hover {
    background: #c7c7c7;
}
/* Fullscreen post modal */
.fullscreen-post-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-post-content {
    display: flex;
    width: 90%;
    height: 85%;
    max-width: 1200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.fullscreen-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s;
}

.fullscreen-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.fullscreen-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.fullscreen-post-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fullscreen-sidebar {
    width: 350px;
    background: white;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #dbdbdb;
}

.fullscreen-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #efefef;
}

.fullscreen-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.fullscreen-user-info {
    display: flex;
    flex-direction: column;
}

.fullscreen-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.fullscreen-location {
    font-size: 12px;
    color: #8e8e8e;
}

.fullscreen-post-info {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.fullscreen-caption {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 16px;
}

.fullscreen-caption-username {
    font-weight: 600;
    margin-right: 8px;
}

.fullscreen-fish-details {
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.fullscreen-fish-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #0095f6;
    font-weight: 500;
}

.fullscreen-fish-location i {
    color: #0095f6;
}

.fullscreen-fish-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #65676b;
}

.fullscreen-fish-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fullscreen-fish-stats i {
    color: #0095f6;
}

.fullscreen-actions {
    padding: 16px;
    border-top: 1px solid #efefef;
}

.fullscreen-action-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.fullscreen-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #262626;
    transition: color 0.2s, transform 0.2s;
    padding: 8px;
    border-radius: 50%;
}

.fullscreen-action-btn:hover {
    color: #8e8e8e;
    background: #f8f9fa;
}

.fullscreen-action-btn.liked {
    color: #ed4956;
}

.fullscreen-action-btn.bookmarked {
    color: #262626;
}

.fullscreen-likes {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fullscreen-likes:hover {
    color: #8e8e8e;
}

/* Responsive design for fullscreen modal */
@media (max-width: 768px) {
    .fullscreen-post-content {
        flex-direction: column;
        width: 95%;
        height: 90%;
    }
    
    .fullscreen-sidebar {
        width: 100%;
        height: 40%;
    }
    
    .fullscreen-image-container {
        height: 60%;
    }
}
/* Fullscreen follow button */
.fullscreen-follow-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: auto;
}

.fullscreen-follow-btn:hover {
    background: #00376b;
}

.fullscreen-follow-btn.following {
    background: #dbdbdb;
    color: #262626;
}

.fullscreen-follow-btn.following:hover {
    background: #c7c7c7;
}

/* Comments overlay */
.fullscreen-comments-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: white;
    border-left: 1px solid #dbdbdb;
    display: none;
    flex-direction: column;
    z-index: 10;
}

.fullscreen-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #efefef;
    font-weight: 600;
    font-size: 16px;
}

.fullscreen-comments-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #8e8e8e;
    padding: 4px;
}

.fullscreen-comments-close:hover {
    color: #262626;
}

.fullscreen-comments-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.fullscreen-comment {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fullscreen-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fullscreen-comment-content {
    flex: 1;
}

.fullscreen-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.fullscreen-comment-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.fullscreen-comment-time {
    font-size: 12px;
    color: #8e8e8e;
}

.fullscreen-comment-text {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 8px;
    color: #262626;
}

.fullscreen-comment-actions {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

.fullscreen-comment-like,
.fullscreen-comment-reply {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fullscreen-comment-like:hover,
.fullscreen-comment-reply:hover {
    color: #262626;
}

.fullscreen-comment-like.liked {
    color: #ed4956;
}

.fullscreen-comments-footer {
    padding: 16px;
    border-top: 1px solid #efefef;
    display: flex;
    gap: 12px;
    align-items: center;
}

.fullscreen-comments-input {
    flex: 1;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
}

.fullscreen-comments-submit {
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.fullscreen-comments-submit:hover {
    background: #00376b;
}

/* Mobile responsive for comments overlay */
@media (max-width: 768px) {
    .fullscreen-comments-overlay {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1003;
    }
}
/* Fullscreen comment threads and replies */
.fullscreen-comment-thread {
    margin-bottom: 20px;
}

.fullscreen-comment-replies {
    margin-left: 44px;
    margin-top: 12px;
    display: block;
}

.fullscreen-reply {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.fullscreen-toggle-replies {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fullscreen-toggle-replies:hover {
    color: #262626;
}

.fullscreen-toggle-replies i {
    transition: transform 0.2s;
}

.fullscreen-reply-input-container {
    display: none;
    margin-left: 44px;
    margin-top: 8px;
    gap: 8px;
    align-items: center;
}

.fullscreen-reply-input-container.active {
    display: flex;
}

.fullscreen-reply-input {
    flex: 1;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.fullscreen-reply-submit {
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.fullscreen-reply-submit:hover {
    background: #00376b;
}

.fullscreen-reply-like {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fullscreen-reply-like:hover {
    color: #262626;
}

.fullscreen-reply-like.liked {
    color: #ed4956;
}
/* User Profile Modal */
.user-profile-container {
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

.user-profile-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.user-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-profile-avatar.clickable-profile-avatar {
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.user-profile-avatar.clickable-profile-avatar:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.user-profile-info {
    flex: 1;
}

.user-profile-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.user-profile-username {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    color: #262626;
}

.user-profile-follow-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.user-profile-follow-btn:hover {
    background: #00376b;
}

.user-profile-follow-btn.following {
    background: #dbdbdb;
    color: #262626;
}

.user-profile-follow-btn.following:hover {
    background: #c7c7c7;
}

.user-profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.user-profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.user-profile-stat.clickable {
    cursor: pointer;
    transition: opacity 0.2s;
}

.user-profile-stat.clickable:hover {
    opacity: 0.7;
}

.user-profile-stat strong {
    font-size: 18px;
    color: #262626;
}

.user-profile-stat span {
    font-size: 14px;
    color: #8e8e8e;
}

.user-profile-name {
    font-weight: 600;
    font-size: 16px;
    color: #262626;
    margin-bottom: 8px;
}

.user-profile-bio {
    font-size: 14px;
    color: #262626;
    line-height: 18px;
}

.user-profile-tabs {
    display: flex;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 20px;
}

.user-profile-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #8e8e8e;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.user-profile-tab.active {
    color: #262626;
    border-bottom-color: #0095f6;
}

.user-profile-tab:hover {
    color: #262626;
}

.user-profile-tab i {
    font-size: 16px;
}

.user-profile-content {
    position: relative;
    min-height: 300px;
}

.user-profile-tab-content {
    display: none;
}

.user-profile-tab-content.active {
    display: block;
}

.user-profile-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 4px;
}

.user-profile-post,
.user-profile-post-item {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.user-profile-post img,
.user-profile-post-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.user-profile-post:hover img,
.user-profile-post-item:hover img {
    transform: scale(1.05);
}

.user-profile-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.user-profile-post:hover .user-profile-post-overlay,
.user-profile-post-item:hover .user-profile-post-overlay {
    opacity: 1;
}

.user-profile-post-stats {
    display: flex;
    gap: 16px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-profile-post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-profile-users-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-profile-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.user-profile-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-profile-user-info {
    flex: 1;
}

.user-profile-user-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.user-profile-user-name {
    font-size: 14px;
    color: #8e8e8e;
    margin-top: 2px;
}

.user-profile-user-follow-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.user-profile-user-follow-btn:hover {
    background: #00376b;
}

.user-profile-user-follow-btn.following {
    background: #dbdbdb;
    color: #262626;
}

.user-profile-user-follow-btn.following:hover {
    background: #c7c7c7;
}

.user-profile-empty {
    text-align: center;
    color: #8e8e8e;
    font-size: 16px;
    padding: 40px 20px;
}

.user-profile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.user-profile-loading i {
    margin-bottom: 16px;
}

.user-profile-loading p {
    margin: 0;
    font-size: 14px;
}

/* Responsive design for user profile */
@media (max-width: 768px) {
    .user-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .user-profile-stats {
        justify-content: center;
    }
    
    .user-profile-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
/* Clickable usernames and avatars */
.clickable-username {
    cursor: pointer !important;
    transition: opacity 0.2s;
}

.clickable-username:hover {
    opacity: 0.7;
}

.clickable-avatar {
    cursor: pointer !important;
    transition: opacity 0.2s;
}

.clickable-avatar:hover {
    opacity: 0.8;
}

.fullscreen-username.clickable-username {
    cursor: pointer !important;
}

.fullscreen-caption-username.clickable-username {
    cursor: pointer !important;
}

.fullscreen-comment-username.clickable-username {
    cursor: pointer !important;
}

/* Authentication Modal */
.auth-modal {
    background: rgba(0, 0, 0, 0.9) !important;
}

.auth-modal .modal-content {
    max-width: 400px;
    width: 90%;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.auth-container {
    padding: 30px;
    text-align: center;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.auth-header .logo i {
    font-size: 32px;
    color: #0095f6;
}

.auth-header .logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #262626;
    margin: 0;
}

.auth-header p {
    color: #8e8e8e;
    font-size: 14px;
    margin: 0;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #8e8e8e;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.auth-tab.active {
    color: #262626;
    border-bottom-color: #0095f6;
}

.auth-tab:hover {
    color: #262626;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form input {
    padding: 12px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    border-color: #0095f6;
}

.auth-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.auth-btn:hover {
    background: #00376b;
}

.auth-demo {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dbdbdb;
}

.auth-demo p {
    color: #8e8e8e;
    font-size: 14px;
    margin-bottom: 10px;
}

.demo-btn {
    background: #f8f9fa;
    color: #262626;
    border: 1px solid #dbdbdb;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 70px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1001;
    font-size: 14px;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.notification.success {
    background: #28a745;
    color: white;
}

.notification.error {
    background: #dc3545;
    color: white;
}

.notification.info {
    background: #262626;
    color: white;
}

/* Upload success modal */
.upload-success-modal .modal-content {
    max-width: 500px;
    padding: 0;
}

.upload-success-container {
    text-align: center;
    padding: 24px;
}

.upload-success-header h2 {
    color: #262626;
    margin: 0 0 8px 0;
    font-size: 24px;
}

.upload-success-header p {
    color: #8e8e8e;
    margin: 0 0 24px 0;
}

.upload-success-preview {
    margin: 24px 0;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
}

.upload-success-post-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #efefef;
}

.upload-success-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
}

.upload-success-user-info {
    display: flex;
    flex-direction: column;
}

.upload-success-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.upload-success-location {
    font-size: 12px;
    color: #8e8e8e;
}

.upload-success-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.upload-success-details {
    padding: 16px;
    text-align: left;
}

.upload-success-caption {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.upload-success-fish-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fish-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8e8e8e;
}

.fish-info-item i {
    width: 14px;
}

.upload-success-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.upload-success-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-success-btn.primary {
    background: #0095f6;
    color: white;
}

.upload-success-btn.primary:hover {
    background: #00376b;
}

.upload-success-btn.secondary {
    background: #efefef;
    color: #262626;
}

.upload-success-btn.secondary:hover {
    background: #dbdbdb;
}
/* Share modal */
.share-modal-container {
    padding: 24px;
    text-align: center;
}

.share-modal-container h2 {
    margin: 0 0 8px 0;
    color: #262626;
}

.share-modal-container p {
    margin: 0 0 24px 0;
    color: #8e8e8e;
}

.share-preview {
    margin: 24px 0;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
}

.share-preview-post {
    display: flex;
    padding: 12px;
    align-items: center;
}

.share-preview-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.share-preview-info {
    flex: 1;
    text-align: left;
}

.share-preview-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    margin-bottom: 4px;
}

.share-preview-caption {
    font-size: 12px;
    color: #8e8e8e;
    margin-bottom: 4px;
}

.share-preview-fish {
    font-size: 12px;
    color: #0095f6;
    font-weight: 500;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.share-option:hover {
    background: #f8f9fa;
    border-color: #0095f6;
}

.share-option i {
    width: 20px;
    margin-right: 12px;
    color: #8e8e8e;
}

.share-option:hover i {
    color: #0095f6;
}

.share-option span {
    font-size: 14px;
    color: #262626;
}
/* Enhanced search modal */
.search-container {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
}

.search-input:focus {
    border-color: #0095f6;
}

.search-results {
    min-height: 200px;
}

.search-placeholder,
.search-loading,
.search-no-results,
.search-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.search-loading {
    flex-direction: row;
    justify-content: center;
}

.search-result {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 8px;
}

.search-result:hover {
    background-color: #f8f9fa;
}

.search-result-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    margin-bottom: 2px;
}

.search-result-name {
    font-size: 14px;
    color: #8e8e8e;
    margin-bottom: 2px;
}

.search-result-bio {
    font-size: 12px;
    color: #8e8e8e;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-actions {
    margin-left: 12px;
}

.search-follow-btn {
    padding: 6px 16px;
    border: 1px solid #0095f6;
    border-radius: 4px;
    background: #0095f6;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-follow-btn:hover {
    background: #00376b;
    border-color: #00376b;
}

.search-follow-btn.following {
    background: #efefef;
    color: #262626;
    border-color: #dbdbdb;
}

.search-follow-btn.following:hover {
    background: #dbdbdb;
}
/* Likes modal */
.likes-modal .modal-content {
    max-width: 400px;
    max-height: 70vh;
    padding: 0;
}

.likes-modal-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.likes-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #efefef;
    text-align: center;
}

.likes-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
}

.likes-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    min-height: 200px;
}

.likes-loading,
.likes-empty,
.likes-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.likes-loading {
    flex-direction: row;
    justify-content: center;
}

.likes-loading i {
    margin-right: 8px;
    color: #8e8e8e;
}

.likes-user-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.likes-user-item:hover {
    background-color: #f8f9fa;
}

.likes-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    cursor: pointer;
}

.likes-user-info {
    flex: 1;
}

.likes-user-username {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
    cursor: pointer;
    margin-bottom: 2px;
}

.likes-user-username:hover {
    text-decoration: underline;
}

.likes-user-name {
    font-size: 14px;
    color: #8e8e8e;
}

.likes-user-actions {
    margin-left: 12px;
}

.likes-follow-btn {
    padding: 6px 16px;
    border: 1px solid #0095f6;
    border-radius: 4px;
    background: #0095f6;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.likes-follow-btn:hover {
    background: #00376b;
    border-color: #00376b;
}

.likes-follow-btn.following {
    background: #efefef;
    color: #262626;
    border-color: #dbdbdb;
}

.likes-follow-btn.following:hover {
    background: #dbdbdb;
}

/* Make likes clickable */
.clickable-likes {
    cursor: pointer;
    transition: color 0.2s ease;
}

.clickable-likes:hover {
    color: #8e8e8e;
}