.facebook-profile-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: var(--bgcolor);
}

.fb-cover-photo {
    background: linear-gradient(135deg, var(--lcolor), var(--lhcolor));
    height: 190px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fb-cover-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

.cover-content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 1rem;
}

.avatar-positioning {
    position: relative;
    margin-left: 2rem;
}

.main-profile-photo {
    width: 168px;
    height: 168px;
    border: 4px solid var(--block-bg);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: var(--form-control-bg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(50%);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.status-online-badge,
.status-offline-badge {
    position: absolute;
    bottom: 25px;
    right: 17px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid var(--block-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    /* z-index: 99999999999999; */
}

.status-online-badge {
    background: var(--lcolor);
}

.status-offline-badge {
    background: var(--entry-info);
}

.status-dot-icon {
    width: 10px;
    height: 10px;
    background: var(--block-bg);
    border-radius: 50%;
    display: block;
}

/* Profile Information Section */
.profile-info-wrapper {
    background: var(--block-bg);
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.profile-content-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 184px 1fr auto;
    gap: 2rem;
    align-items: flex-start;
}

.avatar-spacer {
    width: 168px;
    height: 84px;
}

.user-details-section {
    padding-top: 0.25rem;
    display: flex;
    align-items: center;
     /* Mobil varsayılan */
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
}

/* Geniş ekranlar için (örneğin masaüstü) */
@media (min-width: 768px) {
    .user-details-section {
        flex-direction: column; /* Masaüstü görünümde yatay dizilim */
        display: flex;
        /* gap: 16px; */
        align-items: flex-start;
        justify-content: flex-start;
    }
}


.main-username {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--tcolor);
    line-height: 1.2;
}

.user-group-info {
    display: flex;
    gap: 0.5rem;
    /* margin-bottom: 1rem; */
    flex-direction: row;
    align-items: center;
}

.group-name {
    color: var(--entry-info);
    font-weight: 600;
    font-size: 0.9rem;
}

.full-name-display {
    color: var(--tcolor);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.user-bio-text {
    color: var(--entry-info);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.stat-box {
    text-align: center;
}

.stat-count {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tcolor);
    margin-bottom: 0.25rem;
}

.stat-text {
    display: block;
    font-size: 0.875rem;
    color: var(--entry-info);
    font-weight: 500;
}

.user-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.875rem;
}

.meta-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--entry-info);
}

