body {
    background-color: var(--bg-light);
}

.page-header {
    margin-bottom: 3rem;
}

.widget-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.widget-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-stroke);
}

.widget-header h4, .widget-header h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.widget-body {
    padding: 1.5rem;
}

/* Perfil del Consultor */
.consultant-profile {
    padding: 1.5rem;
    text-align: center;
}

.consultant-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #fff;
    box-shadow: var(--shadow-lg);
}

/* Lista de KPIs */
.kpi-list {
    list-style: none;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    margin: 0;
}

.kpi-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-stroke);
}

.kpi-list li:last-child {
    border-bottom: none;
}

.kpi-list .badge {
    font-size: 0.9rem;
}

/* Feed de Comunicación */
.communication-feed {
    position: relative;
}

.feed-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid var(--glass-stroke);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
}

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

.feed-item:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}

.feed-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background-color: var(--secondary);
    position: absolute;
    left: -21px;
    top: 0;
}

.feed-item.alert .feed-icon {
    background-color: #dc3545;
}

.feed-item.update .feed-icon {
    background-color: var(--primary);
}

.feed-content {
    padding-left: 2.5rem; /* 40px + 1.5rem gap - icon width */
}

.feed-content .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.feed-content p {
    margin: 0;
    font-weight: 500;
}

.feed-content a {
    font-weight: 600;
    text-decoration: underline;
}

/* Mensaje de Feedback */
.feedback-message {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    color: var(--primary);
    display: none; /* Oculto por defecto */
}