/* Team Feed Redesign */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.feed-title-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 4px;
}

.feed-title-section p {
    color: var(--color-slate-500);
    font-size: 14px;
}

.feed-filters {
    display: flex;
    gap: 12px;
}

.filter-select {
    padding: 8px 16px;
    border: 1px solid var(--color-slate-200);
    border-radius: 8px;
    background: var(--color-white);
    font-size: 14px;
    color: var(--color-slate-700);
    cursor: pointer;
}

@media (max-width: 768px) {
    .feed-header {
        flex-direction: column;
        gap: 16px;
    }

    .feed-filters {
        width: 100%;
        overflow-x: auto;
    }
}

.btn-this-week {
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-slate-200);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    white-space: nowrap;
}

/* Week Navigation */
.week-nav-bar {
    background: var(--color-white);
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 24px;
    gap: 24px;
}

.week-range-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-slate-800);
}

.nav-arrow {
    color: var(--color-slate-400);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: var(--color-slate-100);
    color: var(--color-slate-800);
}

/* Weekly Grid */
.week-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--color-white);
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .week-calendar-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .day-column {
        min-width: 80px;
        flex-shrink: 0;
    }
}

.day-column {
    border-right: 1px solid var(--color-slate-200);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    background: white;
}

.day-column:last-child {
    border-right: none;
}

.day-header {
    background: var(--color-slate-50);
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--color-slate-200);
}

.day-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-slate-400);
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.day-date {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-slate-700);
}

.day-content {
    flex: 1;
    padding: 12px 8px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    min-height: 180px;
}

.day-content:hover {
    background: #f8fafc;
}

.day-content.active {
    background: #f1f5f9;
}

.day-content.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
}

/* Empty State */
.feed-empty-state {
    background: #f8fafc;
    border: 2px dashed var(--color-slate-200);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.empty-illustration {
    font-size: 48px;
}

.empty-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-slate-600);
}

/* Entry Tags in Grid */
.grid-entry-tag {
    margin-bottom: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--color-slate-200);
    background: var(--color-slate-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.1s, box-shadow 0.1s;
}

.grid-entry-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.grid-entry-tag.is-ot {
    border-color: #fecaca;
    background: #fff1f2;
}

.ot-tag-badge {
    background: #ef4444;
    color: white;
    font-size: 8px;
    font-weight: 900;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Log Preview in Grid (if any) */
.log-preview-dot {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    margin: 4px auto;
}