.meta-info-item i {
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

.whatsapp-link {
    color: var(--lcolor);
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

/* Action Buttons */
.action-buttons-area {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding-top: 0.25rem;
    align-items: flex-start;
}

.primary-action-btn,
.secondary-action-btn,
.danger-action-btn {
    padding: 0.625rem 0.25rem;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    min-height: 32px;
    min-width: 111px;
    justify-content: center;
}

.primary-action-btn,
.edit-profile-btn {
    background: var(--lcolor);
    color: var(--tcolor);
    border-color: var(--lcolor);
}

.primary-action-btn:hover,
.edit-profile-btn:hover {
    background: var(--lhcolor);
    border-color: var(--lhcolor);
    color: var(--block-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.secondary-action-btn,
.message-btn {
    background: var(--form-control-bg);
    color: var(--tcolor);
    border-color: var(--form-control-brd);
}

.secondary-action-btn:hover,
.message-btn:hover {
    background: var(--spoiler);
    border-color: var(--form-control-brd-f);
    color: var(--tcolor);
    transform: translateY(-1px);
}

.danger-action-btn,
.delete-btn {
    background: #ff4757;
    color: var(--tcolor);
    border-color: #ff4757;
}

.danger-action-btn:hover,
.delete-btn:hover {
    background: #ff3742;
    border-color: #ff3742;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255,71,87,0.2);
}

/* Profile Navigation Bar */
.profile-navigation-bar {
    background: var(--block-bg);
    border-bottom: 1px solid var(--line);
    /* position: sticky; */
    top: 0;
    z-index: 98;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-navigation {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* ✅ Better scrollbar for mobile */
    scrollbar-width: thin;
    scrollbar-color: var(--lcolor) transparent;
    justify-content: space-around;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--entry-info);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
    min-height: 56px;
    position: relative;
    flex-shrink: 0; /* ✅ Prevent shrinking */
}

.tab-button:hover {
    color: var(--lcolor);
    background: var(--spoiler);
    border-radius: 6px 6px 0 0;
}

.active-tab {
    color: var(--lcolor) !important;
    border-bottom-color: #E91E63;
    background: transparent;
}

.active-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--lcolor);
}

.tab-button i {
    font-size: 1rem;
    flex-shrink: 0; /* ✅ Icon should not shrink */
}

/* ✅ Mobile-first approach: hide text by default on small screens */
.tab-button span {
    transition: all 0.3s ease;
}

/* ✅ Show text on larger screens */
@media (min-width: 769px) {
    .tab-button span {
        display: inline;
    }
}

/* ✅ Hide text on mobile, show only icons */
@media (max-width: 768px) {
    .tab-button span {
        display: none;
    }
    
    .tab-button {
        padding: 1rem 0.75rem;
        min-width: 48px;
        justify-content: center;
        gap: 0;
    }
    
    .tab-button i {
        font-size: 1.1rem;
        line-height: normal;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .main-navigation {
        gap: 0.25rem;
        padding: 0.25rem 0;
    }
}

/* ✅ Ultra small screens - even smaller icons */
@media (max-width: 480px) {
    .tab-button {
        padding: 0.875rem 0.5rem;
        min-width: 44px;
    }
    
    .tab-button i {
        font-size: 1rem;
    }
    
    .main-navigation {
        gap: 0.125rem;
    }
}

/* ✅ Alternative: Show abbreviated text on medium mobile */
@media (min-width: 481px) and (max-width: 768px) {
    .tab-button[data-section="timeline"] span::after { content: "Duvar"; }
    .tab-button[data-section="books"] span::after { content: "Kitap"; }
    .tab-button[data-section="articles"] span::after { content: "Makale"; }
    .tab-button[data-section="favorites"] span::after { content: "Liste"; }
    .tab-button[data-section="about"] span::after { content: "Info"; }
    
    .tab-button span {
        font-size: 0;
        position: relative;
    }
    
    .tab-button span::after {
        font-size: 0.75rem;
        font-weight: 600;
        position: absolute;
        left: 0;
        top: 0;
        white-space: nowrap;
    }
    
    .tab-button {
        padding: 1rem 0.625rem;
        gap: 0.25rem;
        min-width: auto;
    }
}

/* Content Area */
.content-area {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0rem 0rem 1rem 0rem;
    border-radius: 21px;
    /* overflow: hidden; */
}

.main-content-wrapper {
    position: relative;
}

.content-section {
    display: none;
}

.active-section {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

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

/* Content Cards */
.content-card,
.activity-card {
    border-radius: 8px;
    padding: 0px 0px;
    margin-bottom: 1.5rem;
}

.mirapolis-card {
    /* border: 2px dashed var(--lcolor); */
    background: var(--spoiler-h);
    border-radius: 8px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    padding: 8px 10px;
}

.card-header h3 {
    color: var(--tcolor);
    margin: 0;
    font-weight: 700;
    font-size: 1.25rem;
}

.card-title {
    color: var(--tcolor);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

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

.activity-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--spoiler);
    border-radius: 6px;
    border: 1px solid var(--line);
}

.activity-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--lcolor);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--block-bg);
    flex-shrink: 0;
}

.activity-text p {
    margin: 0;
    color: var(--tcolor);
    font-size: 0.9rem;
}



.articles-display-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Empty State */
.empty-content-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--entry-info);
}

.empty-content-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-content-state h3 {
    color: var(--tcolor);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* About Section */
.about-content-area {
    display: grid;
    gap: 1.5rem;
}

.info-block {
    padding: 1.5rem;
    background: var(--spoiler);
    border-radius: 8px;
    border: 1px solid var(--line);
}

.info-block h4 {
    color: var(--tcolor);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.info-block p {
    color: var(--entry-info);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.statistic-item {
    text-align: center;
    padding: 1rem;
    background: var(--block-bg);
    border-radius: 6px;
    border: 1px solid var(--line);
}

.statistic-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lcolor);
    margin-bottom: 0.25rem;
}

.statistic-label {
    font-size: 0.8rem;
    color: var(--entry-info);
    font-weight: 500;
}

.membership-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--tcolor);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--entry-info);
    font-size: 0.9rem;
}

/* Edit Modal */
.edit-tabs-container {
    margin-bottom: 1.5rem;
}

.edit-navigation {
    display: flex;
    border-bottom: 1px solid var(--line);
}

.edit-tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--entry-info);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.edit-tab-btn:hover {
    color: var(--lcolor);
}

.active-edit-tab {
    color: var(--lcolor);
    border-bottom-color: var(--lcolor);
}

.edit-forms-content {
    position: relative;
}

.edit-form-section {
    display: none;
}

.active-form {
    display: block;
}

.avatar-preview-area {
    text-align: center;
    margin-bottom: 1.5rem;
}

.current-avatar-display {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--line);
}

.current-avatar-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preferences-area h5 {
    color: var(--tcolor);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fb-cover-photo {
        height: 260px;
    }
    
    .cover-content-area {
        justify-content: center;
        padding-bottom: 1rem;
    }
    
    .avatar-positioning {
        margin-left: 0;
    }
    
    .main-profile-photo {
        width: 140px;
        height: 140px;
        border-width: 3px;
        transform: translateY(40%);
    }
    
    .status-online-badge,
    .status-offline-badge {
        bottom: 17px;
        right: 19px;
        width: 24px;
        height: 24px;
        border-width: 3px;
    }
    
    .status-dot-icon {
        width: 8px;
        height: 8px;
    }
    
    .profile-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .avatar-spacer {
        display: none;
    }
    
    .user-details-section {
        padding-top: 0;
    }
    
    .main-username {
        font-size: 1.75rem;
    }
    
    .stats-container {
        justify-content: center;
        gap: 2rem;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .stat-box {
        text-align: center;
    }
    
    .stat-count {
        font-size: 1.5rem;
    }
    
    .action-buttons-area {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0rem;
    }
    
    .primary-action-btn,
    .secondary-action-btn,
    .danger-action-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .content-card,
    .activity-card {
        margin-bottom: 1rem;
    }

    
    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .fb-cover-photo {
        height: 140px;
    }
    
    .main-username {
        font-size: 1.5rem;
        margin-top: 42px;
    }
    
    .stats-container {
        gap: 1.5rem;
    }
    
    .stat-count {
        font-size: 1.25rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
    
    .action-buttons-area {
        flex-direction: row;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    
    .primary-action-btn,
    .secondary-action-btn,
    .danger-action-btn {
        /* width: 100%; */
        justify-content: center;
    }
    a.self_delete_link {
    width: 100%;
    color: var(--tcolor);
}
    .edit-navigation {
        flex-wrap: wrap;
    }
    
    .edit-tab-btn {
        flex: 1;
        min-width: 120px;
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
    
  
}

/* Dark theme adjustments */
html.darktheme .fb-cover-photo {
    background: linear-gradient(135deg, var(--lcolor), var(--main-heading));
}



/* Custom scrollbar */
.main-navigation::-webkit-scrollbar {
    height: 3px;
}

.main-navigation::-webkit-scrollbar-track {
    background: transparent;
}

.main-navigation::-webkit-scrollbar-thumb {
    background: var(--lcolor);
    border-radius: 2px;
}

.main-navigation::-webkit-scrollbar-thumb:hover {
    background: var(--lhcolor);
}

/* ✅ Mobile scroll indicators */
@media (max-width: 768px) {
    .profile-navigation-bar {
        position: relative;
    }
    
    /* ✅ Add fade effect on edges to indicate scrollable content */
    .nav-container::before,
    .nav-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 10;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }
    
    .nav-container::before {
        left: 0;
        background: linear-gradient(to right, var(--block-bg), transparent);
    }
    
    .nav-container::after {
        right: 0;
        background: linear-gradient(to left, var(--block-bg), transparent);
    }
    
    /* ✅ Better touch scrolling for mobile */
    .main-navigation {
        scroll-snap-type: x proximity;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE */
    }
    
    .main-navigation::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .tab-button {
        scroll-snap-align: center;
    }
}

/* ✅ Tooltip styles for mobile */
@media (max-width: 768px) {
    .tab-button {
        position: relative;
    }
    
    .tab-button:hover::after {
        content: attr(title);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: var(--tcolor);
        color: var(--block-bg);
        padding: 0.5rem 0.75rem;
        border-radius: 4px;
        font-size: 0.75rem;
        white-space: nowrap;
        z-index: 1000;
        margin-bottom: 5px;
        opacity: 0.9;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    .tab-button:hover::before {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 4px solid transparent;
        border-top-color: var(--tcolor);
        z-index: 1000;
        margin-bottom: 1px;
    }
}

.content-area.uparea {
    overflow: hidden;
    border-radius: 1rem;
}

/* ✅ TAKİP SİSTEMİ STİLLERİ */

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lcolor);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--entry-info);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Follow Buttons */
.follow-btn {
    background: var(--lcolor)!important;
    color: #fff!important;
    border: 0;
    border-radius: 8px;
    padding: 0.69rem 1rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    /* gap: 0.5rem; */
    align-items: center;
    flex-direction: row;
}

.follow-btn:hover {
    background: var(--lhcolor)!important;
    transform: translateY(-1px);
}

.follow-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none!important;
}

.follow-btn.unfollow-btn {
    background: var(--entry-info)!important;
    color: #fff!important;
}

.follow-btn.unfollow-btn:hover {
    background: #dc3545!important;
}

/* User Lists */
.followers-content,
.following-content {
    min-height: 200px;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.2s ease;
}

.user-item:hover {
    background-color: var(--spoiler);
}

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

.user-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 2px solid var(--line);
}

.user-info {
    flex: 1;
}

.user-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.user-info h5 a {
    color: var(--tcolor);
    text-decoration: none;
}

.user-info h5 a:hover {
    color: var(--lcolor);
}

.user-info small {
    color: var(--entry-info);
    font-size: 0.75rem;
}

/* Loading States */
.loading-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--entry-info);
}

