/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    background-color: #f7f9fa;
}

a {
    text-decoration: none;
    color: #1da1f2;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* App Container */
.app-container {
    display: grid;
    grid-template-columns: 275px 1fr 350px;
    min-height: 100vh;
    max-width: 1500px;
    margin: 0 auto;
}

/* Sidebar Styles */
.sidebar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.left-sidebar {
    padding-left: 20px;
    padding-right: 20px;
    border-right: 1px solid #eaeaea;
}

.right-sidebar {
    padding-left: 30px;
    padding-right: 20px;
    border-left: 1px solid #eaeaea;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.logo-image {
    height: 150px;
    width: 150px;
    cursor: pointer;
}

.logo-image:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.main-nav ul li {
    margin-bottom: 8px;
}

.main-nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s;
    position: relative;
}

.main-nav ul li a:hover {
    background-color: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.main-nav ul li.active a {
    font-weight: 700;
    color: #1da1f2;
}

.main-nav ul li a i {
    font-size: 1.3rem;
    margin-right: 15px;
}

.badge {
    background-color: #1da1f2;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.post-btn {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin: 15px 0;
    background-color: #1da1f2;
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.post-btn:hover {
    background-color: #1a91da;
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-top: auto;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
}

/* User profile gizleme artık yeni horizontal scroll sistemi tarafından yönetiliyor */

.user-profile:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

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

.user-info h3 {
    font-size: 1rem;
    font-weight: 700;
}

.user-info p {
    font-size: 0.9rem;
    color: #657786;
}

/* Main Content Styles */
.main-content {
    border-right: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    min-height: 100vh;
}

.content-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.view-options {
    display: flex;
}

.view-options button {
    padding: 10px 15px;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.view-options button.active {
    border-bottom: 2px solid #1da1f2;
    color: #1da1f2;
}

/* Post Creator */
.post-creator {
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
}

.post-creator img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
}

.post-input-container {
    flex-grow: 1;
}

.post-input-container textarea {
    width: 100%;
    border: none;
    resize: none;
    font-size: 1.1rem;
    font-family: inherit;
    margin-bottom: 15px;
    padding: 10px 0;
    outline: none;
    min-height: 80px;
}

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

.post-attachments {
    display: flex;
}

.post-attachments button {
    color: #1da1f2;
    font-size: 1.2rem;
    margin-right: 15px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.post-attachments button:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.post-submit {
    display: flex;
    align-items: center;
}

.token-boost {
    display: flex;
    align-items: center;
    color: #f4a261;
    font-weight: 500;
    margin-right: 15px;
    cursor: pointer;
}

.token-boost i {
    margin-right: 5px;
}

.post-btn-small {
    background-color: #1da1f2;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.post-btn-small:hover {
    background-color: #1a91da;
}

/* Feed and Posts */
.feed {
    padding: 0 20px;
}

.post {
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    display: flex;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
}

.post-content {
    flex-grow: 1;
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

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

.post-user-info h4 {
    font-weight: 700;
    margin-right: 5px;
}

.username, .post-time {
    color: #657786;
    font-size: 0.9rem;
}

.post-menu {
    color: #657786;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.post-menu:hover {
    background-color: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.post-text {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.post-image {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
}

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

.post-link {
    color: #1da1f2;
    display: block;
    margin-bottom: 10px;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    max-width: 425px;
}

.post-action {
    display: flex;
    align-items: center;
    color: #657786;
    transition: color 0.2s;
}

.post-action i {
    font-size: 1.2rem;
    margin-right: 5px;
}

.post-action:hover {
    color: #1da1f2;
}

.post-action:nth-child(2):hover {
    color: #17bf63;
}

.post-action:nth-child(3):hover {
    color: #e0245e;
}

.post-action:nth-child(4):hover {
    color: #f4a261;
}

/* Token Status */
.token-status {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.token-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.token-balance {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.token-balance i {
    font-size: 2rem;
    color: #f4a261;
    margin-right: 15px;
}

.balance-info h4 {
    font-size: 0.9rem;
    color: #657786;
    margin-bottom: 5px;
}

.balance-info p {
    font-size: 1.3rem;
    font-weight: 700;
}

.token-actions {
    display: flex;
    justify-content: space-between;
}

.token-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.2s;
    font-size: 0.9rem;
    color: #333;
}

.token-action-btn:hover {
    background-color: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.token-action-btn i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Trending Section */
.trending {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trending h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.trending-topic {
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

.trending-topic:last-child {
    border-bottom: none;
}

.topic-category {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.topic-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.topic-posts {
    font-size: 0.9rem;
    color: #657786;
}



/* Footer */
.sidebar-footer {
    margin-top: 20px;
    padding: 15px 0;
    font-size: 0.8rem;
    color: #657786;
}

.sidebar-footer nav {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.sidebar-footer nav a {
    color: #657786;
    margin-right: 10px;
    margin-bottom: 5px;
}

.sidebar-footer nav a:hover {
    text-decoration: underline;
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.close-modal {
    font-size: 1.2rem;
    color: #657786;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #e0245e;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: flex-end;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .app-container {
        grid-template-columns: 220px 1fr 300px;
    }
}

@media (max-width: 992px) {
    .app-container {
        grid-template-columns: 80px 1fr 0;
    }
    
    .left-sidebar {
        padding-left: 10px;
        padding-right: 10px;
    }
    
            .main-nav ul li a span, .user-info, .post-btn span, .wallet-btn span {
        display: none !important;
    }
    
    .main-nav ul li a {
        justify-content: center;
        padding: 12px;
    }
    
    .main-nav ul li a i {
        margin-right: 0;
    }
    
    .post-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin: 15px auto;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .post-btn:after {
        content: "\f303";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1.2rem;
    }
    
    .right-sidebar {
        display: none;
    }
}

/* Eski mobile kuralları kaldırıldı - yeni horizontal scroll sistemi kullanılıyor */

/* Wallet Button Styles */
.wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background-color: #14F195;
    color: #191B1F;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 220px;
    box-shadow: 0 4px 10px rgba(20, 241, 149, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.wallet-btn:hover {
    background-color: #0BD180;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(20, 241, 149, 0.4);
}

.wallet-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(20, 241, 149, 0.4);
}

.wallet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.7s ease;
}

.wallet-btn:hover::before {
    left: 100%;
}

.wallet-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.wallet-btn.connected {
    background-color: #9945FF;
    color: white;
    box-shadow: 0 4px 10px rgba(153, 69, 255, 0.3);
}

.wallet-btn.connected:hover {
    background-color: #8233E8;
    box-shadow: 0 6px 12px rgba(153, 69, 255, 0.4);
}

/* Disconnect Dropdown */
.wallet-dropdown {
    position: absolute;
    top: 62px;
    left: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    width: 200px;
    z-index: 100;
    display: none;
    animation: fadeIn 0.2s ease;
}

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

.wallet-dropdown.show {
    display: block;
}

.wallet-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.wallet-dropdown-item:hover {
    background-color: #f7f9fa;
}

.wallet-dropdown-item i {
    margin-right: 10px;
    color: #657786;
}

.wallet-address {
    font-size: 0.85rem;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 8px;
    padding: 10px;
    background-color: #f7f9fa;
    border-radius: 5px;
    margin: 5px 10px 10px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Notification Styles for Wallet Connections */
.wallet-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background-color: white;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    max-width: 350px;
    display: flex;
    align-items: center;
}

.wallet-notification::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.wallet-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.wallet-notification.success {
    border-left: 5px solid #14F195;
}

.wallet-notification.success::before {
    background-color: #14F195;
}

.wallet-notification.error {
    border-left: 5px solid #FF6B6B;
}

.wallet-notification.error::before {
    background-color: #FF6B6B;
}

.wallet-notification.info {
    border-left: 5px solid #9945FF;
}

.wallet-notification.info::before {
    background-color: #9945FF;
}

/* Profile Page Styles - Twitter-like */
.simplified-profile {
    background-color: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.profile-top {
    position: relative;
    padding-bottom: 12px;
}

.profile-header-bg {
    height: 200px;
    background-color: #1DA1F2;
    position: relative;
}

.profile-avatar-modern {
    position: relative;
    margin-top: -60px;
    margin-left: 16px;
    z-index: 2;
}

.profile-avatar-modern .color-avatar {
    width: 120px;
    height: 120px;
    border: 4px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.change-avatar-btn {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.change-avatar-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.profile-info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
}

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

.profile-info-modern h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #14171a;
}

.wallet-username {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #657786;
}

.wallet-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f2f2f2;
    border-radius: 16px;
    padding: 4px 8px;
    font-size: 13px;
    gap: 4px;
    color: #1DA1F2;
}

.profile-bio {
    margin: 12px 0;
    color: #14171a;
    font-size: 15px;
    line-height: 1.4;
}

.profile-details-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #657786;
}

.profile-details-modern span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-details-modern a {
    color: #1DA1F2;
    text-decoration: none;
}

.edit-profile-container {
    margin-top: 16px;
}

.profile-btn {
    background: transparent;
    border: 1px solid #1DA1F2;
    color: #1DA1F2;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.edit-btn {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-btn:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.profile-stats-modern {
    display: flex;
    padding: 12px 16px;
    gap: 20px;
    border-bottom: 1px solid #e6ecf0;
}

.stat-modern {
    display: flex;
    gap: 4px;
    align-items: baseline;
}

.stat-value-modern {
    font-weight: 700;
    color: #14171a;
}

.stat-label-modern {
    color: #657786;
    font-size: 14px;
}

.profile-nav-modern {
    display: flex;
    border-bottom: 1px solid #e6ecf0;
    background-color: #fff;
}

.profile-nav-modern a {
    flex: 1;
    text-align: center;
    padding: 16px 0;
    color: #657786;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.profile-nav-modern a:hover {
    background-color: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

.profile-nav-modern a.active {
    color: #1DA1F2;
    border-bottom: 2px solid #1DA1F2;
}

/* Renkli Avatar Düzenlemeleri - Tüm Sayfalar İçin */
.color-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

/* Avatar renkleri */
.avatar-color-1 { background-color: #1DA1F2; }
.avatar-color-2 { background-color: #17BF63; }
.avatar-color-3 { background-color: #F45D22; }
.avatar-color-4 { background-color: #794BC4; }
.avatar-color-5 { background-color: #FFAD1F; }
.avatar-color-6 { background-color: #E0245E; }
.avatar-color-7 { background-color: #9BD1F9; }
.avatar-color-8 { background-color: #45B7D1; }

.color-avatar.single-color::after {
    content: attr(data-initial);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

/* 40px genişliğindeki avatarlar için */
.color-avatar[style*="width: 40px"]::after {
    font-size: 16px;
}

/* 32px genişliğindeki avatarlar için */
.color-avatar[style*="width: 32px"]::after {
    font-size: 14px;
}

/* Büyük avatarlar için */
.profile-avatar .color-avatar.single-color::after {
    font-size: 48px;
}

/* Edit Profile Modal Styles */
.edit-profile-modal .modal-content {
    max-width: 600px;
    width: 90%;
}

.edit-profile-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #e6ecf0;
}

.edit-profile-modal .modal-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

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

.edit-profile-form {
    padding: 15px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
    color: #14171a;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e6ecf0;
    border-radius: 4px;
    font-size: 15px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    display: block;
    text-align: right;
    color: #657786;
    font-size: 13px;
    margin-top: 5px;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.avatar-option {
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.avatar-option:hover {
    transform: scale(1.05);
}

.avatar-option.selected {
    border: 2px solid #1DA1F2;
    box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.2);
}

.avatar-option .color-avatar {
    width: 100%;
    height: 100%;
}

.token-visibility {
    margin-top: 25px;
}

.toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #1DA1F2;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-footer {
    padding: 15px;
    border-top: 1px solid #e6ecf0;
    text-align: right;
}

.save-profile-btn {
    background-color: #1DA1F2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.save-profile-btn:hover {
    background-color: #0c85d0;
}

/* Notification Styles */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hiding {
    transform: translateX(120%);
    opacity: 0;
}

.notification i {
    margin-right: 12px;
    font-size: 20px;
}

.notification.success i {
    color: #17BF63;
}

.notification.error i {
    color: #E0245E;
}

.notification.info i {
    color: #1DA1F2;
}

.notification p {
    flex: 1;
    margin: 0;
}

.close-notification {
    background: none;
    border: none;
    color: #657786;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.close-notification:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Comment Box Styles - Twitter-like Design - Enhanced Specificity */
.feed .comment-box,
.main-content .comment-box,
div.comment-box {
    background: #ffffff !important;
    border: none !important;
    border-top: 1px solid #e1e8ed !important;
    border-bottom: 1px solid #e1e8ed !important;
    border-left: 3px solid #1da1f2 !important;
    border-right: none !important;
    border-radius: 0 !important;
    margin: 12px 0 !important;
    padding: 16px 20px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    animation: slideDown 0.3s ease-out !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
}

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

.comment-box.hiding {
    animation: slideUp 0.3s ease-out forwards !important;
}

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

.comment-box .comment-header,
div.comment-box .comment-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.comment-box .comment-avatar,
div.comment-box .comment-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.comment-box .comment-avatar::after,
div.comment-box .comment-avatar::after {
    content: attr(data-initial) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    z-index: 10 !important;
}

.comment-box .comment-user-info,
div.comment-box .comment-user-info {
    flex: 1 !important;
}

.comment-box .comment-user-info h4,
div.comment-box .comment-user-info h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #14171a !important;
    margin: 0 8px 4px 0 !important;
    display: inline !important;
}

.comment-box .comment-user-info p,
div.comment-box .comment-user-info p {
    font-size: 15px !important;
    color: #657786 !important;
    margin: 0 !important;
    display: inline !important;
}

.comment-box .comment-input-container,
div.comment-box .comment-input-container {
    position: relative !important;
    flex: 1 !important;
    margin-top: 8px !important;
}

.comment-box .comment-textarea,
div.comment-box .comment-textarea {
    width: 100% !important;
    min-height: 60px !important;
    max-height: 200px !important;
    padding: 8px 0 !important;
    border: none !important;
    border-bottom: 2px solid #e1e8ed !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #14171a !important;
    background: transparent !important;
    resize: none !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.comment-box .comment-textarea:focus,
div.comment-box .comment-textarea:focus {
    border-bottom-color: #1da1f2 !important;
}

.comment-box .comment-textarea::placeholder,
div.comment-box .comment-textarea::placeholder {
    color: #657786 !important;
    font-size: 16px !important;
}

.comment-box .comment-footer,
div.comment-box .comment-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 12px !important;
    padding-top: 0 !important;
}

.comment-box .comment-char-count,
div.comment-box .comment-char-count {
    font-size: 13px !important;
    color: #657786 !important;
    font-weight: 500 !important;
}

.comment-box .comment-char-count.warning,
div.comment-box .comment-char-count.warning {
    color: #ff6b35 !important;
}

.comment-box .comment-char-count.error,
div.comment-box .comment-char-count.error {
    color: #e0245e !important;
}

.comment-box .comment-actions,
div.comment-box .comment-actions {
    display: flex !important;
    gap: 8px !important;
}

.comment-box .comment-btn,
div.comment-box .comment-btn {
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    outline: none !important;
    min-width: 70px !important;
}

.comment-box .comment-btn-cancel,
div.comment-box .comment-btn-cancel {
    background: white !important;
    color: #1da1f2 !important;
    border: 1px solid #1da1f2 !important;
}

.comment-box .comment-btn-cancel:hover,
div.comment-box .comment-btn-cancel:hover {
    background: rgba(29, 161, 242, 0.1) !important;
    color: #1a91da !important;
    border-color: #1a91da !important;
}

.comment-box .comment-btn-submit,
div.comment-box .comment-btn-submit {
    background: #1da1f2 !important;
    color: white !important;
    font-weight: bold !important;
}

.comment-box .comment-btn-submit:hover:not(:disabled),
div.comment-box .comment-btn-submit:hover:not(:disabled) {
    background: #1a91da !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3) !important;
}

.comment-box .comment-btn-submit:disabled,
div.comment-box .comment-btn-submit:disabled {
    background: #aab8c2 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.comment-box .comment-btn-submit:active:not(:disabled),
div.comment-box .comment-btn-submit:active:not(:disabled) {
    transform: translateY(0) !important;
}

/* Loading state */
.comment-box .comment-btn-submit.loading,
div.comment-box .comment-btn-submit.loading {
    position: relative !important;
    color: transparent !important;
}

.comment-box .comment-btn-submit.loading::after,
div.comment-box .comment-btn-submit.loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 16px !important;
    height: 16px !important;
    margin: -8px 0 0 -8px !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    border-top-color: transparent !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .comment-box,
    div.comment-box {
        margin: 8px 0 !important;
        padding: 12px 16px !important;
        border-left-width: 2px !important;
    }
    
    .comment-box .comment-avatar,
    div.comment-box .comment-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .comment-box .comment-avatar::after,
    div.comment-box .comment-avatar::after {
        font-size: 16px !important;
    }
    
    .comment-box .comment-textarea,
    div.comment-box .comment-textarea {
        font-size: 16px !important;
        min-height: 50px !important;
    }
    
    .comment-box .comment-actions,
    div.comment-box .comment-actions {
        gap: 6px !important;
    }
    
    .comment-box .comment-btn,
    div.comment-box .comment-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
        min-width: 60px !important;
    }
}

/* Comment Avatar Styles */
.comment-avatar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: white !important;
    font-weight: bold !important;
    text-align: center !important;
    line-height: 1 !important;
    position: relative !important;
}

.comment-avatar::before {
    content: attr(data-initial) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-weight: bold !important;
    color: white !important;
}

/* Profile page specific styles */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: #657786;
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #657786;
}

.empty-state-icon {
    font-size: 48px;
    color: #aab8c2;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #14171a;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
    color: #657786;
    margin: 0;
}

.post-type-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #657786;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 60px;
}

.post-type-indicator i {
    font-size: 12px;
}

/* Profile navigation tabs */
.profile-nav-modern {
    display: flex;
    border-bottom: 1px solid #e1e8ed;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.profile-nav-modern a {
    flex: 1;
    text-align: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #657786;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.profile-nav-modern a:hover {
    background-color: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.profile-nav-modern a.active {
    color: #1da1f2;
    border-bottom-color: #1da1f2;
    font-weight: 600;
}

/* Profile posts container */
.profile-posts {
    min-height: 400px;
}

/* Profile connect wallet message */
.profile-connect-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.connect-wallet-prompt {
    text-align: center;
    max-width: 400px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
}

.connect-wallet-icon {
    font-size: 64px;
    color: #1da1f2;
    margin-bottom: 24px;
}

.connect-wallet-prompt h2 {
    font-size: 28px;
    color: #14171a;
    margin-bottom: 16px;
    font-weight: 700;
}

.connect-wallet-prompt p {
    font-size: 16px;
    color: #657786;
    margin-bottom: 32px;
    line-height: 1.5;
}

.connect-wallet-btn {
    background: #1da1f2;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.connect-wallet-btn:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

/* Post Detail Modal Styles */
#postDetailModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 1000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

#postDetailModal.show {
    display: flex !important;
}

/* Modal Container */
.post-detail-container {
    background: white !important;
    border-radius: 16px !important;
    max-width: 1200px !important;
    width: 100% !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Modal Header */
.post-detail-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e1e8ed !important;
    background: white !important;
}

.post-detail-back {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #1da1f2 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.post-detail-close {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    color: #657786 !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 50% !important;
}

.post-detail-close:hover {
    background: #f7f9fa !important;
}

/* Modal Content - Image + Text Layout */
.post-detail-content.has-image {
    display: flex !important;
    flex: 1 !important;
    min-height: 0 !important;
}

.post-detail-image-section {
    flex: 1 !important;
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 400px !important;
}

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

.post-detail-text-section {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    border-left: 1px solid #e1e8ed !important;
}

/* Modal Content - Text Only Layout */
.post-detail-content.no-image {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
}

.post-detail-content.no-image .post-detail-text-section {
    border-left: none !important;
}

/* Post Main Content */
.post-detail-main {
    padding: 20px !important;
    border-bottom: 1px solid #e1e8ed !important;
}

.post-detail-author {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.post-detail-author .color-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
}

.post-detail-author-info h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #14171a !important;
}

.post-detail-author-info p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #657786 !important;
}

.post-detail-text {
    font-size: 18px !important;
    line-height: 1.5 !important;
    color: #14171a !important;
    margin-bottom: 12px !important;
}

.post-detail-meta {
    color: #657786 !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
}

/* Post Actions */
.post-detail-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e1e8ed !important;
}

.post-detail-action {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    color: #657786 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.post-detail-action:hover {
    background: #f7f9fa !important;
}

.post-detail-action.liked {
    color: #e0245e !important;
}

.post-detail-action.retweeted {
    color: #17bf63 !important;
}

/* Comment Form */
.post-detail-comment-form {
    border-bottom: 1px solid #e1e8ed !important;
}

.comment-form-container {
    display: flex !important;
    padding: 16px 20px !important;
    gap: 12px !important;
}

.comment-form-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.comment-form-input {
    flex: 1 !important;
}

.comment-form-textarea {
    width: 100% !important;
    border: none !important;
    outline: none !important;
    font-size: 16px !important;
    resize: none !important;
    min-height: 60px !important;
    padding: 12px 0 !important;
    font-family: inherit !important;
}

.comment-form-textarea::placeholder {
    color: #657786 !important;
}

.comment-form-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 8px !important;
}

.comment-char-count {
    color: #657786 !important;
    font-size: 13px !important;
}

.comment-submit-btn {
    background: #1da1f2 !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.comment-submit-btn:disabled {
    background: #aab8c2 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.comment-submit-btn:not(:disabled):hover {
    background: #1a91da !important;
}

/* Comments List */
.post-detail-comments {
    flex: 1 !important;
    overflow-y: auto !important;
    min-height: 0 !important;
}

.comments-list {
    padding: 0 20px !important;
}

/* 🚀 OPTIMISTIC COMMENT STYLES - Göz kırpması çözümü */
.optimistic-comment {
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.optimistic-comment::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #1da1f2, #17bf63);
    border-radius: 2px;
    animation: optimisticPulse 2s ease-in-out infinite;
}

.optimistic-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #657786;
    border: 1px solid #e1e8ed;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.optimistic-indicator i {
    animation: optimisticTick 1.5s ease-in-out infinite;
}

@keyframes optimisticPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes optimisticTick {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.comment-item {
    display: flex !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #e1e8ed !important;
    gap: 12px !important;
}

.comment-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

.comment-content {
    flex: 1 !important;
}

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

.comment-author h4 {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #14171a !important;
}

.comment-author p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #657786 !important;
}

.comment-text {
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #14171a !important;
}

.comments-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #657786 !important;
}

.comments-empty i {
    font-size: 48px !important;
    margin-bottom: 16px !important;
    display: block !important;
}

.comments-loading {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #657786 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .post-detail-modal {
        padding: 0;
    }
    
    .post-detail-container {
        border-radius: 0;
        max-height: 100vh;
        margin-top: 0;
    }
    
    .post-detail-content.has-image {
        flex-direction: column;
    }
    
    .post-detail-image-section {
        min-height: 300px;
        max-height: 40vh;
    }
    
    .post-detail-text-section {
        max-height: 60vh;
    }
    
    .post-detail-text {
        font-size: 16px;
    }
    
    .post-detail-main {
        padding: 16px;
    }
    
    .post-detail-comment-form {
        padding: 12px 16px;
    }
    
    .comment-item {
        padding: 12px 16px;
    }
}

/* Make posts clickable */
.post {
    cursor: pointer;
    transition: background-color 0.2s;
}

.post:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Prevent action buttons from triggering post click */
.post-action, .post-menu {
    position: relative;
    z-index: 2;
}

/* Responsive loading indicator */
@media (max-width: 576px) {
    .loading-indicator {
        margin: 15px 10px;
        padding: 15px;
    }
    
    .loading-spinner {
        font-size: 13px;
    }
    
    .loading-spinner i {
        font-size: 14px;
    }
}

/* Hashtag Styles */
.hashtag-link {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: white !important;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.9em;
    display: inline-block;
    margin: 1px 2px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.hashtag-link:hover {
    background: linear-gradient(135deg, #0d8bd9, #0a7bc4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3);
    color: white !important;
    text-decoration: none !important;
}

.hashtag-link:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(29, 161, 242, 0.2);
}

/* Post text formatting */
.post-text p {
    line-height: 1.4;
    word-wrap: break-word;
    white-space: pre-line;
}

/* Trending hashtag clickable styles */
.trending-topic .topic-name {
    transition: color 0.2s ease;
    cursor: pointer;
}

.trending-topic .topic-name:hover {
    color: #1da1f2;
}

/* Back to home button responsive */
@media (max-width: 576px) {
    .back-to-home {
        margin-right: 10px !important;
        padding: 6px !important;
        font-size: 16px !important;
    }
    
    .hashtag-link {
        padding: 1px 3px;
        margin: 0 1px;
        font-size: 14px;
    }
}

/* Hashtag Page Styles */
.hashtag-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.hashtag-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #14171a;
}

.hashtag-tabs {
    display: flex;
    border-bottom: 1px solid #e1e8ed;
}

.hashtag-tab {
    flex: 1;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #657786;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.hashtag-tab:hover {
    color: #1da1f2;
    background-color: rgba(29, 161, 242, 0.1);
}

.hashtag-tab.active {
    color: #1da1f2;
}

.hashtag-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #1da1f2;
    border-radius: 2px;
}

/* Empty hashtag state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #657786;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #aab8c2;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #14171a;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
    color: #657786;
    margin: 0;
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 40px 20px;
    color: #657786;
}

.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
    font-size: 16px;
    color: #1da1f2;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile responsive for hashtag page */
@media (max-width: 576px) {
    .hashtag-header {
        gap: 12px;
    }
    
    .hashtag-title h2 {
        font-size: 18px;
    }
    
    .hashtag-tab {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .hashtag-tab.active::after {
        width: 40px;
        height: 3px;
    }
    
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-state-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .empty-state h3 {
        font-size: 18px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
}

/* Clickable User Elements */
.clickable-user {
    cursor: pointer !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
}

.clickable-user:hover {
    color: #1da1f2 !important;
    opacity: 0.8 !important;
}

.post-user-info h4.clickable-user:hover,
.post-user-info .username.clickable-user:hover {
    text-decoration: underline !important;
}

.color-avatar.clickable-user:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3) !important;
}

/* User Profile Page Specific Styles */
.user-profile-page .back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1da1f2;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.user-profile-page .back-to-home:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.loading-profile {
    text-align: center;
    padding: 60px 20px;
    color: #657786;
}

.loading-profile i {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

.error-profile {
    text-align: center;
    padding: 60px 20px;
    color: #657786;
}

.error-profile i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e0245e;
}

/* Profile avatar size fix for user profile page */
.profile-avatar-modern .color-avatar {
    width: 120px !important;
    height: 120px !important;
}

.profile-avatar-modern .color-avatar::after {
    font-size: 48px !important;
}

/* Notification Badge Styles */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e0245e;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    z-index: 10;
}

.nav ul li a,
.main-nav ul li a {
    position: relative;
}

/* =============================================== */
/* ALGORITHM INDICATOR STYLES - Smart Posts       */
/* =============================================== */

.algorithm-indicators {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.algorithm-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e1e8ed;
    cursor: help;
    transition: all 0.2s ease;
}

.algorithm-indicator:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.algorithm-indicator.own {
    background: linear-gradient(135deg, #1da1f2, #0d7bd9);
    color: white;
    border: none;
}

.algorithm-indicator.new {
    background: linear-gradient(135deg, #17bf63, #12a757);
    color: white;
    border: none;
}

.algorithm-indicator.token {
    background: linear-gradient(135deg, #ffad1f, #e6941a);
    color: white;
    border: none;
}

.algorithm-indicator.viral {
    background: linear-gradient(135deg, #e0245e, #c91d52);
    color: white;
    border: none;
}

.smart-score-debug {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    cursor: help;
}

.smart-post {
    position: relative;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.smart-post:hover {
    border-color: rgba(29, 161, 242, 0.2);
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.1);
}

/* Error and Empty States for Smart Posts */
.error-state, .no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #657786;
}

.error-state i, .no-posts i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ccd6dd;
}

.error-state h3, .no-posts h3 {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: #14171a;
}

.error-state p, .no-posts p {
    margin-bottom: 16px;
}

.retry-button {
    padding: 10px 20px;
    background: #1da1f2;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.retry-button:hover {
    background: #1a91da;
}

/* Responsive Algorithm Indicators */
@media (max-width: 576px) {
    .algorithm-indicators {
        top: 4px;
        right: 4px;
        gap: 2px;
    }
    
    .algorithm-indicator {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .smart-score-debug {
        top: 4px;
        left: 4px;
        font-size: 10px;
        padding: 1px 4px;
    }
}

/* =============================== */
/* INFINITE SCROLL SYSTEM STYLES */
/* =============================== */

/* Infinite Scroll Trigger */
#infiniteScrollTrigger {
    position: relative;
    transition: all 0.3s ease;
}

#infiniteScrollTrigger .loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #657786;
    font-size: 14px;
    padding: 20px;
}

#infiniteScrollTrigger .loading-spinner i {
    animation: spin 1s linear infinite;
}

/* Smooth Post Loading Animation */
.post {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smart Post Enhanced Styles */
.smart-post {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.smart-post:hover {
    border-left-color: #1da1f2;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.1);
}

.smart-score-indicator {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.smart-post:hover .smart-score-indicator {
    opacity: 1;
}

/* Tab Switching Animation */
.hashtag-tab {
    transition: all 0.2s ease;
}

.hashtag-tab:not(.active):hover {
    background-color: rgba(29, 161, 242, 0.1);
    transform: translateY(-1px);
}

/* Post Actions Enhanced */
.post-action {
    transition: all 0.2s ease;
}

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

/* 🔥 ETKİLEŞİM RENK SİSTEMİ - GÜÇLÜ CSS */
.post-action.liked i.fa-heart,
.post-action.like-btn i.fa-heart.liked,
.like-btn .fa-heart.liked,
.post-action .fa-heart.liked {
    color: #e0245e !important;
    transition: color 0.2s ease !important;
}

.post-action.starred i.fa-star,
.post-action.retweet-btn i.fa-star.retweeted,
.retweet-btn .fa-star.retweeted,
.post-action .fa-star.retweeted {
    color: #ffad1f !important;
    transition: color 0.2s ease !important;
}

/* Post detail modal için de aynı stiller - GÜÇLÜ CSS */
.post-detail-action.liked i.fa-heart,
.post-detail-actions .liked i.fa-heart,
.post-detail-action.like-action.liked i.fa-heart,
.post-detail-action.like-action i.fa-heart.liked,
#postDetailModal .liked i.fa-heart,
#postDetailModal .fa-heart.liked {
    color: #e0245e !important;
    transition: color 0.2s ease !important;
}

.post-detail-action.retweeted i.fa-star,
.post-detail-actions .retweeted i.fa-star,
.post-detail-action.retweet-action.retweeted i.fa-star,
.post-detail-action.retweet-action i.fa-star.retweeted,
#postDetailModal .retweeted i.fa-star,
#postDetailModal .fa-star.retweeted {
    color: #ffad1f !important;
    transition: color 0.2s ease !important;
}

/* Modal'da hover efektleri */
#postDetailModal .post-detail-action.like-action:hover i.fa-heart,
#postDetailModal .post-detail-action.liked:hover i.fa-heart {
    color: #e0245e !important;
}

#postDetailModal .post-detail-action.retweet-action:hover i.fa-star,
#postDetailModal .post-detail-action.retweeted:hover i.fa-star {
    color: #ffad1f !important;
}

/* Modal'da zorla uygulama stilleri */
#postDetailModal [style*="color: #e0245e"] {
    color: #e0245e !important;
}

#postDetailModal [style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Hover efektleri */
.post-action.like-btn:hover i.fa-heart,
.post-action.liked:hover i.fa-heart {
    color: #e0245e !important;
}

.post-action.retweet-btn:hover i.fa-star,
.post-action.starred:hover i.fa-star {
    color: #ffad1f !important;
}

/* Zorla uygulama stilleri */
[style*="color: #e0245e"] {
    color: #e0245e !important;
}

[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Loading States */
.loading-posts {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.loading-posts .post {
    pointer-events: none;
}

/* Error States for Infinite Scroll */
.infinite-scroll-error {
    background: #ffe6e6;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    padding: 16px;
    margin: 16px;
    text-align: center;
    color: #cc0000;
}

.infinite-scroll-error i {
    font-size: 24px;
    margin-bottom: 8px;
}

.infinite-scroll-error button {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
}

.infinite-scroll-error button:hover {
    background: #1991db;
}

/* Hashtag Content Enhanced */
.hashtag-posts {
    position: relative;
}

/* Smart Algorithm Indicators (Enhanced) */
.algorithm-indicator {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 4px;
    transition: all 0.2s ease;
    cursor: help;
}

.algorithm-indicator:hover {
    transform: scale(1.1);
}

/* Tab Content Animation */
.hashtag-posts {
    min-height: 200px;
    transition: opacity 0.3s ease;
}

.tab-switching .hashtag-posts {
    opacity: 0.5;
}

/* Mobile Infinite Scroll Optimizations */
@media (max-width: 576px) {
    #infiniteScrollTrigger {
        margin: 10px 0;
    }
    
    #infiniteScrollTrigger .loading-spinner {
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .smart-post {
        border-left-width: 2px;
    }
    
    .post {
        animation-duration: 0.3s;
    }
    
    .algorithm-indicator {
        font-size: 11px;
        padding: 1px 4px;
    }
}

/* Performance Optimization Classes */
.posts-container {
    contain: layout style paint;
}

.post-item {
    will-change: transform, opacity;
}

/* Intersection Observer Loading */
.intersection-loading {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.intersection-loading.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Smart Score Display */
.smart-score-indicator {
    background: rgba(29, 161, 242, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    border: 1px solid rgba(29, 161, 242, 0.2);
}

/* Latest vs Most Liked Visual Differences */
.hashtag-posts[data-sort="latest"] .post {
    border-left: 2px solid transparent;
}

.hashtag-posts[data-sort="popular"] .post {
    border-left: 2px solid #1da1f2;
    background: linear-gradient(90deg, rgba(29, 161, 242, 0.02) 0%, transparent 100%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* End of Infinite Scroll System Styles */

/* 🔥 MODAL ETKİLEŞİM RENKLERİ - EK KONTROLLER */
#postDetailModal .like-action.liked,
#postDetailModal .like-action.liked i,
#postDetailModal .like-action.liked .fa-heart,
#postDetailModal .post-detail-action.liked,
#postDetailModal .post-detail-action.liked i,
#postDetailModal .post-detail-action.liked .fa-heart,
#postDetailModal .post-detail-action.like-action.liked,
#postDetailModal .post-detail-action.like-action.liked i,
#postDetailModal .post-detail-action.like-action i.fas.fa-heart.liked,
#postDetailModal .fas.fa-heart.liked {
    color: #e0245e !important;
}

#postDetailModal .retweet-action.retweeted,
#postDetailModal .retweet-action.retweeted i,
#postDetailModal .retweet-action.retweeted .fa-star,
#postDetailModal .post-detail-action.retweeted,
#postDetailModal .post-detail-action.retweeted i,
#postDetailModal .post-detail-action.retweeted .fa-star,
#postDetailModal .post-detail-action.retweet-action.retweeted,
#postDetailModal .post-detail-action.retweet-action.retweeted i,
#postDetailModal .post-detail-action.retweet-action i.fas.fa-star.retweeted,
#postDetailModal .fas.fa-star.retweeted {
    color: #ffad1f !important;
}

/* Modal'da inline style zorlaması */
#postDetailModal *[style*="color: #e0245e"] {
    color: #e0245e !important;
}

#postDetailModal *[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Modal'da ekstra güçlendirme */
#postDetailModal .post-detail-actions button.liked * {
    color: #e0245e !important;
}

#postDetailModal .post-detail-actions button.retweeted * {
    color: #ffad1f !important;
}

/* Modal'da çok güçlü selector'lar */
#postDetailModal .post-detail-actions .post-detail-action.liked > i,
#postDetailModal .post-detail-actions .post-detail-action.liked > i.fa-heart {
    color: #e0245e !important;
}

#postDetailModal .post-detail-actions .post-detail-action.retweeted > i,
#postDetailModal .post-detail-actions .post-detail-action.retweeted > i.fa-star {
    color: #ffad1f !important;
}

/* ===== COMMENT ETKİLEŞİM RENKLERİ - GÜÇLÜ SELECTOR'LAR ===== */

/* Comment Like Butonu - Kırmızı */
.comment-like-action.liked i,
.comment-like-action .liked,
.comment-like-action i.liked,
.comment-like-action i.fas.liked,
.comment-like-action .fas.liked,
.comment-item .comment-like-action.liked i,
.comment-item .comment-like-action i.liked,
.comment-item .comment-like-action i.fas.liked,
.comment-item .comment-like-action .fas.liked,
#postDetailModal .comment-like-action.liked i,
#postDetailModal .comment-like-action i.liked,
#postDetailModal .comment-like-action i.fas.liked,
#postDetailModal .comment-like-action .fas.liked,
#postDetailModal .comment-item .comment-like-action.liked i,
#postDetailModal .comment-item .comment-like-action i.liked,
#postDetailModal .comment-item .comment-like-action i.fas.liked,
#postDetailModal .comment-item .comment-like-action .fas.liked {
    color: #e0245e !important;
}

/* Comment Like Butonu - Hover */
.comment-like-action:hover i,
.comment-like-action:hover .fa-heart,
.comment-item .comment-like-action:hover i,
.comment-item .comment-like-action:hover .fa-heart {
    color: #e0245e !important;
    opacity: 0.7;
}

/* Comment Retweet (Star) Butonu - Sarı */
.comment-retweet-action.retweeted i,
.comment-retweet-action .retweeted,
.comment-retweet-action i.retweeted,
.comment-retweet-action i.fas.retweeted,
.comment-retweet-action .fas.retweeted,
.comment-item .comment-retweet-action.retweeted i,
.comment-item .comment-retweet-action i.retweeted,
.comment-item .comment-retweet-action i.fas.retweeted,
.comment-item .comment-retweet-action .fas.retweeted,
#postDetailModal .comment-retweet-action.retweeted i,
#postDetailModal .comment-retweet-action i.retweeted,
#postDetailModal .comment-retweet-action i.fas.retweeted,
#postDetailModal .comment-retweet-action .fas.retweeted,
#postDetailModal .comment-item .comment-retweet-action.retweeted i,
#postDetailModal .comment-item .comment-retweet-action i.retweeted,
#postDetailModal .comment-item .comment-retweet-action i.fas.retweeted,
#postDetailModal .comment-item .comment-retweet-action .fas.retweeted {
    color: #ffad1f !important;
}

/* Comment Retweet (Star) Butonu - Hover */
.comment-retweet-action:hover i,
.comment-retweet-action:hover .fa-star,
.comment-item .comment-retweet-action:hover i,
.comment-item .comment-retweet-action:hover .fa-star {
    color: #ffad1f !important;
    opacity: 0.7;
}

/* Comment Action Butonları - Genel */
.comment-action i {
    transition: color 0.3s ease;
}

.comment-action:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ===== PROFILE PAGE ETKİLEŞİM RENKLERİ - GÜÇLÜ SELECTOR'LAR ===== */

/* Profile Page Post Like - Kırmızı Kalp */
.profile-posts .post-action.like-action i.liked,
.profile-posts .post-action.like-action .liked,
.profile-posts .post-action .fa-heart.liked,
.profile-posts .like-action i.liked,
.profile-posts .like-btn i.liked,
.profile-posts article.post .like-action i.liked,
.profile-posts article.post .like-btn i.liked,
.profile-posts article.post .post-action.like-action i.liked,
.profile-posts article.post .post-action .fa-heart.liked {
    color: #e0245e !important;
    background-color: transparent !important;
}

/* Profile Page Post Retweet/Star - Sarı Yıldız */
.profile-posts .post-action.retweet-action i.retweeted,
.profile-posts .post-action.retweet-action .retweeted,
.profile-posts .post-action .fa-star.retweeted,
.profile-posts .retweet-action i.retweeted,
.profile-posts .retweet-btn i.retweeted,
.profile-posts article.post .retweet-action i.retweeted,
.profile-posts article.post .retweet-btn i.retweeted,
.profile-posts article.post .post-action.retweet-action i.retweeted,
.profile-posts article.post .post-action .fa-star.retweeted {
    color: #ffad1f !important;
    background-color: transparent !important;
}

/* Profile Page Post Action Buttons Hover States */
.profile-posts .post-action:hover .fa-heart {
    color: #e0245e !important;
}

.profile-posts .post-action:hover .fa-star {
    color: #ffad1f !important;
}

/* Profile Page Button State Classes */
.profile-posts .post-action.liked i,
.profile-posts .post-action.liked .fa-heart {
    color: #e0245e !important;
}

.profile-posts .post-action.retweeted i,
.profile-posts .post-action.retweeted .fa-star {
    color: #ffad1f !important;
}

/* Profile Page Specific Post Types */
.profile-posts .post.user-own-post .post-action.liked i,
.profile-posts .post.user-own-post .post-action.retweeted i {
    color: inherit !important;
}

.profile-posts .post.user-own-post .post-action.liked i.liked {
    color: #e0245e !important;
}

.profile-posts .post.user-own-post .post-action.retweeted i.retweeted {
    color: #ffad1f !important;
}

/* 🔥 ZORUNLU INLINE STYLE OVERRIDE */
.profile-posts [style*="color: #e0245e"] {
    color: #e0245e !important;
}

.profile-posts [style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Profile Posts Container Specific Styles */
.profile-posts .post-actions .post-action i[style*="color: #e0245e"] {
    color: #e0245e !important;
}

.profile-posts .post-actions .post-action i[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* 🔥 DOLU KALP IÇIN ÖZEL OVERRIDE */
.fa-heart.liked {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important; /* Solid font weight */
    color: #e0245e !important;
}

.fa-heart.fas.liked {
    font-weight: 900 !important; /* Solid font weight */
    color: #e0245e !important;
}

.fa-heart.fas {
    font-weight: 900 !important; /* Solid icon'larda font weight 900 */
}

.fa-heart.far {
    font-weight: 400 !important; /* Outline icon'larda font weight 400 */
}

/* Profile page dolu kalp */
.profile-posts .post-action .fa-heart.liked {
    font-weight: 900 !important;
    color: #e0245e !important;
}

/* Modal dolu kalp */
#postDetailModal .post-detail-action .fa-heart.liked {
    font-weight: 900 !important;
    color: #e0245e !important;
}

/* Genel dolu kalp override */
.post-action .fa-heart.liked,
.post-action .fa-heart.fas.liked,
.post-detail-action .fa-heart.liked,
.post-detail-action .fa-heart.fas.liked {
    font-weight: 900 !important;
    color: #e0245e !important;
}

/* ===== HASHTAG SAYFASI ÖZELLEŞTİRMELERİ ===== */
/* Hashtag sayfasında like ve star butonlarının renkleri */
.hashtag-header ~ .feed .post-action .fa-heart.liked,
.hashtag-header ~ .feed .post-action .fa-heart.fas.liked,
.hashtag-header ~ .feed .post-action i.liked,
.hashtag-header ~ .feed .post-action i[style*="color: #e0245e"] {
    color: #e0245e !important;
}

.hashtag-header ~ .feed .post-action .fa-star.retweeted,
.hashtag-header ~ .feed .post-action .fa-star.fas.retweeted,
.hashtag-header ~ .feed .post-action i.retweeted,
.hashtag-header ~ .feed .post-action i[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Hashtag sayfasında hover durumları */
.hashtag-header ~ .feed .post-action:hover .fa-heart {
    color: #e0245e !important;
}

.hashtag-header ~ .feed .post-action:hover .fa-star {
    color: #ffad1f !important;
}

/* Hashtag sayfasında aktif durumlar */
.hashtag-header ~ .feed .post-action.like-btn i.liked,
.hashtag-header ~ .feed .post-action.like-btn i.fas.liked {
    color: #e0245e !important;
}

.hashtag-header ~ .feed .post-action.retweet-btn i.retweeted,
.hashtag-header ~ .feed .post-action.retweet-btn i.fas.retweeted {
    color: #ffad1f !important;
}

/* Hashtag sayfasında modal detail renk kuralları */
body:has(.hashtag-header) #postDetailModal .post-detail-action .fa-heart.liked,
body:has(.hashtag-header) #postDetailModal .post-detail-action .fa-heart.fas.liked,
body:has(.hashtag-header) #postDetailModal .post-detail-action i.liked,
body:has(.hashtag-header) #postDetailModal .post-detail-action i[style*="color: #e0245e"] {
    color: #e0245e !important;
}

body:has(.hashtag-header) #postDetailModal .post-detail-action .fa-star.retweeted,
body:has(.hashtag-header) #postDetailModal .post-detail-action .fa-star.fas.retweeted,
body:has(.hashtag-header) #postDetailModal .post-detail-action i.retweeted,
body:has(.hashtag-header) #postDetailModal .post-detail-action i[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Hashtag sayfasında comment renk kuralları */
.hashtag-header ~ .feed .comment-action i.liked,
.hashtag-header ~ .feed .comment-like-action.liked i,
.hashtag-header ~ .feed .comment-like-action i[style*="color: #e0245e"] {
    color: #e0245e !important;
}

.hashtag-header ~ .feed .comment-action i.retweeted,
.hashtag-header ~ .feed .comment-retweet-action.retweeted i,
.hashtag-header ~ .feed .comment-retweet-action i[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Hashtag sayfasında güçlü renk uygulama - en güçlü kurallar */
.hashtag-posts .post-action i[style*="color: #e0245e"],
.feed .post-action i[style*="color: #e0245e"] {
    color: #e0245e !important;
}

.hashtag-posts .post-action i[style*="color: #ffad1f"],
.feed .post-action i[style*="color: #ffad1f"] {
    color: #ffad1f !important;
}

/* Hashtag sayfasında tüm like ve star butonları için global kural */
.hashtag-header ~ .feed .post-action .fa-heart.liked,
.hashtag-header ~ .feed .post-action .fa-heart.fas.liked,
.hashtag-header ~ .feed .like-btn i.liked,
.hashtag-header ~ .feed .like-btn i.fas.liked {
    color: #e0245e !important;
    font-weight: 900;
}

.hashtag-header ~ .feed .post-action .fa-star.retweeted,
.hashtag-header ~ .feed .post-action .fa-star.fas.retweeted,
.hashtag-header ~ .feed .retweet-btn i.retweeted,
.hashtag-header ~ .feed .retweet-btn i.fas.retweeted {
    color: #ffad1f !important;
    font-weight: 900;
}

/* =============================================== */
/* HORIZONTAL SCROLL SİSTEMİ İLE UYUMLU MOBİL KURALLARI */
/* =============================================== */

/* Bu kurallar artık yeni horizontal scroll sistemi tarafından yönetiliyor */
/* Çakışmaları önlemek için eski ultra güçlü kurallar kaldırıldı */

/* ============================================== */
/* MOBİL HORIZONTAL SCROLL SİSTEMİ */
/* ============================================== */
@media (max-width: 576px) {
    /* Body horizontal scroll aktif etme */
    body {
        overflow-x: auto;
        overflow-y: auto;
    }
    
    /* App container horizontal layout */
    .app-container {
        display: grid;
        grid-template-columns: 70px 1fr 280px; /* Küçük sol sidebar + ana içerik + sağ sidebar */
        min-width: calc(100vw + 280px); /* Ekran genişliği + sağ sidebar genişliği */
        width: calc(100vw + 280px);
        height: 100vh;
        position: relative;
    }
    
    /* Sol sidebar mobilde daraltılmış hali */
    .left-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        z-index: 10;
        background-color: white;
        border-right: 1px solid #eaeaea;
        padding: 10px 5px;
        width: 70px;
        min-width: 70px;
    }
    
    /* Sol sidebar içerik düzenlemeleri */
    .left-sidebar .logo, 
    .left-sidebar .user-profile, 
    .left-sidebar .cx-user-profile {
        display: none !important;
    }
    
    .left-sidebar .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .left-sidebar .main-nav ul li {
        margin-bottom: 5px;
    }
    
    .left-sidebar .main-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 8px;
        border-radius: 12px;
        font-size: 18px;
    }
    
    .left-sidebar .main-nav ul li a span {
        display: none !important;
    }
    
    .left-sidebar .wallet-btn {
        margin: 15px 5px 10px 5px;
        padding: 12px 8px;
        justify-content: center;
        font-size: 16px;
    }
    
    .left-sidebar .wallet-btn span {
        display: none !important;
    }
    
    /* Ana içerik ayarları */
    .main-content {
        min-height: 100vh;
        overflow-y: auto;
        border-left: 1px solid #eaeaea;
        border-right: 1px solid #eaeaea;
    }
    
    /* Sağ sidebar mobilde görünür hale getirme */
    .right-sidebar {
        display: block !important;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        background-color: white;
        border-left: 1px solid #eaeaea;
        padding: 15px 15px;
        width: 280px;
        min-width: 280px;
    }
    
    /* Sağ sidebar içerik ayarları */
    .right-sidebar .search-container input {
        font-size: 14px;
        padding: 10px 35px 10px 40px;
    }
    
    /* ============================================== */
    /* WHO TO FOLLOW MOBİL OPTİMİZASYON */
    /* ============================================== */
    
    /* Who to follow ana container */
    .right-sidebar .who-to-follow {
        background: white;
        border-radius: 16px;
        margin-bottom: 20px;
        overflow: hidden;
        border: 1px solid #e1e8ed;
    }
    
    .right-sidebar .who-to-follow h3 {
        margin: 0;
        padding: 16px 15px;
        font-size: 18px;
        font-weight: 800;
        color: #0f1419;
        border-bottom: 1px solid #e1e8ed;
        background: #f7f9fa;
    }
    
    /* Follow suggestions container */
    .right-sidebar .follow-suggestions {
        padding: 0;
    }
    
    /* Her bir follow suggestion */
    .right-sidebar .follow-suggestion {
        display: flex !important;
        align-items: flex-start !important;
        padding: 12px 15px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        gap: 12px !important;
        transition: background-color 0.2s ease !important;
        background: white !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .right-sidebar .follow-suggestion:hover {
        background-color: #f7f9fa !important;
    }
    
    .right-sidebar .follow-suggestion:last-child {
        border-bottom: none !important;
    }
    
    /* Avatar mobilde küçültülmüş - solda sabit */
    .right-sidebar .follow-suggestion .color-avatar {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
        font-size: 14px !important;
        margin-top: 2px !important;
    }
    
    /* User info mobil optimizasyonu - ortada esnek alan */
    .right-sidebar .follow-suggestion .user-info {
        flex: 1 1 auto !important;
        min-width: 0 !important; /* Text overflow için gerekli */
        margin-right: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        visibility: visible !important;
    }
    
    .right-sidebar .follow-suggestion .user-info h4 {
        margin: 0 0 2px 0 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f1419 !important;
        line-height: 1.3 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .right-sidebar .follow-suggestion .user-info p {
        margin: 0 0 4px 0 !important;
        font-size: 12px !important;
        color: #657786 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Match info mobil */
    .right-sidebar .follow-suggestion .match-info {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        color: #1da1f2;
        margin-bottom: 2px;
    }
    
    .right-sidebar .follow-suggestion .match-info i {
        font-size: 10px;
    }
    
    /* Recommendation reason mobil */
    .right-sidebar .follow-suggestion .recommendation-reason {
        font-size: 10px;
        color: #657786;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 120px;
    }
    
    /* Follow button mobil - sağda sabit */
    .right-sidebar .follow-suggestion .follow-btn {
        background: #1da1f2 !important;
        color: white !important;
        border: none !important;
        border-radius: 20px !important;
        padding: 6px 16px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
        flex-shrink: 0 !important;
        min-width: 60px !important;
        height: 32px !important;
        align-self: flex-start !important;
        margin-top: 4px !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn:hover {
        background: #1991db !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn[data-action="unfollow"] {
        background: #e0245e !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn[data-action="unfollow"]:hover {
        background: #c91e4a !important;
    }
    
    /* Loading suggestions mobil */
    .right-sidebar .loading-suggestions {
        padding: 15px !important;
        text-align: center;
    }
    
    .right-sidebar .loading-suggestions i {
        font-size: 16px;
        color: #1da1f2;
        margin-bottom: 8px;
    }
    
    .right-sidebar .loading-suggestions p {
        font-size: 12px !important;
        color: #657786 !important;
        margin: 0 !important;
    }
    
    /* Refresh suggestions button */
    .right-sidebar .refresh-suggestions {
        padding: 10px 15px;
        text-align: center;
        border-top: 1px solid #f0f0f0;
    }
    
    .right-sidebar .refresh-suggestions button {
        background: none !important;
        border: none !important;
        color: #1da1f2 !important;
        font-size: 12px !important;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 15px;
        transition: background-color 0.2s ease;
    }
    
    .right-sidebar .refresh-suggestions button:hover {
        background-color: rgba(29, 161, 242, 0.1) !important;
    }
    
    /* Trending topics mobil optimizasyonu */
    .right-sidebar .trending {
        margin-bottom: 20px;
    }
    
    .right-sidebar .trending h3 {
        font-size: 18px;
        padding: 16px 15px;
    }
    
    .right-sidebar .trending-topic {
        padding: 10px 15px;
    }
    
    .right-sidebar .topic-name {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .right-sidebar .topic-posts {
        font-size: 12px;
    }
    
    /* Token status mobil */
    .right-sidebar .token-status {
        margin-bottom: 20px;
    }
    
    .right-sidebar .token-status h3 {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .right-sidebar .token-balance {
        padding: 10px 15px;
    }
    
    .right-sidebar .token-actions {
        padding: 10px 15px;
    }
    
    .right-sidebar .token-action-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    /* Post button mobilde fixed kalacak */
    .post-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        margin: 0;
        width: 55px;
        height: 55px;
        box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
        z-index: 1000;
        border-radius: 50%;
        background: #1da1f2;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .post-btn:after {
        content: "\f303";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1.3rem;
    }
    
    /* Horizontal scroll için touch behavior */
    .app-container {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile scroll ipucu */
    .app-container::before {
        content: "👈 Swipe left/right to see all content";
        position: fixed;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(29, 161, 242, 0.9);
        color: white;
        padding: 8px 15px;
        border-radius: 15px;
        font-size: 12px;
        z-index: 1001;
        animation: fadeInOut 4s ease-in-out;
        pointer-events: none;
    }
    
    @keyframes fadeInOut {
        0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
        15% { opacity: 1; transform: translateX(-50%) translateY(0px); }
        85% { opacity: 1; transform: translateX(-50%) translateY(0px); }
        100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    }
}

    /* Tablet görünümde text gizleme */
    @media screen and (max-width: 992px) and (min-width: 577px) {
        /* Navigation text'leri gizleme */
        .main-nav ul li a span,
        .cx-nav ul li a span,

        .cx-logo h1,
        .wallet-btn span,
        .user-info,
        .cx-user-info {
            display: none !important;
            visibility: hidden !important;
        }
    }

/* ============================================== */
/* DESKTOP WHO TO FOLLOW OPTİMİZASYON */
/* ============================================== */
@media (min-width: 577px) {
    /* Desktop follow suggestion genel layout */
    .right-sidebar .follow-suggestion {
        display: flex !important;
        align-items: center !important;
        padding: 12px 16px !important;
        gap: 12px !important;
        border-bottom: 1px solid #e1e8ed !important;
        background: white !important;
        transition: background-color 0.2s ease !important;
    }
    
    .right-sidebar .follow-suggestion:hover {
        background-color: #f7f9fa !important;
    }
    
    .right-sidebar .follow-suggestion:last-child {
        border-bottom: none !important;
    }
    
    /* Desktop avatar - yuvarlak ve büyük */
    .right-sidebar .follow-suggestion .color-avatar {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }
    
    /* Desktop user info */
    .right-sidebar .follow-suggestion .user-info {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        margin-right: 12px !important;
        min-width: 0 !important;
    }
    
    .right-sidebar .follow-suggestion .user-info h4 {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f1419 !important;
        margin: 0 0 2px 0 !important;
        line-height: 1.3 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .right-sidebar .follow-suggestion .user-info p {
        font-size: 13px !important;
        color: #657786 !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Desktop match info */
    .right-sidebar .follow-suggestion .match-info {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 12px !important;
        color: #1da1f2 !important;
        margin-bottom: 2px !important;
    }
    
    .right-sidebar .follow-suggestion .match-info i {
        font-size: 11px !important;
    }
    
    /* Desktop recommendation reason */
    .right-sidebar .follow-suggestion .recommendation-reason {
        font-size: 11px !important;
        color: #657786 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        max-width: 150px !important;
    }
    
    /* Desktop follow button */
    .right-sidebar .follow-suggestion .follow-btn {
        background: #1da1f2 !important;
        color: white !important;
        border: none !important;
        border-radius: 20px !important;
        padding: 8px 20px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
        flex-shrink: 0 !important;
        min-width: 70px !important;
        height: 36px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn:hover {
        background: #1991db !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn:active {
        transform: scale(0.98) !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn[data-action="unfollow"] {
        background: #e0245e !important;
    }
    
    .right-sidebar .follow-suggestion .follow-btn[data-action="unfollow"]:hover {
        background: #c91e4a !important;
    }
    
    /* Desktop who to follow container */
    .right-sidebar .who-to-follow {
        background: white !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
        overflow: hidden !important;
        border: 1px solid #e1e8ed !important;
    }
    
    .right-sidebar .who-to-follow h3 {
        margin: 0 !important;
        padding: 16px 16px !important;
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #0f1419 !important;
        border-bottom: 1px solid #e1e8ed !important;
        background: #f7f9fa !important;
    }
    
    .right-sidebar .follow-suggestions {
        padding: 0 !important;
    }
    
    /* Desktop loading suggestions */
    .right-sidebar .loading-suggestions {
        padding: 20px !important;
        text-align: center !important;
    }
    
    .right-sidebar .loading-suggestions i {
        font-size: 18px !important;
        color: #1da1f2 !important;
        margin-bottom: 10px !important;
    }
    
    .right-sidebar .loading-suggestions p {
        font-size: 14px !important;
        color: #657786 !important;
        margin: 0 !important;
    }
    
    /* Desktop refresh button */
    .right-sidebar .refresh-suggestions {
        padding: 12px 16px !important;
        text-align: center !important;
        border-top: 1px solid #e1e8ed !important;
    }
    
    .right-sidebar .refresh-suggestions button {
        background: none !important;
        border: none !important;
        color: #1da1f2 !important;
        font-size: 13px !important;
        cursor: pointer !important;
        padding: 6px 12px !important;
        border-radius: 15px !important;
        transition: background-color 0.2s ease !important;
    }
    
    .right-sidebar .refresh-suggestions button:hover {
        background-color: rgba(29, 161, 242, 0.1) !important;
    }
}

.post-text-editable {
  min-height: 120px;
  width: 50%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  outline: none;
  background: #fff;
  transition: border 0.2s;
}
.post-text-editable:empty:before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
}
.post-text-editable:focus {
  border: 1.5px solid #888;
}