/* ==========================================================================
   Following Activity Widget — kompakt takip timeline'ı
   ========================================================================== */

.dp-following-activity {
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
}

.dp-following-activity__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    gap: 0.5rem;
}

.dp-following-activity__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #23313b;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dp-following-activity__title i {
    color: #7b6fb0;
    font-size: 1rem;
}

.dp-following-activity__hint {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.dp-following-activity__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dp-following-activity__item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    position: relative;
}

.dp-following-activity__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: -0.65rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(124, 58, 237, 0.18), transparent);
}

.dp-following-activity__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-2026, 20px);
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #6d28d9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.dp-following-activity__body {
    flex: 1;
    min-width: 0;
}

.dp-following-activity__link {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.dp-following-activity__link:hover {
    color: #7b6fb0;
    text-decoration: underline;
}

.dp-following-activity__meta {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.dp-following-activity__subtitle {
    color: #475569;
}

.dp-following-activity__sep {
    color: #cbd5e1;
}

.dp-following-activity__time {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

/* Dark mode */
html[data-theme='dark'] .dp-following-activity {
    background: #23313b;
    border-color: #334155;
}

html[data-theme='dark'] .dp-following-activity__title {
    color: #e2e8f0;
}

html[data-theme='dark'] .dp-following-activity__title i {
    color: #c4b5fd;
}

html[data-theme='dark'] .dp-following-activity__icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22) 0%, rgba(99, 102, 241, 0.18) 100%);
    color: #ddd6fe;
}

html[data-theme='dark'] .dp-following-activity__link {
    color: #e2e8f0;
}

html[data-theme='dark'] .dp-following-activity__link:hover {
    color: #c4b5fd;
}

html[data-theme='dark'] .dp-following-activity__subtitle {
    color: #94a3b8;
}

html[data-theme='dark'] .dp-following-activity__sep,
html[data-theme='dark'] .dp-following-activity__time {
    color: #64748b;
}

html[data-theme='dark'] .dp-following-activity__hint {
    color: #94a3b8;
}
