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

        html {
            height: 100%;
            position: fixed;
            width: 100%;
            overflow: hidden;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #f1f2f2;
            height: 100vh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            position: relative;
        }

        .navbar {
            background-color: #2777b9;
            padding: 0 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 60px;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            color: white;
            text-decoration: none;
            font-family: Georgia, serif;
        }

        .nav-menu {
            display: flex;
            gap: 25px;
            align-items: center;
            list-style: none;
        }

        .nav-link {
            color: white;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            padding: 8px 12px;
            border-radius: 4px;
            transition: background-color 0.2s;
        }

        .nav-link:hover {
            background-color: rgba(255,255,255,0.1);
        }

        .nav-link.active {
            background-color: rgba(255,255,255,0.15);
        }

        .nav-link i {
            font-size: 20px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .search-box {
            position: relative;
        }

        .search-input {
            background-color: rgba(255,255,255,0.2);
            border: none;
            border-radius: 4px;
            padding: 8px 35px 8px 15px;
            color: white;
            width: 450px;
            outline: none;
            font-size: 14px;
        }

        .search-input::placeholder {
            color: rgba(255,255,255,0.7);
        }

        .search-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.8);
        }

        .icon-btn {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: background-color 0.2s;
        }

        .icon-btn:hover {
            background-color: rgba(255,255,255,0.1);
        }

        .profile-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: white;
            font-weight: 600;
            font-size: 14px;
            border: none;
            transition: background-color 0.2s;
        }
        
        .profile-btn:hover {
            opacity: 0.8;
        }

        .add-btn {
            background-color: hsl(0, 0%, 89%);
            color: rgb(0, 0, 0);
            border: none;
            border-radius: 20px;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.2s;
        }

        .add-btn:hover {
            background-color: #d0d0d0;
        }

        .main-content {
            margin-top: 80px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
            padding: 20px;
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 20px;
        }

        /* Sidebar Profile */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .profile-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .profile-header {
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
            position: relative;
        }

        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #6c757d;
            border: 4px solid white;
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: white;
            cursor: pointer;
            font-weight: 600;
        }

        .profile-edit-icon {
            position: absolute;
            bottom: 0;
            right: 0;
            background-color: #2777b9;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
            cursor: pointer;
            font-size: 12px;
        }

        .profile-body {
            padding: 50px 20px 20px;
            text-align: center;
        }

        .profile-name {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }

        .profile-title {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
        }

        .profile-location {
            font-size: 12px;
            color: #888;
            margin-bottom: 8px;
        }

        .profile-school {
            font-size: 12px;
            color: #888;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .profile-stats {
            display: flex;
            justify-content: space-between;
            padding: 15px 20px;
            border-top: 1px solid #e0e0e0;
            margin-top: 15px;
        }

        .stat {
            flex: 1;
            text-align: center;
        }

        .stat-label {
            font-size: 11px;
            color: #666;
            margin-bottom: 3px;
        }

        .stat-value {
            font-size: 16px;
            font-weight: bold;
            color: #2777b9;
        }

        .sidebar-section {
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .sidebar-section-title {
            font-size: 13px;
            color: #666;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s;
            text-decoration: none;
            color: #333;
            font-size: 14px;
        }

        .sidebar-link:hover {
            background-color: #f0f0f0;
        }

        .sidebar-link i {
            width: 20px;
            color: #666;
        }

        /* Feed */
        .feed {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .post-creator {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .post-input-area {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
        }

        .post-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            flex-shrink: 0;
            font-weight: 600;
        }

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

        .post-input {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 24px;
            padding: 12px 20px;
            font-size: 14px;
            outline: none;
            font-family: inherit;
            transition: border-color 0.2s;
        }

        .post-input:focus {
            border-color: #2777b9;
        }

        .post-actions {
            display: flex;
            gap: 15px;
            padding-left: 60px;
        }

        .post-action-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px;
            border: none;
            background: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            color: #666;
            transition: background-color 0.2s;
        }

        .post-action-btn:hover {
            background-color: #f0f0f0;
        }

        .post-action-btn i {
            font-size: 20px;
        }

        .post-action-btn.video i {
            color: #22a552;
        }

        .post-action-btn.photo i {
            color: #378fe9;
        }

        .post-action-btn.article i {
            color: #e16745;
        }

        /* Post Card */
        .post-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 15px;
        }

        .post-header {
            padding: 15px 20px;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
        }

        .post-author-info {
            display: flex;
            gap: 12px;
        }

        .post-author-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            font-weight: 600;
        }

        .post-author-details h3 {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 3px;
        }

        .post-author-meta {
            font-size: 12px;
            color: #666;
        }

        .post-menu-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: #666;
            font-size: 20px;
            padding: 5px;
        }

        .post-content {
            padding: 0 20px 15px;
            font-size: 14px;
            line-height: 1.5;
            color: #333;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .post-content p {
            margin: 0;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .post-actions-bar {
            display: flex;
            padding: 10px 20px;
            border-top: 1px solid #e0e0e0;
        }

        .post-action {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px;
            border: none;
            background: none;
            cursor: pointer;
            color: #666;
            font-size: 14px;
            border-radius: 4px;
            transition: background-color 0.2s;
        }

        .post-action:hover {
            background-color: #f0f0f0;
        }

        .post-action i {
            font-size: 18px;
        }

        .post-action.liked {
            color: #2777b9;
        }
        
        .post-action.disliked {
            color: #e74c3c;
        }

        /* Post Stats */
        .post-stats {
            display: flex;
            justify-content: space-between;
            padding: 10px 20px;
            font-size: 13px;
            color: #666;
            border-top: 1px solid #e0e0e0;
        }

        /* Comments Section */
        .post-comments-section {
            display: none;
            padding: 15px 20px;
            background: #f9f9f9;
            border-top: 1px solid #e0e0e0;
        }

        .post-comments-section.active {
            display: block;
        }

        .comments-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .comment-item {
            margin-bottom: 10px;
            padding: 8px;
            background: white;
            border-radius: 4px;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .comment-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 13px;
            font-family: inherit;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .comment-input:focus {
            outline: none;
            border-color: #2777b9;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
        }

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

        .form-group {
            margin-bottom: 15px;
        }

        .form-label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            font-weight: 500;
            color: #333;
        }

        .form-input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            font-family: inherit;
        }

        .form-input:focus {
            outline: none;
            border-color: #2777b9;
        }

        .btn-primary {
            background-color: #2777b9;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 24px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.2s;
        }

        .btn-primary:hover {
            background-color: #1e5f8c;
        }

        .hidden {
            display: none;
        }

        /* Hashtag Link Styling */
        .hashtag-link {
            color: #2777b9;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid transparent;
        }
        
        .hashtag-link:hover {
            text-decoration: underline;
            color: #1e5f8c;
            border-bottom-color: #2777b9;
        }
        
        /* Hashtag Suggestion List */
        .hashtag-suggestion-list {
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            max-height: 250px;
            overflow-y: auto;
            z-index: 9999;
        }
        
        .hashtag-suggestion-item {
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.2s;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .hashtag-suggestion-item:last-child {
            border-bottom: none;
        }
        
        .hashtag-suggestion-item:hover,
        .hashtag-suggestion-item.selected {
            background: #f9f9f9;
        }
        
        .hashtag-suggestion-content {
            flex: 1;
            min-width: 0;
        }
        
        .hashtag-suggestion-name {
            font-weight: 600;
            color: #333;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .hashtag-suggestion-meta {
            font-size: 12px;
            color: #999;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }