    /* Main Container */
    .feed-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .fancybox__container {
    top: 100px !important;   /* adjust according to navbar height */
    height: calc(100% - 100px) !important;
}

    /* Post Form Styles - Smaller and Vertical *//* Premium Post Form - Unified Design */
.post-form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.post-form {
    display: flex;
    flex-direction: column;
}

/* Unified input area */
.unified-input-area {
    background: #f8fafc;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: 1.25rem;
}

.unified-input-area:focus-within {
    background: white;
    border-color: #cb9f00;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.08);
}

/* Title input - no border, just clean */
#postTitle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 500;
    outline: none;
}

#postTitle::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.95rem;
}

/* Image upload - integrated below title */
.image-upload-section {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #edf2f7;
}

.image-upload-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
    background: white;
    border: 1px solid #e9eef2;
}

.image-upload-area:hover {
    background: #f0f7ff;
    border-color: #cda206;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.1);
}

.image-upload-area i {
    font-size: 1.1rem;
    color: #af9006;
}

.image-upload-area span {
    color: #2d3a4f;
    font-size: 0.9rem;
    font-weight: 500;
}

.image-upload-area small {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

/* Image preview - clean grid */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Action buttons - refined */
.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
    flex: 1;
}

.btn-primary {
    background-color: #1877f2;
    color: white;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
}

.btn-primary:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.25);
}

.btn-secondary {
    background-color: #f0f2f5;
    color: #1a1a1a;
    border: 1px solid #e4e6eb;
}

.btn-secondary:hover {
    background-color: #e4e6eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Remove any duplicate/conflicting styles */
.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: none; /* Hide the label since we have placeholder */
}

    /* Posts Feed Styles */
    .feed {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .post-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        padding: 1rem;
        position: relative;
    }

    .post-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        position: relative;
    }

    .post-author-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #1877f2;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1rem;
    }

    .post-author-info {
        flex: 1;
    }

    .post-author-name {
        font-weight: 600;
        color: #1a1a1a;
        font-size: 0.95rem;
        margin-bottom: 0.15rem;
    }

    .post-time {
        font-size: 0.75rem;
        color: #9ca3af;
    }

    .post-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #1a1a1a;
    }

    /* Three Dots Menu Styles */
    .post-menu-container {
        position: relative;
        margin-left: auto;
    }

    .post-menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
        transition: all 0.2s;
    }

    .post-menu-btn:hover {
        background-color: #f0f2f5;
        color: #1877f2;
    }

    .post-menu-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        min-width: 160px;
        z-index: 100;
        margin-top: 5px;
        overflow: hidden;
    }

    .menu-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        cursor: pointer;
        transition: background-color 0.2s;
        color: #dc2626;
    }

    .menu-item:hover {
        background-color: #fef2f2;
    }

    .menu-item svg {
        color: #dc2626;
    }

    .menu-item span {
        font-size: 0.9rem;
        font-weight: 500;
    }

    /* Image Grid Styles - Increased size */
    .post-image-grid {
        display: grid;
        gap: 2px;
        margin: 0.75rem 0;
        border-radius: 12px;
        overflow: hidden;
        width: 100%;
        max-height: 500px;
    }

    /* Grid layouts based on image count */
    .post-image-grid[data-images="1"] {
        grid-template-columns: 1fr;
        aspect-ratio: 16/9;
    }

    .post-image-grid[data-images="2"] {
        grid-template-columns: 1fr 1fr;
        aspect-ratio: 16/9;
    }

    .post-image-grid[data-images="3"] {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        aspect-ratio: 4/3;
    }

    .post-image-grid[data-images="3"] .grid-item:first-child {
        grid-row: span 2;
    }

    .post-image-grid[data-images="4"] {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        aspect-ratio: 1/1;
    }

    .post-image-grid[data-images="5"],
    .post-image-grid[data-images="6"],
    .post-image-grid[data-images="7"],
    .post-image-grid[data-images="8"],
    .post-image-grid[data-images="9"],
    .post-image-grid[data-images="10"] {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        aspect-ratio: 1/1;
    }

    .post-image-grid[data-images="5"] .grid-item:first-child,
    .post-image-grid[data-images="6"] .grid-item:first-child,
    .post-image-grid[data-images="7"] .grid-item:first-child,
    .post-image-grid[data-images="8"] .grid-item:first-child,
    .post-image-grid[data-images="9"] .grid-item:first-child,
    .post-image-grid[data-images="10"] .grid-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .grid-item {
        position: relative;
        cursor: pointer;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

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

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

    /* More images overlay - only on 4th image */
    .grid-item.has-overlay {
        position: relative;
    }

    .more-images-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        font-weight: bold;
        pointer-events: none;
        z-index: 2;
    }

    /* Lightbox Styles */
    .lightbox-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }

    .lightbox-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-image-container {
        position: relative;
        max-width: 90vw;
        max-height: 90vh;
        display: inline-block;
    }

    .lightbox-image-container img {
        max-width: 90vw;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
        display: block;
    }

    .lightbox-close {
        position: absolute;
        top: -20px;
        right: -20px;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        z-index: 1002;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .lightbox-prev,
    .lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.15);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 16px;
        font-size: 30px;
        cursor: pointer;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        z-index: 1001;
        backdrop-filter: blur(4px);
    }

    .lightbox-prev {
        left: 30px;
    }

    .lightbox-next {
        right: 30px;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
        border-color: rgba(255, 255, 255, 0.6);
    }

    .lightbox-counter {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 16px;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 8px 24px;
        border-radius: 30px;
        z-index: 1001;
        font-weight: 500;
        letter-spacing: 1px;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Sample Posts Badge */
    .sample-post-badge {
        background-color: #e4e6eb;
        color: #4b5563;
        padding: 0.4rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }

    /* Image Preview Styles */
    .image-preview {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .preview-item {
        position: relative;
    }

    .preview-item img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Report Modal Styles - Simplified */
    .report-modal {
        display: none;
        position: fixed;
        z-index: 1100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        align-items: center;
        justify-content: center;
    }

    .report-modal-content {
        background: white;
        border-radius: 12px;
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        animation: modalSlideIn 0.3s ease;
    }

    @keyframes modalSlideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .report-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .report-modal-header h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0;
    }

    .report-modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #6b7280;
        padding: 4px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .report-modal-close:hover {
        background-color: #f3f4f6;
        color: #1a1a1a;
    }

    .report-modal-body {
        padding: 1.5rem;
    }

    /* Screenshot upload section */
    .screenshot-upload-section {
        margin-top: 1.5rem;
    }

    .screenshot-upload-section label {
        font-weight: 500;
        color: #4b5563;
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .screenshot-upload-area {
        border: 1px dashed #e0e0e0;
        border-radius: 6px;
        padding: 1rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
        background-color: #fafafa;
    }

    .screenshot-upload-area:hover {
        border-color: #1877f2;
        background-color: #f0f2f5;
    }

    .screenshot-upload-area .upload-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .screenshot-upload-area span {
        color: #4b5563;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.25rem;
    }

    .screenshot-upload-area small {
        color: #9ca3af;
        font-size: 0.75rem;
    }

    .screenshot-preview {
        margin-top: 1rem;
    }

    .screenshot-preview-item {
        position: relative;
        display: inline-block;
    }

    .screenshot-preview-item img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }

    .remove-screenshot {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #dc2626;
        color: white;
        border: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: all 0.2s;
    }

    .remove-screenshot:hover {
        background: #b91c1c;
        transform: scale(1.1);
    }

    .report-modal-footer {
        display: flex;
        gap: 0.75rem;
        padding: 1.5rem;
        border-top: 1px solid #e5e7eb;
    }

    .report-modal-footer .btn {
        flex: 1;
    }

    /* Toast Notification */
    .toast-notification {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background-color: #10b981;
        color: white;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 1200;
        opacity: 0;
        transition: all 0.3s ease;
        text-align: center;
        white-space: nowrap;
    }

    .toast-notification.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .lightbox-prev,
        .lightbox-next {
            width: 50px;
            height: 50px;
            font-size: 24px;
            padding: 12px;
        }
        
        .lightbox-prev {
            left: 15px;
        }
        
        .lightbox-next {
            right: 15px;
        }
        
        .lightbox-close {
            top: -15px;
            right: -15px;
            width: 40px;
            height: 40px;
            font-size: 22px;
        }
        
        .lightbox-counter {
            bottom: 20px;
            font-size: 14px;
            padding: 6px 20px;
        }

        .toast-notification {
            font-size: 0.85rem;
            padding: 0.75rem 1.5rem;
            white-space: normal;
            width: 90%;
            text-align: center;
        }
    }

    /* Small mobile adjustments */
    @media (max-width: 480px) {
        .lightbox-close {
            top: -10px;
            right: -10px;
            width: 36px;
            height: 36px;
            font-size: 20px;
        }
        
        .lightbox-prev,
        .lightbox-next {
            width: 44px;
            height: 44px;
            font-size: 20px;
        }
    }
