/*--------------------------------------------------------------
>>> Son Aktiviteler Widget'ı Stilleri - MODERN VERSION
--------------------------------------------------------------*/
.latest-activity-widget {
    background: linear-gradient(135deg, var(--card-background) 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.latest-activity-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6, #06b6d4);
    z-index: 1;
}

.activity-tabs {
    display: flex;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: relative;
    z-index: 2;
}

.activity-tab {
    flex: 1;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    position: relative;
    background: transparent;
}

.activity-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.activity-tab:hover {
    color: var(--text-color);
    background: rgba(59, 130, 246, 0.05);
}

.activity-tab:hover::before {
    transform: translateX(-50%) scaleX(0.5);
}

.activity-tab.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 700;
}

.activity-tab.active::before {
    transform: translateX(-50%) scaleX(1);
}

.activity-panes {
    position: relative;
}

.activity-panes .activity-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.activity-panes .activity-pane.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-list {
    margin: 0;
    padding: 0;
}

.activity-header {
    display: flex;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-bottom: 2px solid var(--border-color);
}

.activity-header .header-topic { flex: 1; padding-left: 51px; }
.activity-header .header-forum { width: 140px; text-align: center; }
.activity-header .header-stats { width: 100px; text-align: center; }
.activity-header .header-lastpost { width: 150px; text-align: right; }

.activity-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.activity-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.activity-row:hover::before {
    transform: scaleY(1);
}

.activity-row:last-child {
    border-bottom: none;
}

.activity-row:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activity-cell-avatar {
    position: relative;
}

.activity-cell-avatar .avatar {
    border-radius: 50%;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.activity-row:hover .activity-cell-avatar .avatar {
    transform: scale(1.05);
}

.activity-cell-topic {
    flex: 1;
    min-width: 0;
}

.activity-cell-topic .topic-title {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-cell-topic .topic-title:hover {
    color: var(--primary-color);
}

.activity-cell-topic .topic-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-cell-topic .topic-meta::before {
    content: '\1f464';
    font-size: 10px;
    opacity: 0.7;
}

.activity-cell-forum {
    width: 140px;
    font-size: 13px;
    text-align: center;
    flex-shrink: 0;
}

.activity-cell-forum a {
    color: var(--text-light);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.activity-cell-forum a:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.activity-cell-stats {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: var(--text-color);
    flex-shrink: 0;
    gap: 2px;
}

.activity-cell-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.activity-cell-stats span:first-child::before {
    content: '\1f4ac';
    font-size: 11px;
}

.activity-cell-stats span:last-child::before {
    content: '\1f441';
    font-size: 11px;
}

.activity-cell-lastpost {
    width: 150px;
    text-align: right;
    font-size: 13px;
    flex-shrink: 0;
}

.activity-cell-lastpost a {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 2px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.activity-cell-lastpost a:hover {
    color: var(--primary-color);
}

.activity-cell-lastpost span {
    color: var(--text-light);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.activity-cell-lastpost span::before {
    content: '\1f551';
    font-size: 10px;
    opacity: 0.7;
}
