/* ============================================
   TaskHub - Estilos de Perfil
   ============================================ */

.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    border-radius: var(--radius);
    color: #fff;
    margin-bottom: 24px;
}

.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar-wrapper .avatar-xl {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255,255,255,0.3);
}

.profile-avatar-wrapper .edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: var(--shadow);
}

.profile-info h2 {
    color: #fff;
    margin-bottom: 4px;
}

.profile-info .member-since {
    opacity: 0.8;
    font-size: 0.85rem;
}

.profile-stats {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-number {
    font-size: 1.3rem;
    font-weight: 800;
}

.profile-stats .stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
}

.profile-section h3 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.review-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-author .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.review-comment {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .profile-stats {
        justify-content: center;
    }
    .profile-content {
        grid-template-columns: 1fr;
    }
}