.loading-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Empty States */
.empty-follow-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--entry-info);
}

.empty-follow-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.empty-follow-state h4 {
    margin: 0 0 0.5rem 0;
    color: var(--tcolor);
}

.empty-follow-state p {
    margin: 0;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-stats {
        gap: 1rem;
        margin: 0.75rem 0;
        padding: 0.75rem 0;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .user-item {
        padding: 0.75rem;
    }
    
    .user-avatar {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0.75rem;
    }
    
    .user-info h5 {
        font-size: 0.9rem;
    }
    
    .user-info small {
        font-size: 0.7rem;
    }
}

/* User List Grid for larger screens */
@media (min-width: 992px) {
    .followers-content,
    .following-content {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
    
    .user-item {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 1rem;
        background: var(--block-bg);
    }
    
    .user-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }
}

/* Button animations */
@keyframes followSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.follow-btn.success-animation {
    animation: followSuccess 0.3s ease;
}

@media(min-width: 992px) {
    .ui-dialog-titlebar-close:hover {
        background: var(--danger-color);
    }
}

/* ✅ DLE Rating Sistemi Stilleri */
.rating-statistics {
    background: var(--spoiler);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.rating-statistics h4 {
    color: var(--lcolor);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-statistics h4 i {
    color: #ffd700;
}

.rating-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.rating-card {
    background: var(--form-control-bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.rating-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.rating-card-header i {
    font-size: 1.25rem;
    color: var(--primary);
}

.rating-card-header span {
    font-weight: 600;
    color: var(--lcolor);
}

.rating-card-content {
    text-align: center;
}

.rating-score-big {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--mcolor);
    margin-bottom: 1rem;
}

.rating-average {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.average-score {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lcolor);
}

.star-rating {
    position: relative;
}

.stars-container {
    position: relative;
    font-size: 1.25rem;
    line-height: 1;
}

.stars-empty {
    color: #ddd;
}

.stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffd700;
    overflow: hidden;
    white-space: nowrap;
}

/* Mobile Responsive - Rating Cards */
@media (max-width: 768px) {
    .rating-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rating-card {
        padding: 1rem;
    }
    
    .rating-score-big {
        font-size: 2rem;
    }
    
    .stars-container {
        font-size: 1rem;
    }
}

/* ✅ Ignore Button Styles */
.ignore-btn {
    background: #dc3545;
    /* border-color: #dc3545; */
    /* color: white; */
}

.ignore-btn:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ================================
   📝 KULLANICI PROFİL BOŞLUK DURUMU 
   ================================ */

.userwall-no-posts {
    background: var(--block-bg);
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.userwall-no-posts:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.userwall-no-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lcolor), var(--lhcolor));
}

.userwall-no-posts .text-center {
    padding: 3rem 2rem !important;
    position: relative;
}

.userwall-no-posts .fa-inbox {
    color: var(--entry-info) !important;
    margin-bottom: 1.5rem !important;
    opacity: 0.6;
    animation: pulseIcon 2s ease-in-out infinite;
    display: block;
}

.userwall-no-posts h5 {
    color: var(--tcolor) !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.3 !important;
}

.userwall-no-posts p {
    color: var(--entry-info) !important;
    font-size: 1rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    max-width: 400px;
    margin: 0 auto !important;
}

/* Dekoratif elementler */
.userwall-no-posts::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--lcolor)10, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.03;
    z-index: 0;
}

.userwall-no-posts .text-center > * {
    position: relative;
    z-index: 1;
}

/* Animasyonlar */
@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

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

.userwall-no-posts {
    animation: fadeInUp 0.6s ease-out;
}

/* Dark theme uyumluluğu */
html.darktheme .userwall-no-posts {
    background: var(--block-bg);
    border-color: var(--line);
    box-shadow: 0 2px 8px rgba(255,255,255,0.02);
}

html.darktheme .userwall-no-posts:hover {
    box-shadow: 0 4px 16px rgba(255,255,255,0.04);
}

html.darktheme .userwall-no-posts::before {
    background: linear-gradient(90deg, var(--lcolor), var(--lhcolor));
}

html.darktheme .userwall-no-posts::after {
    background: radial-gradient(circle, var(--lcolor)08, transparent 70%);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .userwall-no-posts {
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .userwall-no-posts .text-center {
        padding: 2.5rem 1.5rem !important;
    }
    
    .userwall-no-posts .fa-inbox {
        font-size: 2.5rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .userwall-no-posts h5 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .userwall-no-posts p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .userwall-no-posts {
        margin: 0.75rem 0;
        border-radius: 10px;
    }
    
    .userwall-no-posts .text-center {
        padding: 2rem 1rem !important;
    }
    
    .userwall-no-posts .fa-inbox {
        font-size: 2.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .userwall-no-posts h5 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .userwall-no-posts p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

